0s autopkgtest [20:14:21]: starting date and time: 2025-05-06 20:14:21+0000 0s autopkgtest [20:14:21]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [20:14:21]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.oz_de6w_/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:tzdata --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=tzdata/2025b-1ubuntu1.1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-ppc64el-10.secgroup --name adt-plucky-ppc64el-glib2.0-20250506-183653-juju-7f2275-prod-proposed-migration-environment-20-81934d0f-612c-4f31-a80b-ac59c9c38e54 --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 75s autopkgtest [20:15:36]: testbed dpkg architecture: ppc64el 75s autopkgtest [20:15:36]: testbed apt version: 3.0.0 76s autopkgtest [20:15:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 76s autopkgtest [20:15:37]: testbed release detected to be: None 77s autopkgtest [20:15:38]: updating testbed package index (apt update) 77s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 77s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 77s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 77s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 77s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B] 77s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [5796 B] 77s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el c-n-f Metadata [288 B] 77s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el c-n-f Metadata [120 B] 77s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [20.3 kB] 77s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el c-n-f Metadata [8688 B] 77s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el c-n-f Metadata [172 B] 79s Fetched 306 kB in 1s (432 kB/s) 80s Reading package lists... 81s autopkgtest [20:15:42]: upgrading testbed (apt dist-upgrade and autopurge) 81s Reading package lists... 81s Building dependency tree... 81s Reading state information... 81s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 81s Starting 2 pkgProblemResolver with broken count: 0 81s Done 82s Entering ResolveByKeep 82s 82s Calculating upgrade... 82s The following packages will be upgraded: 82s tzdata 82s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 82s Need to get 198 kB of archives. 82s After this operation, 0 B of additional disk space will be used. 82s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el tzdata all 2025b-1ubuntu1.1 [198 kB] 83s Preconfiguring packages ... 83s Fetched 198 kB in 0s (535 kB/s) 83s (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 ... 78698 files and directories currently installed.) 83s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ... 83s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ... 83s Setting up tzdata (2025b-1ubuntu1.1) ... 83s 83s Current default time zone: 'Etc/UTC' 83s Local time is now: Tue May 6 20:15:44 UTC 2025. 83s Universal Time is now: Tue May 6 20:15:44 UTC 2025. 83s Run 'dpkg-reconfigure tzdata' if you wish to change it. 83s 84s Reading package lists... 84s Building dependency tree... 84s Reading state information... 84s Starting pkgProblemResolver with broken count: 0 84s Starting 2 pkgProblemResolver with broken count: 0 84s Done 84s Solving dependencies... 84s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 87s autopkgtest [20:15:48]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP Sun Apr 6 14:52:42 UTC 2025 87s autopkgtest [20:15:48]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 97s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.84.1-1 (dsc) [4812 B] 97s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.84.1-1 (tar) [661 kB] 97s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.84.1-1 (tar) [5615 kB] 97s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.84.1-1 (diff) [136 kB] 97s gpgv: Signature made Fri Apr 4 19:02:25 2025 UTC 97s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 97s gpgv: Can't check signature: No public key 97s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.84.1-1.dsc: no acceptable signature found 98s autopkgtest [20:15:59]: testing package glib2.0 version 2.84.1-1 103s autopkgtest [20:16:04]: build not needed 111s autopkgtest [20:16:12]: test build: preparing testbed 111s Reading package lists... 111s Building dependency tree... 111s Reading state information... 112s Starting pkgProblemResolver with broken count: 0 112s Starting 2 pkgProblemResolver with broken count: 0 112s Done 112s The following NEW packages will be installed: 112s build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu 112s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu 112s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 112s gcc-powerpc64le-linux-gnu libasan8 libblkid-dev libcc1-0 libffi-dev 112s libgcc-14-dev libgio-2.0-dev libgomp1 libisl23 libitm1 liblsan0 libmount-dev 112s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 112s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev 112s libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf pkgconf-bin uuid-dev 112s zlib1g-dev 112s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 112s Need to get 63.5 MB of archives. 112s After this operation, 235 MB of additional disk space will be used. 112s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 113s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 113s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-19ubuntu2 [10.5 MB] 113s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-19ubuntu2 [1036 B] 113s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [5566 B] 113s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.2.0-1ubuntu1 [22.4 kB] 113s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 15-20250404-0ubuntu1 [48.6 kB] 113s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 15-20250404-0ubuntu1 [168 kB] 113s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 15-20250404-0ubuntu1 [32.3 kB] 113s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 15-20250404-0ubuntu1 [3007 kB] 113s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 15-20250404-0ubuntu1 [1374 kB] 113s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 15-20250404-0ubuntu1 [2732 kB] 113s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 15-20250404-0ubuntu1 [1232 kB] 113s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 15-20250404-0ubuntu1 [160 kB] 113s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-19ubuntu2 [1618 kB] 113s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-19ubuntu2 [20.6 MB] 114s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-19ubuntu2 [540 kB] 114s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [1226 B] 114s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.2.0-1ubuntu1 [5012 B] 114s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-19ubuntu2 [2679 kB] 114s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-19ubuntu2 [12.0 MB] 114s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-19ubuntu2 [23.0 kB] 114s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [966 B] 114s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.2.0-1ubuntu1 [1088 B] 114s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.12ubuntu1 [5094 B] 114s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el libffi-dev ppc64el 3.4.7-1 [67.7 kB] 114s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el uuid-dev ppc64el 2.40.2-14ubuntu1 [56.7 kB] 114s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblkid-dev ppc64el 2.40.2-14ubuntu1 [279 kB] 114s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsepol-dev ppc64el 3.7-1 [502 kB] 114s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-16-0 ppc64el 10.45-1 [286 kB] 114s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-32-0 ppc64el 10.45-1 [269 kB] 114s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-posix3 ppc64el 10.45-1 [7390 B] 114s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-dev ppc64el 10.45-1 [921 kB] 114s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libselinux1-dev ppc64el 3.7-3ubuntu3 [194 kB] 114s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmount-dev ppc64el 2.40.2-14ubuntu1 [34.6 kB] 114s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsysprof-capture-4-dev ppc64el 48.0-2 [62.2 kB] 114s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 114s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 114s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 114s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 114s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev ppc64el 2.84.1-1 [2162 kB] 115s Fetched 63.5 MB in 2s (26.1 MB/s) 115s Selecting previously unselected package libisl23:ppc64el. 115s (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 ... 78698 files and directories currently installed.) 115s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 115s Unpacking libisl23:ppc64el (0.27-1) ... 115s Selecting previously unselected package libmpc3:ppc64el. 115s Preparing to unpack .../01-libmpc3_1.3.1-1build2_ppc64el.deb ... 115s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 115s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 115s Preparing to unpack .../02-cpp-14-powerpc64le-linux-gnu_14.2.0-19ubuntu2_ppc64el.deb ... 115s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 115s Selecting previously unselected package cpp-14. 115s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_ppc64el.deb ... 115s Unpacking cpp-14 (14.2.0-19ubuntu2) ... 115s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 115s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 115s Unpacking cpp-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 115s Selecting previously unselected package cpp. 115s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 115s Unpacking cpp (4:14.2.0-1ubuntu1) ... 115s Selecting previously unselected package libcc1-0:ppc64el. 115s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_ppc64el.deb ... 115s Unpacking libcc1-0:ppc64el (15-20250404-0ubuntu1) ... 115s Selecting previously unselected package libgomp1:ppc64el. 115s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_ppc64el.deb ... 115s Unpacking libgomp1:ppc64el (15-20250404-0ubuntu1) ... 115s Selecting previously unselected package libitm1:ppc64el. 115s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_ppc64el.deb ... 115s Unpacking libitm1:ppc64el (15-20250404-0ubuntu1) ... 115s Selecting previously unselected package libasan8:ppc64el. 115s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_ppc64el.deb ... 115s Unpacking libasan8:ppc64el (15-20250404-0ubuntu1) ... 115s Selecting previously unselected package liblsan0:ppc64el. 115s Preparing to unpack .../10-liblsan0_15-20250404-0ubuntu1_ppc64el.deb ... 115s Unpacking liblsan0:ppc64el (15-20250404-0ubuntu1) ... 115s Selecting previously unselected package libtsan2:ppc64el. 115s Preparing to unpack .../11-libtsan2_15-20250404-0ubuntu1_ppc64el.deb ... 115s Unpacking libtsan2:ppc64el (15-20250404-0ubuntu1) ... 115s Selecting previously unselected package libubsan1:ppc64el. 115s Preparing to unpack .../12-libubsan1_15-20250404-0ubuntu1_ppc64el.deb ... 115s Unpacking libubsan1:ppc64el (15-20250404-0ubuntu1) ... 115s Selecting previously unselected package libquadmath0:ppc64el. 115s Preparing to unpack .../13-libquadmath0_15-20250404-0ubuntu1_ppc64el.deb ... 115s Unpacking libquadmath0:ppc64el (15-20250404-0ubuntu1) ... 115s Selecting previously unselected package libgcc-14-dev:ppc64el. 115s Preparing to unpack .../14-libgcc-14-dev_14.2.0-19ubuntu2_ppc64el.deb ... 115s Unpacking libgcc-14-dev:ppc64el (14.2.0-19ubuntu2) ... 115s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 115s Preparing to unpack .../15-gcc-14-powerpc64le-linux-gnu_14.2.0-19ubuntu2_ppc64el.deb ... 115s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 115s Selecting previously unselected package gcc-14. 115s Preparing to unpack .../16-gcc-14_14.2.0-19ubuntu2_ppc64el.deb ... 115s Unpacking gcc-14 (14.2.0-19ubuntu2) ... 116s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 116s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 116s Unpacking gcc-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 116s Selecting previously unselected package gcc. 116s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 116s Unpacking gcc (4:14.2.0-1ubuntu1) ... 116s Selecting previously unselected package libstdc++-14-dev:ppc64el. 116s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-19ubuntu2_ppc64el.deb ... 116s Unpacking libstdc++-14-dev:ppc64el (14.2.0-19ubuntu2) ... 116s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 116s Preparing to unpack .../20-g++-14-powerpc64le-linux-gnu_14.2.0-19ubuntu2_ppc64el.deb ... 116s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 116s Selecting previously unselected package g++-14. 116s Preparing to unpack .../21-g++-14_14.2.0-19ubuntu2_ppc64el.deb ... 116s Unpacking g++-14 (14.2.0-19ubuntu2) ... 116s Selecting previously unselected package g++-powerpc64le-linux-gnu. 116s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 116s Unpacking g++-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 116s Selecting previously unselected package g++. 116s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 116s Unpacking g++ (4:14.2.0-1ubuntu1) ... 116s Selecting previously unselected package build-essential. 116s Preparing to unpack .../24-build-essential_12.12ubuntu1_ppc64el.deb ... 116s Unpacking build-essential (12.12ubuntu1) ... 116s Selecting previously unselected package libffi-dev:ppc64el. 116s Preparing to unpack .../25-libffi-dev_3.4.7-1_ppc64el.deb ... 116s Unpacking libffi-dev:ppc64el (3.4.7-1) ... 116s Selecting previously unselected package uuid-dev:ppc64el. 116s Preparing to unpack .../26-uuid-dev_2.40.2-14ubuntu1_ppc64el.deb ... 116s Unpacking uuid-dev:ppc64el (2.40.2-14ubuntu1) ... 116s Selecting previously unselected package libblkid-dev:ppc64el. 116s Preparing to unpack .../27-libblkid-dev_2.40.2-14ubuntu1_ppc64el.deb ... 116s Unpacking libblkid-dev:ppc64el (2.40.2-14ubuntu1) ... 116s Selecting previously unselected package libsepol-dev:ppc64el. 116s Preparing to unpack .../28-libsepol-dev_3.7-1_ppc64el.deb ... 116s Unpacking libsepol-dev:ppc64el (3.7-1) ... 116s Selecting previously unselected package libpcre2-16-0:ppc64el. 116s Preparing to unpack .../29-libpcre2-16-0_10.45-1_ppc64el.deb ... 116s Unpacking libpcre2-16-0:ppc64el (10.45-1) ... 116s Selecting previously unselected package libpcre2-32-0:ppc64el. 116s Preparing to unpack .../30-libpcre2-32-0_10.45-1_ppc64el.deb ... 116s Unpacking libpcre2-32-0:ppc64el (10.45-1) ... 116s Selecting previously unselected package libpcre2-posix3:ppc64el. 116s Preparing to unpack .../31-libpcre2-posix3_10.45-1_ppc64el.deb ... 116s Unpacking libpcre2-posix3:ppc64el (10.45-1) ... 116s Selecting previously unselected package libpcre2-dev:ppc64el. 116s Preparing to unpack .../32-libpcre2-dev_10.45-1_ppc64el.deb ... 116s Unpacking libpcre2-dev:ppc64el (10.45-1) ... 116s Selecting previously unselected package libselinux1-dev:ppc64el. 116s Preparing to unpack .../33-libselinux1-dev_3.7-3ubuntu3_ppc64el.deb ... 116s Unpacking libselinux1-dev:ppc64el (3.7-3ubuntu3) ... 116s Selecting previously unselected package libmount-dev:ppc64el. 116s Preparing to unpack .../34-libmount-dev_2.40.2-14ubuntu1_ppc64el.deb ... 116s Unpacking libmount-dev:ppc64el (2.40.2-14ubuntu1) ... 116s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 116s Preparing to unpack .../35-libsysprof-capture-4-dev_48.0-2_ppc64el.deb ... 116s Unpacking libsysprof-capture-4-dev:ppc64el (48.0-2) ... 116s Selecting previously unselected package libpkgconf3:ppc64el. 116s Preparing to unpack .../36-libpkgconf3_1.8.1-4_ppc64el.deb ... 116s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 116s Selecting previously unselected package pkgconf-bin. 116s Preparing to unpack .../37-pkgconf-bin_1.8.1-4_ppc64el.deb ... 116s Unpacking pkgconf-bin (1.8.1-4) ... 116s Selecting previously unselected package pkgconf:ppc64el. 116s Preparing to unpack .../38-pkgconf_1.8.1-4_ppc64el.deb ... 116s Unpacking pkgconf:ppc64el (1.8.1-4) ... 116s Selecting previously unselected package zlib1g-dev:ppc64el. 116s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 116s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 116s Selecting previously unselected package libgio-2.0-dev:ppc64el. 116s Preparing to unpack .../40-libgio-2.0-dev_2.84.1-1_ppc64el.deb ... 116s Unpacking libgio-2.0-dev:ppc64el (2.84.1-1) ... 116s Setting up libgomp1:ppc64el (15-20250404-0ubuntu1) ... 116s Setting up libffi-dev:ppc64el (3.4.7-1) ... 116s Setting up libpcre2-16-0:ppc64el (10.45-1) ... 116s Setting up libsysprof-capture-4-dev:ppc64el (48.0-2) ... 116s Setting up libpcre2-32-0:ppc64el (10.45-1) ... 116s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 116s Setting up uuid-dev:ppc64el (2.40.2-14ubuntu1) ... 116s Setting up libquadmath0:ppc64el (15-20250404-0ubuntu1) ... 116s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 116s Setting up libsepol-dev:ppc64el (3.7-1) ... 116s Setting up pkgconf-bin (1.8.1-4) ... 116s Setting up libubsan1:ppc64el (15-20250404-0ubuntu1) ... 116s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 116s Setting up libpcre2-posix3:ppc64el (10.45-1) ... 116s Setting up libasan8:ppc64el (15-20250404-0ubuntu1) ... 116s Setting up libtsan2:ppc64el (15-20250404-0ubuntu1) ... 116s Setting up libisl23:ppc64el (0.27-1) ... 116s Setting up libcc1-0:ppc64el (15-20250404-0ubuntu1) ... 116s Setting up liblsan0:ppc64el (15-20250404-0ubuntu1) ... 116s Setting up libitm1:ppc64el (15-20250404-0ubuntu1) ... 116s Setting up libblkid-dev:ppc64el (2.40.2-14ubuntu1) ... 116s Setting up libpcre2-dev:ppc64el (10.45-1) ... 116s Setting up libselinux1-dev:ppc64el (3.7-3ubuntu3) ... 116s Setting up pkgconf:ppc64el (1.8.1-4) ... 116s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 116s Setting up cpp-14 (14.2.0-19ubuntu2) ... 116s Setting up libgcc-14-dev:ppc64el (14.2.0-19ubuntu2) ... 116s Setting up libstdc++-14-dev:ppc64el (14.2.0-19ubuntu2) ... 116s Setting up libmount-dev:ppc64el (2.40.2-14ubuntu1) ... 116s Setting up cpp-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 116s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 116s Setting up libgio-2.0-dev:ppc64el (2.84.1-1) ... 116s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 116s Setting up gcc-14 (14.2.0-19ubuntu2) ... 116s Setting up gcc-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 116s Setting up cpp (4:14.2.0-1ubuntu1) ... 116s Setting up g++-14 (14.2.0-19ubuntu2) ... 116s Setting up g++-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 116s Setting up gcc (4:14.2.0-1ubuntu1) ... 116s Setting up g++ (4:14.2.0-1ubuntu1) ... 116s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 116s Setting up build-essential (12.12ubuntu1) ... 116s Processing triggers for libc-bin (2.41-6ubuntu1) ... 117s Processing triggers for man-db (2.13.0-1) ... 118s Processing triggers for libglib2.0-0t64:ppc64el (2.84.1-1) ... 118s No schema files found: doing nothing. 118s Processing triggers for install-info (7.1.1-1) ... 119s autopkgtest [20:16:20]: test build: [----------------------- 119s + mode=dynamic 119s + getopt -o --long static -n debian/tests/build -- 119s + getopt_temp= -- 119s + eval set -- -- 119s + set -- -- 119s + true 119s + shift 119s + break 119s + mktemp -d 119s + WORKDIR=/tmp/tmp.fHO36q0vkK 119s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 119s + cd /tmp/tmp.fHO36q0vkK 119s + [ -n ] 119s + CROSS_COMPILE= 119s + cat 119s + cat 119s + cat 119s + cat 119s + cat 119s + cat 119s + cflags= 119s + pcflags= 119s + packages=glib-2.0 119s + pkg-config --cflags --libs glib-2.0 119s + 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 119s build (glib, dynamic): OK 119s run (glib, dynamic): OK 119s + echo build (glib, dynamic): OK 119s + [ -x glib-dynamic ] 119s + foo=bar ./glib-dynamic 119s + echo run (glib, dynamic): OK 119s + cflags= 119s + pcflags= 119s + packages=gobject-2.0 119s + pkg-config --cflags --libs gobject-2.0 119s + 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 120s build (gobject, dynamic): OK 120s + echo build (gobject, dynamic): OK 120s + [ -x gobject-dynamic ] 120s + foo=bar ./gobject-dynamic 120s run (gobject, dynamic): OK 120s + echo run (gobject, dynamic): OK 120s + cflags= 120s + pcflags= 120s + packages=gio-2.0 120s + pkg-config --cflags --libs gio-2.0 120s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 120s build (gio, dynamic): OK 120s + echo build (gio, dynamic): OK 120s + [ -x gio-dynamic ] 120s + foo=bar ./gio-dynamic 120s run (gio, dynamic): OK 120s + echo run (gio, dynamic): OK 120s + cflags= 120s + pcflags= 120s + packages=gio-unix-2.0 120s + pkg-config --cflags --libs gio-unix-2.0 120s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 120s build (gio-unix, dynamic): OK 120s + echo build (gio-unix, dynamic): OK 120s + [ -x gio-unix-dynamic ] 120s + foo=bar ./gio-unix-dynamic 120s run (gio-unix, dynamic): OK 120s + echo run (gio-unix, dynamic): OK 120s + cflags= 120s + pcflags= 120s + packages=gmodule-2.0 120s + pkg-config --cflags --libs gmodule-2.0 120s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 120s build (gmodule, dynamic): OK 120s + echo build (gmodule, dynamic): OK 120s + [ -x gmodule-dynamic ] 120s + foo=bar ./gmodule-dynamic 120s run (gmodule, dynamic): OK 120s + echo run (gmodule, dynamic): OK 120s + cflags= 120s + pcflags= 120s + packages=gthread-2.0 120s + pkg-config --cflags --libs gthread-2.0 120s + 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 120s build (gthread, dynamic): OK 120s + echo build (gthread, dynamic): OK 120s + [ -x gthread-dynamic ] 120s + foo=bar ./gthread-dynamic 120s run (gthread, dynamic): OK 120s + echo run (gthread, dynamic): OK 120s + rm -rf /tmp/tmp.fHO36q0vkK 120s autopkgtest [20:16:21]: test build: -----------------------] 121s autopkgtest [20:16:22]: test build: - - - - - - - - - - results - - - - - - - - - - 121s build PASS (superficial) 121s autopkgtest [20:16:22]: test build-static: preparing testbed 121s Reading package lists... 122s Building dependency tree... 122s Reading state information... 122s Starting pkgProblemResolver with broken count: 0 122s Starting 2 pkgProblemResolver with broken count: 0 122s Done 122s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 123s autopkgtest [20:16:24]: test build-static: [----------------------- 123s + mode=dynamic 123s + getopt -o --long static -n debian/tests/build -- --static 123s + getopt_temp= --static -- 123s + eval set -- --static -- 123s + set -- --static -- 123s + true 123s + mode=static 123s + shift 123s + continue 123s + true 123s + shift 123s + break 123s + mktemp -d 123s + WORKDIR=/tmp/tmp.dPfAEO9Qbi 123s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 123s + cd /tmp/tmp.dPfAEO9Qbi 123s + [ -n ] 123s + CROSS_COMPILE= 123s + cat 123s + cat 123s + cat 123s + cat 123s + cat 123s + cat 123s + cflags= 123s + pcflags= 123s + packages=glib-2.0 123s + cflags=-static 123s + pcflags=--static 123s + pkg-config --static --cflags --libs glib-2.0 123s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 123s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 123s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 123s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 123s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 123s build (glib, static): OK 123s + echo build (glib, static): OK 123s + [ -x glib-static ] 123s + foo=bar ./glib-static 123s run (glib, static): OK 123s + echo run (glib, static): OK 123s + cflags= 123s + pcflags= 123s + packages=gobject-2.0 123s + cflags=-static 123s + pcflags=--static 123s + pkg-config --static --cflags --libs gobject-2.0 123s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 123s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 123s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 123s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 123s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 123s build (gobject, static): OK 123s run (gobject, static): OK 123s + echo build (gobject, static): OK 123s + [ -x gobject-static ] 123s + foo=bar ./gobject-static 123s + echo run (gobject, static): OK 123s + cflags= 123s + pcflags= 123s + packages=gio-2.0 123s + cflags=-static 123s + pcflags=--static 123s + continue 123s + cflags= 123s + pcflags= 123s + packages=gio-unix-2.0 123s + cflags=-static 123s + pcflags=--static 123s + continue 123s + cflags= 123s + pcflags= 123s + packages=gmodule-2.0 123s + cflags=-static 123s + pcflags=--static 123s + pkg-config --static --cflags --libs gmodule-2.0 123s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 123s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 123s (.text+0x904): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 123s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 123s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 123s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 123s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 124s build (gmodule, static): OK 124s + echo build (gmodule, static): OK 124s + [ -x gmodule-static ] 124s + foo=bar ./gmodule-static 124s run (gmodule, static): OK 124s + echo run (gmodule, static): OK 124s + cflags= 124s + pcflags= 124s + packages=gthread-2.0 124s + cflags=-static 124s + pcflags=--static 124s + pkg-config --static --cflags --libs gthread-2.0 124s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 124s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 124s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 124s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 124s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 124s build (gthread, static): OK 124s run (gthread, static): OK 124s + echo build (gthread, static): OK 124s + [ -x gthread-static ] 124s + foo=bar ./gthread-static 124s + echo run (gthread, static): OK 124s + rm -rf /tmp/tmp.dPfAEO9Qbi 124s autopkgtest [20:16:25]: test build-static: -----------------------] 125s autopkgtest [20:16:26]: test build-static: - - - - - - - - - - results - - - - - - - - - - 125s build-static PASS (superficial) 125s autopkgtest [20:16:26]: test girepository-tools: preparing testbed 197s autopkgtest [20:17:38]: testbed dpkg architecture: ppc64el 197s autopkgtest [20:17:38]: testbed apt version: 3.0.0 198s autopkgtest [20:17:39]: @@@@@@@@@@@@@@@@@@@@ test bed setup 198s autopkgtest [20:17:39]: testbed release detected to be: plucky 199s autopkgtest [20:17:40]: updating testbed package index (apt update) 199s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 199s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 199s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 199s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 200s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B] 200s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [5796 B] 200s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el c-n-f Metadata [288 B] 200s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el c-n-f Metadata [120 B] 200s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [20.3 kB] 200s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el c-n-f Metadata [8688 B] 200s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el c-n-f Metadata [172 B] 201s Fetched 306 kB in 1s (440 kB/s) 202s Reading package lists... 203s autopkgtest [20:17:44]: upgrading testbed (apt dist-upgrade and autopurge) 203s Reading package lists... 203s Building dependency tree... 203s Reading state information... 203s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 203s Starting 2 pkgProblemResolver with broken count: 0 203s Done 204s Entering ResolveByKeep 204s 204s Calculating upgrade... 204s The following packages will be upgraded: 204s tzdata 204s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 204s Need to get 198 kB of archives. 204s After this operation, 0 B of additional disk space will be used. 204s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el tzdata all 2025b-1ubuntu1.1 [198 kB] 205s Preconfiguring packages ... 205s Fetched 198 kB in 0s (583 kB/s) 205s (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 ... 78698 files and directories currently installed.) 205s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ... 205s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ... 205s Setting up tzdata (2025b-1ubuntu1.1) ... 205s 205s Current default time zone: 'Etc/UTC' 205s Local time is now: Tue May 6 20:17:46 UTC 2025. 205s Universal Time is now: Tue May 6 20:17:46 UTC 2025. 205s Run 'dpkg-reconfigure tzdata' if you wish to change it. 205s 206s Reading package lists... 206s Building dependency tree... 206s Reading state information... 206s Starting pkgProblemResolver with broken count: 0 206s Starting 2 pkgProblemResolver with broken count: 0 206s Done 206s Solving dependencies... 206s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 210s Reading package lists... 210s Building dependency tree... 210s Reading state information... 210s Starting pkgProblemResolver with broken count: 0 210s Starting 2 pkgProblemResolver with broken count: 0 210s Done 211s The following NEW packages will be installed: 211s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 211s native-architecture 211s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 211s Need to get 1083 kB of archives. 211s After this operation, 13.0 MB of additional disk space will be used. 211s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.84.1-1 [862 kB] 211s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.6 [2140 B] 211s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.84.1-1 [85.0 kB] 211s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el girepository-tools ppc64el 2.84.1-1 [133 kB] 211s Fetched 1083 kB in 1s (1943 kB/s) 211s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 211s (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 ... 78698 files and directories currently installed.) 211s Preparing to unpack .../gir1.2-glib-2.0-dev_2.84.1-1_ppc64el.deb ... 211s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.84.1-1) ... 212s Selecting previously unselected package native-architecture. 212s Preparing to unpack .../native-architecture_0.2.6_all.deb ... 212s Unpacking native-architecture (0.2.6) ... 212s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 212s Preparing to unpack .../libgirepository-2.0-0_2.84.1-1_ppc64el.deb ... 212s Unpacking libgirepository-2.0-0:ppc64el (2.84.1-1) ... 212s Selecting previously unselected package girepository-tools:ppc64el. 212s Preparing to unpack .../girepository-tools_2.84.1-1_ppc64el.deb ... 212s Unpacking girepository-tools:ppc64el (2.84.1-1) ... 212s Setting up native-architecture (0.2.6) ... 212s Setting up libgirepository-2.0-0:ppc64el (2.84.1-1) ... 212s Setting up gir1.2-glib-2.0-dev:ppc64el (2.84.1-1) ... 212s Setting up girepository-tools:ppc64el (2.84.1-1) ... 212s Processing triggers for man-db (2.13.0-1) ... 212s Processing triggers for libc-bin (2.41-6ubuntu1) ... 218s autopkgtest [20:17:59]: test girepository-tools: [----------------------- 219s + cd /tmp/autopkgtest.HhQfZX/autopkgtest_tmp 219s + dpkg-architecture -qDEB_HOST_GNU_TYPE 219s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 219s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 219s + dpkg-architecture -qDEB_HOST_MULTIARCH 219s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 219s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 219s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 219s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 219s typelib: GLib-2.0 219s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 219s autopkgtest [20:18:00]: test girepository-tools: -----------------------] 220s girepository-tools PASS (superficial) 220s autopkgtest [20:18:01]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 220s autopkgtest [20:18:01]: test libgio-2.0-dev-bin: preparing testbed 299s autopkgtest [20:19:20]: testbed dpkg architecture: ppc64el 300s autopkgtest [20:19:21]: testbed apt version: 3.0.0 300s autopkgtest [20:19:21]: @@@@@@@@@@@@@@@@@@@@ test bed setup 300s autopkgtest [20:19:21]: testbed release detected to be: plucky 301s autopkgtest [20:19:22]: updating testbed package index (apt update) 301s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 301s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 301s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 302s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 302s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B] 302s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [5796 B] 302s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el c-n-f Metadata [288 B] 302s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el c-n-f Metadata [120 B] 302s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [20.3 kB] 302s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el c-n-f Metadata [8688 B] 302s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el c-n-f Metadata [172 B] 303s Fetched 306 kB in 1s (444 kB/s) 304s Reading package lists... 305s autopkgtest [20:19:26]: upgrading testbed (apt dist-upgrade and autopurge) 305s Reading package lists... 305s Building dependency tree... 305s Reading state information... 305s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 305s Starting 2 pkgProblemResolver with broken count: 0 305s Done 306s Entering ResolveByKeep 306s 306s Calculating upgrade... 306s The following packages will be upgraded: 306s tzdata 306s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 306s Need to get 198 kB of archives. 306s After this operation, 0 B of additional disk space will be used. 306s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el tzdata all 2025b-1ubuntu1.1 [198 kB] 307s Preconfiguring packages ... 307s Fetched 198 kB in 0s (488 kB/s) 307s (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 ... 78698 files and directories currently installed.) 307s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ... 307s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ... 307s Setting up tzdata (2025b-1ubuntu1.1) ... 307s 307s Current default time zone: 'Etc/UTC' 307s Local time is now: Tue May 6 20:19:28 UTC 2025. 307s Universal Time is now: Tue May 6 20:19:28 UTC 2025. 307s Run 'dpkg-reconfigure tzdata' if you wish to change it. 307s 307s Reading package lists... 308s Building dependency tree... 308s Reading state information... 308s Starting pkgProblemResolver with broken count: 0 308s Starting 2 pkgProblemResolver with broken count: 0 308s Done 308s Solving dependencies... 308s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 311s Reading package lists... 311s Building dependency tree... 311s Reading state information... 311s Starting pkgProblemResolver with broken count: 0 311s Starting 2 pkgProblemResolver with broken count: 0 311s Done 311s The following NEW packages will be installed: 311s libgio-2.0-dev-bin 311s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 311s Need to get 131 kB of archives. 311s After this operation, 817 kB of additional disk space will be used. 311s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev-bin ppc64el 2.84.1-1 [131 kB] 312s Fetched 131 kB in 0s (394 kB/s) 312s Selecting previously unselected package libgio-2.0-dev-bin. 312s (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 ... 78698 files and directories currently installed.) 312s Preparing to unpack .../libgio-2.0-dev-bin_2.84.1-1_ppc64el.deb ... 312s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 312s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 312s Processing triggers for man-db (2.13.0-1) ... 317s autopkgtest [20:19:38]: test libgio-2.0-dev-bin: [----------------------- 317s + gdbus-codegen --help 317s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 317s [--c-namespace NAMESPACE] [--c-generate-object-manager] 317s [--c-generate-autocleanup {none,objects,all}] 317s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 317s [--generate-rst OUTFILES] [--pragma-once] 317s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 317s [--glib-min-required VERSION] 317s [--glib-max-allowed VERSION] 317s [--symbol-decorator SYMBOL_DECORATOR] 317s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 317s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 317s [--generate-c-code OUTFILES | --header | --body | 317s --interface-info-header | --interface-info-body] 317s [--output FILE | --output-directory OUTDIR] 317s FILE [FILE ...] 317s 317s D-Bus code and documentation generator 317s 317s positional arguments: 317s FILE D-Bus introspection XML file 317s 317s options: 317s -h, --help show this help message and exit 317s --interface-prefix PREFIX 317s String to strip from D-Bus interface names for code 317s and docs 317s --c-namespace NAMESPACE 317s The namespace to use for generated C code 317s --c-generate-object-manager 317s Generate a GDBusObjectManagerClient subclass when 317s generating C code 317s --c-generate-autocleanup {none,objects,all} 317s Generate autocleanup support 317s --generate-docbook OUTFILES 317s Generate Docbook in OUTFILES-org.Project.IFace.xml 317s --generate-md OUTFILES 317s Generate Markdown in OUTFILES-org.Project.IFace.md 317s --generate-rst OUTFILES 317s Generate reStructuredText in OUTFILES- 317s org.Project.IFace.rst 317s --pragma-once Use "pragma once" as the inclusion guard 317s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 317s Add annotation (may be used several times) 317s --glib-min-required VERSION 317s Minimum version of GLib to be supported by the 317s outputted code (default: 2.30) 317s --glib-max-allowed VERSION 317s Maximum version of GLib to be used by the outputted 317s code (default: current GLib version) 317s --symbol-decorator SYMBOL_DECORATOR 317s Macro used to decorate a symbol in the outputted 317s header, possibly to export symbols 317s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 317s Additional header required for decorator specified by 317s --symbol-decorator 317s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 317s Additional define required for decorator specified by 317s --symbol-decorator 317s --generate-c-code OUTFILES 317s Generate C code in OUTFILES.[ch] 317s --header Generate C headers 317s --body Generate C code 317s --interface-info-header 317s Generate GDBusInterfaceInfo C header 317s --interface-info-body 317s Generate GDBusInterfaceInfo C code 317s --output FILE Write output into the specified file 317s --output-directory OUTDIR 317s Location to output generated files 317s + glib-compile-resources --version 317s 2.84.1 317s + glib-genmarshal --version 317s glib-genmarshal version 2.84.1 317s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 317s You may redistribute copies of glib-genmarshal under the terms of 317s the GNU General Public License which can be found in the 317s GLib source package. Sources, examples and contact 317s information are available at http://www.gtk.org 317s + glib-gettextize --version 317s /usr/bin/glib-gettextize (GNU glib) 2.84.1 317s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 317s This is free software; see the source for copying conditions. There is NO 317s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 317s Written by Ulrich Drepper 317s + glib-mkenums --version 317s glib-mkenums version 2.84.1 317s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 317s You may redistribute copies of glib-mkenums under the terms of 317s the GNU General Public License which can be found in the 317s GLib source package. Sources, examples and contact 317s information are available at http://www.gtk.org 317s + gobject-query tree 317s GObject 317s + gtester --version 317s gtester version 2.84.1 317s + gtester-report --version 317s gtester-report (GLib utils) version 2.84.1. 318s autopkgtest [20:19:39]: test libgio-2.0-dev-bin: -----------------------] 318s autopkgtest [20:19:39]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 318s libgio-2.0-dev-bin PASS (superficial) 318s autopkgtest [20:19:39]: test libglib2.0-dev: preparing testbed 400s autopkgtest [20:21:01]: testbed dpkg architecture: ppc64el 400s autopkgtest [20:21:01]: testbed apt version: 3.0.0 400s autopkgtest [20:21:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 401s autopkgtest [20:21:02]: testbed release detected to be: plucky 401s autopkgtest [20:21:02]: updating testbed package index (apt update) 402s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 402s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 402s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 402s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 402s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B] 402s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [5796 B] 402s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el c-n-f Metadata [288 B] 402s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el c-n-f Metadata [120 B] 402s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [20.3 kB] 402s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el c-n-f Metadata [8688 B] 402s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el c-n-f Metadata [172 B] 404s Fetched 306 kB in 1s (387 kB/s) 405s Reading package lists... 406s autopkgtest [20:21:07]: upgrading testbed (apt dist-upgrade and autopurge) 406s Reading package lists... 406s Building dependency tree... 406s Reading state information... 406s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 406s Starting 2 pkgProblemResolver with broken count: 0 406s Done 407s Entering ResolveByKeep 407s 407s Calculating upgrade... 407s The following packages will be upgraded: 407s tzdata 407s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 407s Need to get 198 kB of archives. 407s After this operation, 0 B of additional disk space will be used. 407s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el tzdata all 2025b-1ubuntu1.1 [198 kB] 408s Preconfiguring packages ... 408s Fetched 198 kB in 0s (576 kB/s) 408s (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 ... 78698 files and directories currently installed.) 408s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ... 408s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ... 408s Setting up tzdata (2025b-1ubuntu1.1) ... 408s 408s Current default time zone: 'Etc/UTC' 408s Local time is now: Tue May 6 20:21:09 UTC 2025. 408s Universal Time is now: Tue May 6 20:21:09 UTC 2025. 408s Run 'dpkg-reconfigure tzdata' if you wish to change it. 408s 409s Reading package lists... 409s Building dependency tree... 409s Reading state information... 409s Starting pkgProblemResolver with broken count: 0 409s Starting 2 pkgProblemResolver with broken count: 0 409s Done 409s Solving dependencies... 409s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 412s Reading package lists... 412s Building dependency tree... 412s Reading state information... 412s Starting pkgProblemResolver with broken count: 0 413s Starting 2 pkgProblemResolver with broken count: 0 413s Done 413s The following NEW packages will be installed: 413s build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu 413s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu 413s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 413s gcc-powerpc64le-linux-gnu gir1.2-glib-2.0-dev girepository-tools libasan8 413s libblkid-dev libcc1-0 libffi-dev libgcc-14-dev libgio-2.0-dev 413s libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 413s libglib2.0-dev-bin libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 413s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 413s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev 413s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf 413s pkgconf-bin uuid-dev zlib1g-dev 413s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 413s Need to get 64.8 MB of archives. 413s After this operation, 249 MB of additional disk space will be used. 413s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 413s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 413s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-19ubuntu2 [10.5 MB] 414s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-19ubuntu2 [1036 B] 414s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [5566 B] 414s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.2.0-1ubuntu1 [22.4 kB] 414s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 15-20250404-0ubuntu1 [48.6 kB] 414s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 15-20250404-0ubuntu1 [168 kB] 414s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 15-20250404-0ubuntu1 [32.3 kB] 414s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 15-20250404-0ubuntu1 [3007 kB] 414s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 15-20250404-0ubuntu1 [1374 kB] 414s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 15-20250404-0ubuntu1 [2732 kB] 414s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 15-20250404-0ubuntu1 [1232 kB] 414s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 15-20250404-0ubuntu1 [160 kB] 414s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-19ubuntu2 [1618 kB] 414s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-19ubuntu2 [20.6 MB] 414s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-19ubuntu2 [540 kB] 414s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [1226 B] 414s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.2.0-1ubuntu1 [5012 B] 414s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-19ubuntu2 [2679 kB] 414s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-19ubuntu2 [12.0 MB] 415s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-19ubuntu2 [23.0 kB] 415s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [966 B] 415s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.2.0-1ubuntu1 [1088 B] 415s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.12ubuntu1 [5094 B] 415s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.84.1-1 [862 kB] 415s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.6 [2140 B] 415s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.84.1-1 [85.0 kB] 415s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el girepository-tools ppc64el 2.84.1-1 [133 kB] 415s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libffi-dev ppc64el 3.4.7-1 [67.7 kB] 415s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el uuid-dev ppc64el 2.40.2-14ubuntu1 [56.7 kB] 415s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblkid-dev ppc64el 2.40.2-14ubuntu1 [279 kB] 415s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsepol-dev ppc64el 3.7-1 [502 kB] 415s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-16-0 ppc64el 10.45-1 [286 kB] 415s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-32-0 ppc64el 10.45-1 [269 kB] 415s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-posix3 ppc64el 10.45-1 [7390 B] 415s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-dev ppc64el 10.45-1 [921 kB] 415s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libselinux1-dev ppc64el 3.7-3ubuntu3 [194 kB] 415s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmount-dev ppc64el 2.40.2-14ubuntu1 [34.6 kB] 415s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsysprof-capture-4-dev ppc64el 48.0-2 [62.2 kB] 415s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 415s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 415s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 415s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 415s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev ppc64el 2.84.1-1 [2162 kB] 415s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev-bin ppc64el 2.84.1-1 [131 kB] 415s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-bin ppc64el 2.84.1-1 [111 kB] 415s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev-bin ppc64el 2.84.1-1 [18.1 kB] 415s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev ppc64el 2.84.1-1 [18.9 kB] 415s Fetched 64.8 MB in 2s (29.3 MB/s) 415s Selecting previously unselected package libisl23:ppc64el. 415s (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 ... 78698 files and directories currently installed.) 415s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 415s Unpacking libisl23:ppc64el (0.27-1) ... 415s Selecting previously unselected package libmpc3:ppc64el. 415s Preparing to unpack .../01-libmpc3_1.3.1-1build2_ppc64el.deb ... 415s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 415s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 415s Preparing to unpack .../02-cpp-14-powerpc64le-linux-gnu_14.2.0-19ubuntu2_ppc64el.deb ... 415s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 416s Selecting previously unselected package cpp-14. 416s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_ppc64el.deb ... 416s Unpacking cpp-14 (14.2.0-19ubuntu2) ... 416s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 416s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 416s Unpacking cpp-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 416s Selecting previously unselected package cpp. 416s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 416s Unpacking cpp (4:14.2.0-1ubuntu1) ... 416s Selecting previously unselected package libcc1-0:ppc64el. 416s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_ppc64el.deb ... 416s Unpacking libcc1-0:ppc64el (15-20250404-0ubuntu1) ... 416s Selecting previously unselected package libgomp1:ppc64el. 416s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_ppc64el.deb ... 416s Unpacking libgomp1:ppc64el (15-20250404-0ubuntu1) ... 416s Selecting previously unselected package libitm1:ppc64el. 416s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_ppc64el.deb ... 416s Unpacking libitm1:ppc64el (15-20250404-0ubuntu1) ... 416s Selecting previously unselected package libasan8:ppc64el. 416s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_ppc64el.deb ... 416s Unpacking libasan8:ppc64el (15-20250404-0ubuntu1) ... 416s Selecting previously unselected package liblsan0:ppc64el. 416s Preparing to unpack .../10-liblsan0_15-20250404-0ubuntu1_ppc64el.deb ... 416s Unpacking liblsan0:ppc64el (15-20250404-0ubuntu1) ... 416s Selecting previously unselected package libtsan2:ppc64el. 416s Preparing to unpack .../11-libtsan2_15-20250404-0ubuntu1_ppc64el.deb ... 416s Unpacking libtsan2:ppc64el (15-20250404-0ubuntu1) ... 416s Selecting previously unselected package libubsan1:ppc64el. 416s Preparing to unpack .../12-libubsan1_15-20250404-0ubuntu1_ppc64el.deb ... 416s Unpacking libubsan1:ppc64el (15-20250404-0ubuntu1) ... 416s Selecting previously unselected package libquadmath0:ppc64el. 416s Preparing to unpack .../13-libquadmath0_15-20250404-0ubuntu1_ppc64el.deb ... 416s Unpacking libquadmath0:ppc64el (15-20250404-0ubuntu1) ... 416s Selecting previously unselected package libgcc-14-dev:ppc64el. 416s Preparing to unpack .../14-libgcc-14-dev_14.2.0-19ubuntu2_ppc64el.deb ... 416s Unpacking libgcc-14-dev:ppc64el (14.2.0-19ubuntu2) ... 416s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 416s Preparing to unpack .../15-gcc-14-powerpc64le-linux-gnu_14.2.0-19ubuntu2_ppc64el.deb ... 416s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 416s Selecting previously unselected package gcc-14. 416s Preparing to unpack .../16-gcc-14_14.2.0-19ubuntu2_ppc64el.deb ... 416s Unpacking gcc-14 (14.2.0-19ubuntu2) ... 416s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 416s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 416s Unpacking gcc-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 416s Selecting previously unselected package gcc. 416s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 416s Unpacking gcc (4:14.2.0-1ubuntu1) ... 416s Selecting previously unselected package libstdc++-14-dev:ppc64el. 416s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-19ubuntu2_ppc64el.deb ... 416s Unpacking libstdc++-14-dev:ppc64el (14.2.0-19ubuntu2) ... 416s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 416s Preparing to unpack .../20-g++-14-powerpc64le-linux-gnu_14.2.0-19ubuntu2_ppc64el.deb ... 416s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 417s Selecting previously unselected package g++-14. 417s Preparing to unpack .../21-g++-14_14.2.0-19ubuntu2_ppc64el.deb ... 417s Unpacking g++-14 (14.2.0-19ubuntu2) ... 417s Selecting previously unselected package g++-powerpc64le-linux-gnu. 417s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 417s Unpacking g++-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 417s Selecting previously unselected package g++. 417s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 417s Unpacking g++ (4:14.2.0-1ubuntu1) ... 417s Selecting previously unselected package build-essential. 417s Preparing to unpack .../24-build-essential_12.12ubuntu1_ppc64el.deb ... 417s Unpacking build-essential (12.12ubuntu1) ... 417s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 417s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.84.1-1_ppc64el.deb ... 417s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.84.1-1) ... 417s Selecting previously unselected package native-architecture. 417s Preparing to unpack .../26-native-architecture_0.2.6_all.deb ... 417s Unpacking native-architecture (0.2.6) ... 417s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 417s Preparing to unpack .../27-libgirepository-2.0-0_2.84.1-1_ppc64el.deb ... 417s Unpacking libgirepository-2.0-0:ppc64el (2.84.1-1) ... 417s Selecting previously unselected package girepository-tools:ppc64el. 417s Preparing to unpack .../28-girepository-tools_2.84.1-1_ppc64el.deb ... 417s Unpacking girepository-tools:ppc64el (2.84.1-1) ... 417s Selecting previously unselected package libffi-dev:ppc64el. 417s Preparing to unpack .../29-libffi-dev_3.4.7-1_ppc64el.deb ... 417s Unpacking libffi-dev:ppc64el (3.4.7-1) ... 417s Selecting previously unselected package uuid-dev:ppc64el. 417s Preparing to unpack .../30-uuid-dev_2.40.2-14ubuntu1_ppc64el.deb ... 417s Unpacking uuid-dev:ppc64el (2.40.2-14ubuntu1) ... 417s Selecting previously unselected package libblkid-dev:ppc64el. 417s Preparing to unpack .../31-libblkid-dev_2.40.2-14ubuntu1_ppc64el.deb ... 417s Unpacking libblkid-dev:ppc64el (2.40.2-14ubuntu1) ... 417s Selecting previously unselected package libsepol-dev:ppc64el. 417s Preparing to unpack .../32-libsepol-dev_3.7-1_ppc64el.deb ... 417s Unpacking libsepol-dev:ppc64el (3.7-1) ... 417s Selecting previously unselected package libpcre2-16-0:ppc64el. 417s Preparing to unpack .../33-libpcre2-16-0_10.45-1_ppc64el.deb ... 417s Unpacking libpcre2-16-0:ppc64el (10.45-1) ... 417s Selecting previously unselected package libpcre2-32-0:ppc64el. 417s Preparing to unpack .../34-libpcre2-32-0_10.45-1_ppc64el.deb ... 417s Unpacking libpcre2-32-0:ppc64el (10.45-1) ... 417s Selecting previously unselected package libpcre2-posix3:ppc64el. 417s Preparing to unpack .../35-libpcre2-posix3_10.45-1_ppc64el.deb ... 417s Unpacking libpcre2-posix3:ppc64el (10.45-1) ... 417s Selecting previously unselected package libpcre2-dev:ppc64el. 417s Preparing to unpack .../36-libpcre2-dev_10.45-1_ppc64el.deb ... 417s Unpacking libpcre2-dev:ppc64el (10.45-1) ... 417s Selecting previously unselected package libselinux1-dev:ppc64el. 417s Preparing to unpack .../37-libselinux1-dev_3.7-3ubuntu3_ppc64el.deb ... 417s Unpacking libselinux1-dev:ppc64el (3.7-3ubuntu3) ... 417s Selecting previously unselected package libmount-dev:ppc64el. 417s Preparing to unpack .../38-libmount-dev_2.40.2-14ubuntu1_ppc64el.deb ... 417s Unpacking libmount-dev:ppc64el (2.40.2-14ubuntu1) ... 417s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 417s Preparing to unpack .../39-libsysprof-capture-4-dev_48.0-2_ppc64el.deb ... 417s Unpacking libsysprof-capture-4-dev:ppc64el (48.0-2) ... 417s Selecting previously unselected package libpkgconf3:ppc64el. 417s Preparing to unpack .../40-libpkgconf3_1.8.1-4_ppc64el.deb ... 417s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 417s Selecting previously unselected package pkgconf-bin. 417s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_ppc64el.deb ... 417s Unpacking pkgconf-bin (1.8.1-4) ... 417s Selecting previously unselected package pkgconf:ppc64el. 417s Preparing to unpack .../42-pkgconf_1.8.1-4_ppc64el.deb ... 417s Unpacking pkgconf:ppc64el (1.8.1-4) ... 417s Selecting previously unselected package zlib1g-dev:ppc64el. 417s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 417s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 417s Selecting previously unselected package libgio-2.0-dev:ppc64el. 417s Preparing to unpack .../44-libgio-2.0-dev_2.84.1-1_ppc64el.deb ... 417s Unpacking libgio-2.0-dev:ppc64el (2.84.1-1) ... 417s Selecting previously unselected package libgio-2.0-dev-bin. 417s Preparing to unpack .../45-libgio-2.0-dev-bin_2.84.1-1_ppc64el.deb ... 417s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 417s Selecting previously unselected package libglib2.0-bin. 417s Preparing to unpack .../46-libglib2.0-bin_2.84.1-1_ppc64el.deb ... 417s Unpacking libglib2.0-bin (2.84.1-1) ... 417s Selecting previously unselected package libglib2.0-dev-bin. 417s Preparing to unpack .../47-libglib2.0-dev-bin_2.84.1-1_ppc64el.deb ... 417s Unpacking libglib2.0-dev-bin (2.84.1-1) ... 417s Selecting previously unselected package libglib2.0-dev:ppc64el. 417s Preparing to unpack .../48-libglib2.0-dev_2.84.1-1_ppc64el.deb ... 417s Unpacking libglib2.0-dev:ppc64el (2.84.1-1) ... 417s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 418s Setting up native-architecture (0.2.6) ... 418s Setting up libgirepository-2.0-0:ppc64el (2.84.1-1) ... 418s Setting up libglib2.0-bin (2.84.1-1) ... 418s Setting up libgomp1:ppc64el (15-20250404-0ubuntu1) ... 418s Setting up libffi-dev:ppc64el (3.4.7-1) ... 418s Setting up libpcre2-16-0:ppc64el (10.45-1) ... 418s Setting up libsysprof-capture-4-dev:ppc64el (48.0-2) ... 418s Setting up libpcre2-32-0:ppc64el (10.45-1) ... 418s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 418s Setting up uuid-dev:ppc64el (2.40.2-14ubuntu1) ... 418s Setting up libquadmath0:ppc64el (15-20250404-0ubuntu1) ... 418s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 418s Setting up libsepol-dev:ppc64el (3.7-1) ... 418s Setting up pkgconf-bin (1.8.1-4) ... 418s Setting up libubsan1:ppc64el (15-20250404-0ubuntu1) ... 418s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 418s Setting up libpcre2-posix3:ppc64el (10.45-1) ... 418s Setting up gir1.2-glib-2.0-dev:ppc64el (2.84.1-1) ... 418s Setting up libasan8:ppc64el (15-20250404-0ubuntu1) ... 418s Setting up libtsan2:ppc64el (15-20250404-0ubuntu1) ... 418s Setting up libisl23:ppc64el (0.27-1) ... 418s Setting up libcc1-0:ppc64el (15-20250404-0ubuntu1) ... 418s Setting up liblsan0:ppc64el (15-20250404-0ubuntu1) ... 418s Setting up libitm1:ppc64el (15-20250404-0ubuntu1) ... 418s Setting up libblkid-dev:ppc64el (2.40.2-14ubuntu1) ... 418s Setting up girepository-tools:ppc64el (2.84.1-1) ... 418s Setting up libpcre2-dev:ppc64el (10.45-1) ... 418s Setting up libselinux1-dev:ppc64el (3.7-3ubuntu3) ... 418s Setting up pkgconf:ppc64el (1.8.1-4) ... 418s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 418s Setting up cpp-14 (14.2.0-19ubuntu2) ... 418s Setting up libgcc-14-dev:ppc64el (14.2.0-19ubuntu2) ... 418s Setting up libstdc++-14-dev:ppc64el (14.2.0-19ubuntu2) ... 418s Setting up libmount-dev:ppc64el (2.40.2-14ubuntu1) ... 418s Setting up cpp-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 418s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 418s Setting up libglib2.0-dev-bin (2.84.1-1) ... 418s Setting up libgio-2.0-dev:ppc64el (2.84.1-1) ... 418s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 418s Setting up gcc-14 (14.2.0-19ubuntu2) ... 418s Setting up gcc-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 418s Setting up cpp (4:14.2.0-1ubuntu1) ... 418s Setting up g++-14 (14.2.0-19ubuntu2) ... 418s Setting up g++-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 418s Setting up gcc (4:14.2.0-1ubuntu1) ... 418s Setting up g++ (4:14.2.0-1ubuntu1) ... 418s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 418s Setting up build-essential (12.12ubuntu1) ... 418s Processing triggers for install-info (7.1.1-1) ... 418s Processing triggers for libc-bin (2.41-6ubuntu1) ... 418s Processing triggers for man-db (2.13.0-1) ... 419s Processing triggers for libglib2.0-0t64:ppc64el (2.84.1-1) ... 419s No schema files found: doing nothing. 419s Setting up libglib2.0-dev:ppc64el (2.84.1-1) ... 424s autopkgtest [20:21:25]: test libglib2.0-dev: [----------------------- 424s + debian/tests/build 424s + mode=dynamic 424s + getopt -o --long static -n debian/tests/build -- 424s + getopt_temp= -- 424s + eval set -- -- 424s + set -- -- 424s + true 424s + shift 424s + break 424s + mktemp -d 424s + WORKDIR=/tmp/tmp.7SCaGhQJoq 424s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 424s + cd /tmp/tmp.7SCaGhQJoq 424s + [ -n ] 424s + CROSS_COMPILE= 424s + cat 424s + cat 424s + cat 424s + cat 424s + cat 424s + cat 424s + cflags= 424s + pcflags= 424s + packages=glib-2.0 424s + pkg-config --cflags --libs glib-2.0 424s + 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 425s build (glib, dynamic): OK 425s + echo build (glib, dynamic): OK 425s + [ -x glib-dynamic ] 425s + foo=bar ./glib-dynamic 425s + echo run (glib, dynamic): OK 425s + cflags= 425s + pcflags= 425s + packages=gobject-2.0 425s + pkg-config --cflags --libs gobject-2.0 425s run (glib, dynamic): OK 425s + 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 425s build (gobject, dynamic): OK 425s + echo build (gobject, dynamic): OK 425s + [ -x gobject-dynamic ] 425s + foo=bar ./gobject-dynamic 425s + echo run (gobject, dynamic): OK 425s + cflags= 425s + pcflags= 425s + packages=gio-2.0 425s + pkg-config --cflags --libs gio-2.0 425s run (gobject, dynamic): OK 425s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 425s build (gio, dynamic): OK 425s + echo build (gio, dynamic): OK 425s + [ -x gio-dynamic ] 425s + foo=bar ./gio-dynamic 425s + echo run (gio, dynamic): OK 425s + cflags= 425s + pcflags= 425s + packages=gio-unix-2.0 425s run (gio, dynamic): OK 425s + pkg-config --cflags --libs gio-unix-2.0 425s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 425s build (gio-unix, dynamic): OK 425s + echo build (gio-unix, dynamic): OK 425s + [ -x gio-unix-dynamic ] 425s + foo=bar ./gio-unix-dynamic 425s + echo run (gio-unix, dynamic): OK 425s + cflags= 425s + pcflags= 425s + packages=gmodule-2.0 425s run (gio-unix, dynamic): OK 425s + pkg-config --cflags --libs gmodule-2.0 425s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 425s build (gmodule, dynamic): OK 425s + echo build (gmodule, dynamic): OK 425s + [ -x gmodule-dynamic ] 425s + foo=bar ./gmodule-dynamic 425s + echo run (gmodule, dynamic): OK 425s + cflags= 425s + pcflags= 425s + packages=gthread-2.0 425s run (gmodule, dynamic): OK 425s + pkg-config --cflags --libs gthread-2.0 425s + 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 425s build (gthread, dynamic): OK 425s + echo build (gthread, dynamic): OK 425s + [ -x gthread-dynamic ] 425s + foo=bar ./gthread-dynamic 425s + echo run (gthread, dynamic): OK 425s + rm -rf /tmp/tmp.7SCaGhQJoq 425s run (gthread, dynamic): OK 425s + debian/tests/build-static 425s + mode=dynamic 425s + getopt -o --long static -n debian/tests/build -- --static 425s + getopt_temp= --static -- 425s + eval set -- --static -- 425s + set -- --static -- 425s + true 425s + mode=static 425s + shift 425s + continue 425s + true 425s + shift 425s + break 425s + mktemp -d 425s + WORKDIR=/tmp/tmp.kx7iAsLMpp 425s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 425s + cd /tmp/tmp.kx7iAsLMpp 425s + [ -n ] 425s + CROSS_COMPILE= 425s + cat 425s + cat 425s + cat 425s + cat 425s + cat 425s + cat 425s + cflags= 425s + pcflags= 425s + packages=glib-2.0 425s + cflags=-static 425s + pcflags=--static 425s + pkg-config --static --cflags --libs glib-2.0 425s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 425s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 425s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 425s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 425s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 425s build (glib, static): OK 425s + echo build (glib, static): OK 425s + [ -x glib-static ] 425s + foo=bar ./glib-static 425s + run (glib, static): OK 425s echo run (glib, static): OK 425s + cflags= 425s + pcflags= 425s + packages=gobject-2.0 425s + cflags=-static 425s + pcflags=--static 425s + pkg-config --static --cflags --libs gobject-2.0 425s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 425s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 425s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 425s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 425s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 426s build (gobject, static): OK 426s run (gobject, static): OK 426s + echo build (gobject, static): OK 426s + [ -x gobject-static ] 426s + foo=bar ./gobject-static 426s + echo run (gobject, static): OK 426s + cflags= 426s + pcflags= 426s + packages=gio-2.0 426s + cflags=-static 426s + pcflags=--static 426s + continue 426s + cflags= 426s + pcflags= 426s + packages=gio-unix-2.0 426s + cflags=-static 426s + pcflags=--static 426s + continue 426s + cflags= 426s + pcflags= 426s + packages=gmodule-2.0 426s + cflags=-static 426s + pcflags=--static 426s + pkg-config --static --cflags --libs gmodule-2.0 426s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 426s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 426s (.text+0x904): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 426s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 426s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 426s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 426s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 426s build (gmodule, static): OK 426s + echo build (gmodule, static): OK 426s + [ -x gmodule-static ] 426s + foo=bar ./gmodule-static 426s + echo run (gmodule, static): OK 426s + cflags= 426s + pcflags= 426s + packages=gthread-2.0 426s + cflags=-static 426s + pcflags=--static 426s run (gmodule, static): OK 426s + pkg-config --static --cflags --libs gthread-2.0 426s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 426s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 426s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 426s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 426s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 426s build (gthread, static): OK 426s + echo build (gthread, static): OK 426s + [ -x gthread-static ] 426s + foo=bar ./gthread-static 426s run (gthread, static): OK 426s + echo run (gthread, static): OK 426s + rm -rf /tmp/tmp.kx7iAsLMpp 426s + debian/tests/girepository-tools 426s + cd /tmp/autopkgtest.HhQfZX/autopkgtest_tmp 426s + dpkg-architecture -qDEB_HOST_GNU_TYPE 426s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 426s + dpkg-architecture -qDEB_HOST_MULTIARCH 426s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 426s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 426s typelib: GLib-2.0 426s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 426s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 426s + debian/tests/libgio-2.0-dev-bin 426s + gdbus-codegen --help 426s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 426s [--c-namespace NAMESPACE] [--c-generate-object-manager] 426s [--c-generate-autocleanup {none,objects,all}] 426s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 426s [--generate-rst OUTFILES] [--pragma-once] 426s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 426s [--glib-min-required VERSION] 426s [--glib-max-allowed VERSION] 426s [--symbol-decorator SYMBOL_DECORATOR] 426s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 426s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 426s [--generate-c-code OUTFILES | --header | --body | 426s --interface-info-header | --interface-info-body] 426s [--output FILE | --output-directory OUTDIR] 426s FILE [FILE ...] 426s 426s D-Bus code and documentation generator 426s 426s positional arguments: 426s FILE D-Bus introspection XML file 426s 426s options: 426s -h, --help show this help message and exit 426s --interface-prefix PREFIX 426s String to strip from D-Bus interface names for code 426s and docs 426s --c-namespace NAMESPACE 426s The namespace to use for generated C code 426s --c-generate-object-manager 426s Generate a GDBusObjectManagerClient subclass when 426s generating C code 426s --c-generate-autocleanup {none,objects,all} 426s Generate autocleanup support 426s --generate-docbook OUTFILES 426s Generate Docbook in OUTFILES-org.Project.IFace.xml 426s --generate-md OUTFILES 426s Generate Markdown in OUTFILES-org.Project.IFace.md 426s --generate-rst OUTFILES 426s Generate reStructuredText in OUTFILES- 426s org.Project.IFace.rst 426s --pragma-once Use "pragma once" as the inclusion guard 426s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 426s Add annotation (may be used several times) 426s --glib-min-required VERSION 426s Minimum version of GLib to be supported by the 426s outputted code (default: 2.30) 426s --glib-max-allowed VERSION 426s Maximum version of GLib to be used by the outputted 426s code (default: current GLib version) 426s --symbol-decorator SYMBOL_DECORATOR 426s Macro used to decorate a symbol in the outputted 426s header, possibly to export symbols 426s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 426s Additional header required for decorator specified by 426s --symbol-decorator 426s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 426s Additional define required for decorator specified by 426s --symbol-decorator 426s --generate-c-code OUTFILES 426s Generate C code in OUTFILES.[ch] 426s --header Generate C headers 426s --body Generate C code 426s --interface-info-header 426s Generate GDBusInterfaceInfo C header 426s --interface-info-body 426s Generate GDBusInterfaceInfo C code 426s --output FILE Write output into the specified file 426s --output-directory OUTDIR 426s Location to output generated files 426s + glib-compile-resources --version 426s 2.84.1 426s + glib-genmarshal --version 426s glib-genmarshal version 2.84.1 426s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 426s You may redistribute copies of glib-genmarshal under the terms of 426s the GNU General Public License which can be found in the 426s GLib source package. Sources, examples and contact 426s information are available at http://www.gtk.org 426s + glib-gettextize --version 426s + glib-mkenums --version 426s /usr/bin/glib-gettextize (GNU glib) 2.84.1 426s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 426s This is free software; see the source for copying conditions. There is NO 426s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 426s Written by Ulrich Drepper 426s glib-mkenums version 2.84.1 426s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 426s You may redistribute copies of glib-mkenums under the terms of 426s the GNU General Public License which can be found in the 426s GLib source package. Sources, examples and contact 426s information are available at http://www.gtk.org 426s + gobject-query tree 426s GObject 426s + gtester --version 426s gtester version 2.84.1 426s + gtester-report --version 426s gtester-report (GLib utils) version 2.84.1. 426s + cd /tmp/autopkgtest.HhQfZX/autopkgtest_tmp 426s + dpkg-architecture -qDEB_HOST_MULTIARCH 426s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 426s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 426s typelib: GLib-2.0 426s + gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 427s + gi-decompile-typelib -o GLib.gir GLib.typelib 427s autopkgtest [20:21:28]: test libglib2.0-dev: -----------------------] 427s libglib2.0-dev PASS (superficial) 427s autopkgtest [20:21:28]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 428s autopkgtest [20:21:29]: test installed-tests: preparing testbed 517s autopkgtest [20:22:58]: testbed dpkg architecture: ppc64el 517s autopkgtest [20:22:58]: testbed apt version: 3.0.0 517s autopkgtest [20:22:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 517s autopkgtest [20:22:58]: testbed release detected to be: plucky 518s autopkgtest [20:22:59]: updating testbed package index (apt update) 519s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 519s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 519s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 519s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 519s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B] 519s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [5796 B] 519s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el c-n-f Metadata [288 B] 519s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el c-n-f Metadata [120 B] 519s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [20.3 kB] 519s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el c-n-f Metadata [8688 B] 519s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el c-n-f Metadata [172 B] 521s Fetched 306 kB in 1s (402 kB/s) 522s Reading package lists... 523s autopkgtest [20:23:04]: upgrading testbed (apt dist-upgrade and autopurge) 523s Reading package lists... 523s Building dependency tree... 523s Reading state information... 523s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 523s Starting 2 pkgProblemResolver with broken count: 0 523s Done 524s Entering ResolveByKeep 524s 524s Calculating upgrade... 524s The following packages will be upgraded: 524s tzdata 524s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 524s Need to get 198 kB of archives. 524s After this operation, 0 B of additional disk space will be used. 524s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el tzdata all 2025b-1ubuntu1.1 [198 kB] 525s Preconfiguring packages ... 525s Fetched 198 kB in 0s (596 kB/s) 525s (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 ... 78698 files and directories currently installed.) 525s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ... 525s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ... 525s Setting up tzdata (2025b-1ubuntu1.1) ... 525s 525s Current default time zone: 'Etc/UTC' 525s Local time is now: Tue May 6 20:23:06 UTC 2025. 525s Universal Time is now: Tue May 6 20:23:06 UTC 2025. 525s Run 'dpkg-reconfigure tzdata' if you wish to change it. 525s 526s Reading package lists... 526s Building dependency tree... 526s Reading state information... 526s Starting pkgProblemResolver with broken count: 0 526s Starting 2 pkgProblemResolver with broken count: 0 526s Done 526s Solving dependencies... 527s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 529s Reading package lists... 529s Building dependency tree... 529s Reading state information... 529s Starting pkgProblemResolver with broken count: 0 529s Starting 2 pkgProblemResolver with broken count: 0 529s Done 530s The following NEW packages will be installed: 530s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 530s gnome-desktop-testing libfontenc1 libgbm1 libgio-2.0-dev-bin 530s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglib2.0-bin 530s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 530s libpixman-1-0 libsm6 libunwind8 libvulkan1 libwayland-server0 libx11-xcb1 530s libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 530s libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 530s libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 530s native-architecture python3-dbusmock tzdata-legacy x11-common x11-xkb-utils 530s xserver-common xvfb 530s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 530s Need to get 16.9 MB of archives. 530s After this operation, 101 MB of additional disk space will be used. 530s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el dbus-x11 ppc64el 1.16.2-2ubuntu1 [24.3 kB] 530s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el desktop-file-utils ppc64el 0.28-1 [62.3 kB] 530s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.84.1-1 [862 kB] 530s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.6 [2140 B] 530s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.84.1-1 [85.0 kB] 530s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el girepository-tools ppc64el 2.84.1-1 [133 kB] 530s Get:7 http://ftpmaster.internal/ubuntu plucky/universe ppc64el gnome-desktop-testing ppc64el 2021.1-4 [17.7 kB] 530s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build1 [15.8 kB] 530s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libwayland-server0 ppc64el 1.23.1-3 [42.4 kB] 530s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libx11-xcb1 ppc64el 2:1.8.10-2 [8008 B] 530s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-dri3-0 ppc64el 1.17.0-2 [7842 B] 530s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-present0 ppc64el 1.17.0-2 [6276 B] 530s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-randr0 ppc64el 1.17.0-2 [19.1 kB] 530s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-sync1 ppc64el 1.17.0-2 [9804 B] 530s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-xfixes0 ppc64el 1.17.0-2 [10.7 kB] 530s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxshmfence1 ppc64el 1.3-1build5 [4964 B] 530s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el mesa-libgallium ppc64el 25.0.3-1ubuntu2 [9535 kB] 531s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgbm1 ppc64el 25.0.3-1ubuntu2 [39.1 kB] 531s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev-bin ppc64el 2.84.1-1 [131 kB] 531s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libvulkan1 ppc64el 1.4.304.0-1 [163 kB] 531s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgl1-mesa-dri ppc64el 25.0.3-1ubuntu2 [35.1 kB] 531s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-bin ppc64el 2.84.1-1 [111 kB] 531s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev-bin ppc64el 2.84.1-1 [18.1 kB] 531s Get:24 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-dbusmock all 0.34.3-1 [92.4 kB] 531s Get:25 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el tzdata-legacy all 2025b-1ubuntu1.1 [99.2 kB] 531s Get:26 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libglib2.0-tests ppc64el 2.84.1-1 [2271 kB] 531s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-glx0 ppc64el 1.17.0-2 [26.3 kB] 531s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-shm0 ppc64el 1.17.0-2 [5980 B] 531s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build4 [11.1 kB] 531s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglx-mesa0 ppc64el 25.0.3-1ubuntu2 [175 kB] 531s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-common all 1:7.7+23ubuntu4 [21.8 kB] 531s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libice6 ppc64el 2:1.1.1-1 [49.9 kB] 531s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpixman-1-0 ppc64el 0.44.0-3 [334 kB] 531s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsm6 ppc64el 2:1.2.4-1 [18.4 kB] 531s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libunwind8 ppc64el 1.6.2-3.1 [58.9 kB] 531s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.2build1 [202 kB] 531s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxmu6 ppc64el 2:1.1.3-3build2 [56.8 kB] 531s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxpm4 ppc64el 1:3.5.17-1build2 [49.9 kB] 531s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxaw7 ppc64el 2:1.0.16-1 [230 kB] 531s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxfont2 ppc64el 1:2.0.6-1build1 [116 kB] 531s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build4 [88.9 kB] 531s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1build1 [23.1 kB] 531s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrandr2 ppc64el 2:1.5.4-1 [21.7 kB] 531s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-xkb-utils ppc64el 7.7+9 [201 kB] 531s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el xserver-common all 2:21.1.16-1ubuntu1 [34.4 kB] 531s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglvnd0 ppc64el 1.7.0-1build1 [72.4 kB] 531s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglx0 ppc64el 1.7.0-1build1 [42.7 kB] 531s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgl1 ppc64el 1.7.0-1build1 [107 kB] 531s Get:49 http://ftpmaster.internal/ubuntu plucky/universe ppc64el xvfb ppc64el 2:21.1.16-1ubuntu1 [1101 kB] 531s Fetched 16.9 MB in 1s (12.9 MB/s) 531s Selecting previously unselected package dbus-x11. 531s (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 ... 78698 files and directories currently installed.) 531s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu1_ppc64el.deb ... 531s Unpacking dbus-x11 (1.16.2-2ubuntu1) ... 532s Selecting previously unselected package desktop-file-utils. 532s Preparing to unpack .../01-desktop-file-utils_0.28-1_ppc64el.deb ... 532s Unpacking desktop-file-utils (0.28-1) ... 532s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 532s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.84.1-1_ppc64el.deb ... 532s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.84.1-1) ... 532s Selecting previously unselected package native-architecture. 532s Preparing to unpack .../03-native-architecture_0.2.6_all.deb ... 532s Unpacking native-architecture (0.2.6) ... 532s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 532s Preparing to unpack .../04-libgirepository-2.0-0_2.84.1-1_ppc64el.deb ... 532s Unpacking libgirepository-2.0-0:ppc64el (2.84.1-1) ... 532s Selecting previously unselected package girepository-tools:ppc64el. 532s Preparing to unpack .../05-girepository-tools_2.84.1-1_ppc64el.deb ... 532s Unpacking girepository-tools:ppc64el (2.84.1-1) ... 532s Selecting previously unselected package gnome-desktop-testing. 532s Preparing to unpack .../06-gnome-desktop-testing_2021.1-4_ppc64el.deb ... 532s Unpacking gnome-desktop-testing (2021.1-4) ... 532s Selecting previously unselected package libfontenc1:ppc64el. 532s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_ppc64el.deb ... 532s Unpacking libfontenc1:ppc64el (1:1.1.8-1build1) ... 532s Selecting previously unselected package libwayland-server0:ppc64el. 532s Preparing to unpack .../08-libwayland-server0_1.23.1-3_ppc64el.deb ... 532s Unpacking libwayland-server0:ppc64el (1.23.1-3) ... 532s Selecting previously unselected package libx11-xcb1:ppc64el. 532s Preparing to unpack .../09-libx11-xcb1_2%3a1.8.10-2_ppc64el.deb ... 532s Unpacking libx11-xcb1:ppc64el (2:1.8.10-2) ... 532s Selecting previously unselected package libxcb-dri3-0:ppc64el. 532s Preparing to unpack .../10-libxcb-dri3-0_1.17.0-2_ppc64el.deb ... 532s Unpacking libxcb-dri3-0:ppc64el (1.17.0-2) ... 532s Selecting previously unselected package libxcb-present0:ppc64el. 532s Preparing to unpack .../11-libxcb-present0_1.17.0-2_ppc64el.deb ... 532s Unpacking libxcb-present0:ppc64el (1.17.0-2) ... 532s Selecting previously unselected package libxcb-randr0:ppc64el. 532s Preparing to unpack .../12-libxcb-randr0_1.17.0-2_ppc64el.deb ... 532s Unpacking libxcb-randr0:ppc64el (1.17.0-2) ... 532s Selecting previously unselected package libxcb-sync1:ppc64el. 532s Preparing to unpack .../13-libxcb-sync1_1.17.0-2_ppc64el.deb ... 532s Unpacking libxcb-sync1:ppc64el (1.17.0-2) ... 532s Selecting previously unselected package libxcb-xfixes0:ppc64el. 532s Preparing to unpack .../14-libxcb-xfixes0_1.17.0-2_ppc64el.deb ... 532s Unpacking libxcb-xfixes0:ppc64el (1.17.0-2) ... 532s Selecting previously unselected package libxshmfence1:ppc64el. 532s Preparing to unpack .../15-libxshmfence1_1.3-1build5_ppc64el.deb ... 532s Unpacking libxshmfence1:ppc64el (1.3-1build5) ... 532s Selecting previously unselected package mesa-libgallium:ppc64el. 532s Preparing to unpack .../16-mesa-libgallium_25.0.3-1ubuntu2_ppc64el.deb ... 532s Unpacking mesa-libgallium:ppc64el (25.0.3-1ubuntu2) ... 532s Selecting previously unselected package libgbm1:ppc64el. 532s Preparing to unpack .../17-libgbm1_25.0.3-1ubuntu2_ppc64el.deb ... 532s Unpacking libgbm1:ppc64el (25.0.3-1ubuntu2) ... 532s Selecting previously unselected package libgio-2.0-dev-bin. 532s Preparing to unpack .../18-libgio-2.0-dev-bin_2.84.1-1_ppc64el.deb ... 532s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 532s Selecting previously unselected package libvulkan1:ppc64el. 532s Preparing to unpack .../19-libvulkan1_1.4.304.0-1_ppc64el.deb ... 532s Unpacking libvulkan1:ppc64el (1.4.304.0-1) ... 532s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 532s Preparing to unpack .../20-libgl1-mesa-dri_25.0.3-1ubuntu2_ppc64el.deb ... 532s Unpacking libgl1-mesa-dri:ppc64el (25.0.3-1ubuntu2) ... 532s Selecting previously unselected package libglib2.0-bin. 532s Preparing to unpack .../21-libglib2.0-bin_2.84.1-1_ppc64el.deb ... 532s Unpacking libglib2.0-bin (2.84.1-1) ... 532s Selecting previously unselected package libglib2.0-dev-bin. 532s Preparing to unpack .../22-libglib2.0-dev-bin_2.84.1-1_ppc64el.deb ... 532s Unpacking libglib2.0-dev-bin (2.84.1-1) ... 532s Selecting previously unselected package python3-dbusmock. 532s Preparing to unpack .../23-python3-dbusmock_0.34.3-1_all.deb ... 532s Unpacking python3-dbusmock (0.34.3-1) ... 532s Selecting previously unselected package tzdata-legacy. 532s Preparing to unpack .../24-tzdata-legacy_2025b-1ubuntu1.1_all.deb ... 532s Unpacking tzdata-legacy (2025b-1ubuntu1.1) ... 532s Selecting previously unselected package libglib2.0-tests. 532s Preparing to unpack .../25-libglib2.0-tests_2.84.1-1_ppc64el.deb ... 532s Unpacking libglib2.0-tests (2.84.1-1) ... 532s Selecting previously unselected package libxcb-glx0:ppc64el. 532s Preparing to unpack .../26-libxcb-glx0_1.17.0-2_ppc64el.deb ... 532s Unpacking libxcb-glx0:ppc64el (1.17.0-2) ... 532s Selecting previously unselected package libxcb-shm0:ppc64el. 532s Preparing to unpack .../27-libxcb-shm0_1.17.0-2_ppc64el.deb ... 532s Unpacking libxcb-shm0:ppc64el (1.17.0-2) ... 533s Selecting previously unselected package libxxf86vm1:ppc64el. 533s Preparing to unpack .../28-libxxf86vm1_1%3a1.1.4-1build4_ppc64el.deb ... 533s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 533s Selecting previously unselected package libglx-mesa0:ppc64el. 533s Preparing to unpack .../29-libglx-mesa0_25.0.3-1ubuntu2_ppc64el.deb ... 533s Unpacking libglx-mesa0:ppc64el (25.0.3-1ubuntu2) ... 533s Selecting previously unselected package x11-common. 533s Preparing to unpack .../30-x11-common_1%3a7.7+23ubuntu4_all.deb ... 533s Unpacking x11-common (1:7.7+23ubuntu4) ... 533s Selecting previously unselected package libice6:ppc64el. 533s Preparing to unpack .../31-libice6_2%3a1.1.1-1_ppc64el.deb ... 533s Unpacking libice6:ppc64el (2:1.1.1-1) ... 533s Selecting previously unselected package libpixman-1-0:ppc64el. 533s Preparing to unpack .../32-libpixman-1-0_0.44.0-3_ppc64el.deb ... 533s Unpacking libpixman-1-0:ppc64el (0.44.0-3) ... 533s Selecting previously unselected package libsm6:ppc64el. 533s Preparing to unpack .../33-libsm6_2%3a1.2.4-1_ppc64el.deb ... 533s Unpacking libsm6:ppc64el (2:1.2.4-1) ... 533s Selecting previously unselected package libunwind8:ppc64el. 533s Preparing to unpack .../34-libunwind8_1.6.2-3.1_ppc64el.deb ... 533s Unpacking libunwind8:ppc64el (1.6.2-3.1) ... 533s Selecting previously unselected package libxt6t64:ppc64el. 533s Preparing to unpack .../35-libxt6t64_1%3a1.2.1-1.2build1_ppc64el.deb ... 533s Unpacking libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 533s Selecting previously unselected package libxmu6:ppc64el. 533s Preparing to unpack .../36-libxmu6_2%3a1.1.3-3build2_ppc64el.deb ... 533s Unpacking libxmu6:ppc64el (2:1.1.3-3build2) ... 533s Selecting previously unselected package libxpm4:ppc64el. 533s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1build2_ppc64el.deb ... 533s Unpacking libxpm4:ppc64el (1:3.5.17-1build2) ... 533s Selecting previously unselected package libxaw7:ppc64el. 533s Preparing to unpack .../38-libxaw7_2%3a1.0.16-1_ppc64el.deb ... 533s Unpacking libxaw7:ppc64el (2:1.0.16-1) ... 533s Selecting previously unselected package libxfont2:ppc64el. 533s Preparing to unpack .../39-libxfont2_1%3a2.0.6-1build1_ppc64el.deb ... 533s Unpacking libxfont2:ppc64el (1:2.0.6-1build1) ... 533s Selecting previously unselected package libxkbfile1:ppc64el. 533s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build4_ppc64el.deb ... 533s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build4) ... 533s Selecting previously unselected package libxrender1:ppc64el. 533s Preparing to unpack .../41-libxrender1_1%3a0.9.10-1.1build1_ppc64el.deb ... 533s Unpacking libxrender1:ppc64el (1:0.9.10-1.1build1) ... 533s Selecting previously unselected package libxrandr2:ppc64el. 533s Preparing to unpack .../42-libxrandr2_2%3a1.5.4-1_ppc64el.deb ... 533s Unpacking libxrandr2:ppc64el (2:1.5.4-1) ... 533s Selecting previously unselected package x11-xkb-utils. 533s Preparing to unpack .../43-x11-xkb-utils_7.7+9_ppc64el.deb ... 533s Unpacking x11-xkb-utils (7.7+9) ... 533s Selecting previously unselected package xserver-common. 533s Preparing to unpack .../44-xserver-common_2%3a21.1.16-1ubuntu1_all.deb ... 533s Unpacking xserver-common (2:21.1.16-1ubuntu1) ... 533s Selecting previously unselected package libglvnd0:ppc64el. 533s Preparing to unpack .../45-libglvnd0_1.7.0-1build1_ppc64el.deb ... 533s Unpacking libglvnd0:ppc64el (1.7.0-1build1) ... 533s Selecting previously unselected package libglx0:ppc64el. 533s Preparing to unpack .../46-libglx0_1.7.0-1build1_ppc64el.deb ... 533s Unpacking libglx0:ppc64el (1.7.0-1build1) ... 533s Selecting previously unselected package libgl1:ppc64el. 533s Preparing to unpack .../47-libgl1_1.7.0-1build1_ppc64el.deb ... 533s Unpacking libgl1:ppc64el (1.7.0-1build1) ... 533s Selecting previously unselected package xvfb. 533s Preparing to unpack .../48-xvfb_2%3a21.1.16-1ubuntu1_ppc64el.deb ... 533s Unpacking xvfb (2:21.1.16-1ubuntu1) ... 533s Setting up gnome-desktop-testing (2021.1-4) ... 533s Setting up libxcb-dri3-0:ppc64el (1.17.0-2) ... 533s Setting up libpixman-1-0:ppc64el (0.44.0-3) ... 533s Setting up libwayland-server0:ppc64el (1.23.1-3) ... 533s Setting up libx11-xcb1:ppc64el (2:1.8.10-2) ... 533s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 533s Setting up native-architecture (0.2.6) ... 533s Setting up libxcb-xfixes0:ppc64el (1.17.0-2) ... 533s Setting up desktop-file-utils (0.28-1) ... 533s Setting up libxpm4:ppc64el (1:3.5.17-1build2) ... 533s Setting up libxrender1:ppc64el (1:0.9.10-1.1build1) ... 533s Setting up libgirepository-2.0-0:ppc64el (2.84.1-1) ... 533s Setting up libglvnd0:ppc64el (1.7.0-1build1) ... 533s Setting up libxcb-glx0:ppc64el (1.17.0-2) ... 533s Setting up x11-common (1:7.7+23ubuntu4) ... 534s Setting up libglib2.0-bin (2.84.1-1) ... 534s Setting up libxcb-shm0:ppc64el (1.17.0-2) ... 534s Setting up python3-dbusmock (0.34.3-1) ... 534s Setting up libunwind8:ppc64el (1.6.2-3.1) ... 534s Setting up tzdata-legacy (2025b-1ubuntu1.1) ... 534s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 534s Setting up libxcb-present0:ppc64el (1.17.0-2) ... 534s Setting up libfontenc1:ppc64el (1:1.1.8-1build1) ... 534s Setting up libxcb-sync1:ppc64el (1.17.0-2) ... 534s Setting up libxrandr2:ppc64el (2:1.5.4-1) ... 534s Setting up libvulkan1:ppc64el (1.4.304.0-1) ... 534s Setting up gir1.2-glib-2.0-dev:ppc64el (2.84.1-1) ... 534s Setting up libxshmfence1:ppc64el (1.3-1build5) ... 534s Setting up dbus-x11 (1.16.2-2ubuntu1) ... 534s Setting up libxcb-randr0:ppc64el (1.17.0-2) ... 534s Setting up libxkbfile1:ppc64el (1:1.1.0-1build4) ... 534s Setting up libxfont2:ppc64el (1:2.0.6-1build1) ... 534s Setting up libice6:ppc64el (2:1.1.1-1) ... 534s Setting up mesa-libgallium:ppc64el (25.0.3-1ubuntu2) ... 534s Setting up girepository-tools:ppc64el (2.84.1-1) ... 534s Setting up libgbm1:ppc64el (25.0.3-1ubuntu2) ... 534s Setting up libgl1-mesa-dri:ppc64el (25.0.3-1ubuntu2) ... 534s Setting up libsm6:ppc64el (2:1.2.4-1) ... 534s Setting up libglib2.0-dev-bin (2.84.1-1) ... 534s Setting up libglx-mesa0:ppc64el (25.0.3-1ubuntu2) ... 534s Setting up libglx0:ppc64el (1.7.0-1build1) ... 534s Setting up libgl1:ppc64el (1.7.0-1build1) ... 534s Setting up libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 534s Setting up libglib2.0-tests (2.84.1-1) ... 534s Setting up libxmu6:ppc64el (2:1.1.3-3build2) ... 534s Setting up libxaw7:ppc64el (2:1.0.16-1) ... 534s Setting up x11-xkb-utils (7.7+9) ... 534s Setting up xserver-common (2:21.1.16-1ubuntu1) ... 534s Setting up xvfb (2:21.1.16-1ubuntu1) ... 534s Processing triggers for man-db (2.13.0-1) ... 535s Processing triggers for libc-bin (2.41-6ubuntu1) ... 540s autopkgtest [20:23:21]: test installed-tests: [----------------------- 541s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),102(lxd) 541s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 541s group entry: ubuntu:x:1000: 541s Environment: 541s ADTTMP=/tmp/autopkgtest.HhQfZX/autopkgtest_tmp 541s ADT_ARTIFACTS=/tmp/autopkgtest.HhQfZX/installed-tests-artifacts 541s ADT_TEST_TRIGGERS=tzdata/2025b-1ubuntu1.1 541s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.HhQfZX/installed-tests-artifacts 541s AUTOPKGTEST_TESTBED_ARCH=ppc64el 541s AUTOPKGTEST_TEST_ARCH=ppc64el 541s AUTOPKGTEST_TMP=/tmp/autopkgtest.HhQfZX/autopkgtest_tmp 541s DEBIAN_FRONTEND=noninteractive 541s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 541s DEB_BUILD_OPTIONS=parallel=2 541s GIO_USE_VFS=local 541s GIO_USE_VOLUME_MONITOR=unix 541s HOME=/home/ubuntu 541s LANG=C.UTF-8 541s LOGNAME=ubuntu 541s MAIL=/var/mail/ubuntu 541s OLDPWD=/home/ubuntu 541s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 541s PWD=/tmp/autopkgtest.HhQfZX/build.7Ws/src 541s SHELL=/bin/bash 541s SHLVL=1 541s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.HhQfZX/wrapper.sh --artifacts=/tmp/autopkgtest.HhQfZX/installed-tests-artifacts --chdir=/tmp/autopkgtest.HhQfZX/build.7Ws/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.HhQfZX/installed-tests-stderr --stdout=/tmp/autopkgtest.HhQfZX/installed-tests-stdout --tmp=/tmp/autopkgtest.HhQfZX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=tzdata/2025b-1ubuntu1.1 --make-executable=/tmp/autopkgtest.HhQfZX/build.7Ws/src/debian/tests/installed-tests -- /tmp/autopkgtest.HhQfZX/build.7Ws/src/debian/tests/installed-tests 541s SUDO_GID=1000 541s SUDO_HOME=/home/ubuntu 541s SUDO_UID=1000 541s SUDO_USER=ubuntu 541s TERM=linux 541s USER=ubuntu 541s XDG_RUNTIME_DIR=/tmp/autopkgtest.HhQfZX/autopkgtest_tmp 541s http_proxy=http://squid.internal:3128/ 541s https_proxy=http://squid.internal:3128/ 541s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net 541s run-with-locales: de_DE=ISO-8859-1... 541s Character set: ISO-8859-1 541s Source file: de_DE 541s Output: /tmp/tmp.D4X7hFeOQ2/de_DE 541s run-with-locales: de_DE.utf8... 541s Character set: UTF-8 541s Source file: de_DE 541s Output: /tmp/tmp.D4X7hFeOQ2/de_DE.utf8 542s run-with-locales: de_DE@euro.utf8... 542s Character set: UTF-8 542s Source file: de_DE@euro 542s Output: /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8 544s run-with-locales: el_GR.utf8... 544s Character set: UTF-8 544s Source file: el_GR 544s Output: /tmp/tmp.D4X7hFeOQ2/el_GR.utf8 545s run-with-locales: en_GB=ISO-8859-1... 545s Character set: ISO-8859-1 545s Source file: en_GB 545s Output: /tmp/tmp.D4X7hFeOQ2/en_GB 546s run-with-locales: en_GB.utf8... 546s Character set: UTF-8 546s Source file: en_GB 546s Output: /tmp/tmp.D4X7hFeOQ2/en_GB.utf8 547s run-with-locales: en_US=ISO-8859-1... 547s Character set: ISO-8859-1 547s Source file: en_US 547s Output: /tmp/tmp.D4X7hFeOQ2/en_US 547s run-with-locales: en_US.utf8... 547s Character set: UTF-8 547s Source file: en_US 547s Output: /tmp/tmp.D4X7hFeOQ2/en_US.utf8 549s run-with-locales: es_ES.utf8... 549s Character set: UTF-8 549s Source file: es_ES 549s Output: /tmp/tmp.D4X7hFeOQ2/es_ES.utf8 550s run-with-locales: fa_IR=UTF-8... 550s Character set: UTF-8 550s Source file: fa_IR 550s Output: /tmp/tmp.D4X7hFeOQ2/fa_IR 551s run-with-locales: fa_IR.utf8... 551s Character set: UTF-8 551s Source file: fa_IR 551s Output: /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8 553s run-with-locales: fr_FR.utf8... 553s Character set: UTF-8 553s Source file: fr_FR 553s Output: /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8 554s run-with-locales: hr_HR.utf8... 554s Character set: UTF-8 554s Source file: hr_HR 554s Output: /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8 556s run-with-locales: ja_JP.utf8... 556s Character set: UTF-8 556s Source file: ja_JP 556s Output: /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8 556s run-with-locales: ja_JP.EUC-JP... 556s Character set: EUC-JP 556s Source file: ja_JP 556s Output: /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp 557s run-with-locales: lt_LT.utf8... 557s Character set: UTF-8 557s Source file: lt_LT 557s Output: /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8 558s run-with-locales: pl_PL=ISO-8859-2... 558s Character set: ISO-8859-2 558s Source file: pl_PL 558s Output: /tmp/tmp.D4X7hFeOQ2/pl_PL 559s run-with-locales: pl_PL.ISO-8859-2... 559s Character set: ISO-8859-2 559s Source file: pl_PL 559s Output: /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592 559s run-with-locales: pl_PL.utf8... 559s Character set: UTF-8 559s Source file: pl_PL 559s Output: /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8 560s run-with-locales: ru_RU=ISO-8859-5... 560s Character set: ISO-8859-5 560s Source file: ru_RU 560s Output: /tmp/tmp.D4X7hFeOQ2/ru_RU 561s run-with-locales: ru_RU.utf8... 561s Character set: UTF-8 561s Source file: ru_RU 561s Output: /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8 562s run-with-locales: sr_RS=UTF-8... 562s Character set: UTF-8 562s Source file: sr_RS 562s Output: /tmp/tmp.D4X7hFeOQ2/sr_RS 563s run-with-locales: sr_RS@latin=UTF-8... 563s Character set: UTF-8 563s Source file: sr_RS@latin 563s Output: /tmp/tmp.D4X7hFeOQ2/sr_RS@latin 565s run-with-locales: sv_SE=ISO-8859-1... 565s Character set: ISO-8859-1 565s Source file: sv_SE 565s Output: /tmp/tmp.D4X7hFeOQ2/sv_SE 565s run-with-locales: sv_SE.utf8... 565s Character set: UTF-8 565s Source file: sv_SE 565s Output: /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8 566s run-with-locales: tr_TR=ISO-8859-9... 566s Character set: ISO-8859-9 566s Source file: tr_TR 566s Output: /tmp/tmp.D4X7hFeOQ2/tr_TR 567s run-with-locales: tr_TR.utf8... 567s Character set: UTF-8 567s Source file: tr_TR 567s Output: /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8 568s run-with-locales: tt_RU=UTF-8... 568s Character set: UTF-8 568s Source file: tt_RU 568s Output: /tmp/tmp.D4X7hFeOQ2/tt_RU 570s run-with-locales: tt_RU.utf8... 570s Character set: UTF-8 570s Source file: tt_RU 570s Output: /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8 571s run-with-locales: tt_RU@iqtelif=UTF-8... 571s Character set: UTF-8 571s Source file: tt_RU@iqtelif 571s Output: /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif 572s /tmp/tmp.D4X7hFeOQ2 572s /tmp/tmp.D4X7hFeOQ2/sr_RS 572s /tmp/tmp.D4X7hFeOQ2/sr_RS/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/sr_RS/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/sr_RS/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/sr_RS/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/sr_RS/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/sr_RS/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/sr_RS/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/sr_RS/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/sr_RS/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/sr_RS/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/sr_RS/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/sr_RS/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/en_GB.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/fa_IR.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/tr_TR 572s /tmp/tmp.D4X7hFeOQ2/tr_TR/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/tr_TR/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/tr_TR/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/tr_TR/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/tr_TR/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/tr_TR/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/tr_TR/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/tr_TR/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/tr_TR/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/tr_TR/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/tr_TR/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/tr_TR/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/tt_RU.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.eucjp/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/sv_SE.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/hr_HR.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/en_GB 572s /tmp/tmp.D4X7hFeOQ2/en_GB/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/en_GB/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/en_GB/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/en_GB/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/en_GB/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/en_GB/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/en_GB/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/en_GB/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/en_GB/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/en_GB/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/en_GB/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/en_GB/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/tt_RU 572s /tmp/tmp.D4X7hFeOQ2/tt_RU/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/tt_RU/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/tt_RU/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/tt_RU/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/tt_RU/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/tt_RU/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/tt_RU/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/tt_RU/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/tt_RU/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/tt_RU/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/tt_RU/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/tt_RU/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/en_US 572s /tmp/tmp.D4X7hFeOQ2/en_US/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/en_US/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/en_US/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/en_US/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/en_US/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/en_US/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/en_US/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/en_US/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/en_US/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/en_US/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/en_US/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/en_US/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/en_US/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/el_GR.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/ru_RU.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/sv_SE 572s /tmp/tmp.D4X7hFeOQ2/sv_SE/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/sv_SE/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/sv_SE/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/sv_SE/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/sv_SE/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/sv_SE/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/sv_SE/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/sv_SE/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/sv_SE/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/sv_SE/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/sv_SE/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/sv_SE/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/en_US.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/sr_RS@latin/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/tr_TR.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/pl_PL 572s /tmp/tmp.D4X7hFeOQ2/pl_PL/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/pl_PL/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/pl_PL/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/pl_PL/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/pl_PL/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/pl_PL/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/pl_PL/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/pl_PL/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/pl_PL/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/pl_PL/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/pl_PL/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/pl_PL/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/tt_RU@iqtelif/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/fr_FR.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/fa_IR 572s /tmp/tmp.D4X7hFeOQ2/fa_IR/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/fa_IR/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/fa_IR/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/fa_IR/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/fa_IR/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/fa_IR/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/fa_IR/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/fa_IR/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/fa_IR/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/fa_IR/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/fa_IR/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/fa_IR/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/ja_JP.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/de_DE 572s /tmp/tmp.D4X7hFeOQ2/de_DE/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/de_DE/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/de_DE/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/de_DE/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/de_DE/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/de_DE/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/de_DE/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/de_DE/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/de_DE/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/de_DE/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/de_DE/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/de_DE/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/de_DE.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/de_DE@euro.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/es_ES.utf8/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/pl_PL.iso88592/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/ru_RU 572s /tmp/tmp.D4X7hFeOQ2/ru_RU/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/ru_RU/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/ru_RU/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/ru_RU/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/ru_RU/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/ru_RU/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/ru_RU/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/ru_RU/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/ru_RU/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/ru_RU/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/ru_RU/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/ru_RU/LC_CTYPE 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8/LC_PAPER 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8/LC_COLLATE 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8/LC_MEASUREMENT 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8/LC_NAME 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8/LC_TELEPHONE 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8/LC_MONETARY 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8/LC_NUMERIC 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8/LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8/LC_ADDRESS 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8/LC_IDENTIFICATION 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8/LC_TIME 572s /tmp/tmp.D4X7hFeOQ2/lt_LT.utf8/LC_CTYPE 572s TAP version 14 572s # random seed: R02Sc8b54c6a7786f33c4337a9c42524b6d0 572s 1..1 572s # Start of assert tests 572s ok 1 /assert/finalize_object 572s # Start of finalize_object tests 572s # Start of subprocess tests 572s # End of subprocess tests 572s # End of finalize_object tests 572s # End of assert tests 572s TAP version 14 572s # random seed: R02S96493790a1b4db8f57a3e29d8499a429 572s 1..2 572s # Start of gtask tests 572s # 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. 572s ok 1 /gtask/name 572s # Start of name tests 572s # 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. 572s ok 2 /gtask/name/macro-wrapper 572s # End of name tests 572s # End of gtask tests 572s TAP version 14 572s # random seed: R02Sccef5020d531b6141b850a6fe36e31b8 572s 1..29 572s # Start of thread tests 572s ok 1 /thread/rec-mutex1 572s ok 2 /thread/rec-mutex2 572s ok 3 /thread/rec-mutex3 572s 1..323 572s # Running test: glib/testing.test 572s ok - glib/testing.test 572s # Running test: glib/cxx-20.test 572s ok - glib/cxx-20.test 572s # Running test: glib/rec-mutex.test 572s ok 4 /thread/rec-mutex4 572s # Start of rec-mutex tests 572s # Start of perf tests 572s # Start of uncontended tests 572s # max perf: 0.500000 mips 572s ok 5 /thread/rec-mutex/perf/uncontended/depth1 572s # max perf: inf mips 572s ok 6 /thread/rec-mutex/perf/uncontended/depth2 572s # max perf: inf mips 572s ok 7 /thread/rec-mutex/perf/uncontended/depth3 572s # max perf: 1.000000 mips 572s ok 8 /thread/rec-mutex/perf/uncontended/depth4 572s # max perf: 1.000000 mips 572s ok 9 /thread/rec-mutex/perf/uncontended/depth5 572s # End of uncontended tests 572s # Start of contended1 tests 572s # max perf: inf mips 572s ok 10 /thread/rec-mutex/perf/contended1/depth1 572s # max perf: inf mips 572s ok 11 /thread/rec-mutex/perf/contended1/depth2 572s # max perf: 2.000000 mips 572s ok 12 /thread/rec-mutex/perf/contended1/depth3 572s # max perf: 2.000000 mips 572s ok 13 /thread/rec-mutex/perf/contended1/depth4 572s # max perf: 2.000000 mips 572s ok 14 /thread/rec-mutex/perf/contended1/depth5 572s # End of contended1 tests 572s # Start of contended2 tests 572s # max perf: 3.000000 mips 572s ok 15 /thread/rec-mutex/perf/contended2/depth1 572s # max perf: 1.500000 mips 572s ok 16 /thread/rec-mutex/perf/contended2/depth2 572s # max perf: 1.500000 mips 572s ok 17 /thread/rec-mutex/perf/contended2/depth3 572s # max perf: 3.000000 mips 572s ok 18 /thread/rec-mutex/perf/contended2/depth4 572s # max perf: 1.500000 mips 572s ok 19 /thread/rec-mutex/perf/contended2/depth5 572s # End of contended2 tests 572s # Start of contended3 tests 572s # max perf: 4.000000 mips 572s ok 20 /thread/rec-mutex/perf/contended3/depth1 572s # max perf: 1.333333 mips 572s ok 21 /thread/rec-mutex/perf/contended3/depth2 572s # max perf: 0.800000 mips 572s ok 22 /thread/rec-mutex/perf/contended3/depth3 572s # max perf: 0.800000 mips 572s ok 23 /thread/rec-mutex/perf/contended3/depth4 572s # max perf: 0.800000 mips 572s ok 24 /thread/rec-mutex/perf/contended3/depth5 572s # End of contended3 tests 572s # Start of contended4 tests 572s # max perf: 5.000000 mips 572s ok 25 /thread/rec-mutex/perf/contended4/depth1 572s # max perf: 1.250000 mips 572s ok 26 /thread/rec-mutex/perf/contended4/depth2 572s # max perf: 1.000000 mips 572s ok 27 /thread/rec-mutex/perf/contended4/depth3 572s # max perf: 0.833333 mips 572s ok 28 /thread/rec-mutex/perf/contended4/depth4 572s # max perf: 0.714286 mips 572s ok 29 /thread/rec-mutex/perf/contended4/depth5 572s # End of contended4 tests 572s # End of perf tests 572s # End of rec-mutex tests 572s # End of thread tests 572s TAP version 14 572s # random seed: R02S1e5007a7637b8972927637812ba5ccf5 572s 1..1 572s # Start of power-profile-monitor tests 572s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 572s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 572s ok 1 /power-profile-monitor/default 572s # End of power-profile-monitor tests 572s TAP version 14 572s # random seed: R02S65618cdb86ab295eeab340b5fa1de63d 572s 1..15 572s # Start of gmenu tests 572s ok - glib/rec-mutex.test 572s # Running test: glib/power-profile-monitor.test 572s ok - glib/power-profile-monitor.test 572s # Running test: glib/gmenumodel.test 574s ok 1 /gmenu/equality 574s # slow test /gmenu/equality executed in 1.72 secs 576s ok 2 /gmenu/random 576s # slow test /gmenu/random executed in 2.05 secs 576s ok 3 /gmenu/attributes 576s ok 4 /gmenu/links 576s ok 5 /gmenu/mutable 576s ok 6 /gmenu/convenience 576s ok 7 /gmenu/menuitem 576s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 576s ok 8 /gmenu/input-validation 576s # Start of dbus tests 577s ok 9 /gmenu/dbus/roundtrip 577s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 578s ok 10 /gmenu/dbus/subscriptions 578s # Executing: glib/gmenumodel.test 579s ok 11 /gmenu/dbus/threaded 579s # slow test /gmenu/dbus/threaded executed in 1.43 secs 579s # Start of peer tests 580s ok 12 /gmenu/dbus/peer/roundtrip 580s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 580s ok 13 /gmenu/dbus/peer/subscriptions 580s # End of peer tests 580s # Start of export tests 580s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 580s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 580s ok 14 /gmenu/dbus/export/error-handling 580s # End of export tests 580s # End of dbus tests 580s # Start of attributes tests 580s ok 15 /gmenu/attributes/iterate 580s # End of attributes tests 580s # End of gmenu tests 580s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 580s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 580s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 580s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 580s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 580s TAP version 14 580s # random seed: R02S2203594ef142a78847f5c1c586fa3834 580s 1..3 580s # Start of unicode tests 580s # Processing Part0 # Specific cases 580s # Processing Part1 # Character by character test 580s ok - glib/gmenumodel.test 580s # Running test: glib/unicode-normalize.test 581s # Processing Part2 # Canonical Order Test 581s # Processing Part3 # PRI #29 Test 581s # Processing Part4 # Canonical closures (excluding Hangul) 581s # Processing Part5 # Chained primary composites 581s ok 1 /unicode/normalize 581s # Invalid UTF-8 vector 0 581s # Invalid UTF-8 vector 1 581s # Invalid UTF-8 vector 2 581s # Invalid UTF-8 vector 3 581s # Invalid UTF-8 vector 4 581s # Invalid UTF-8 vector 5 581s # Invalid UTF-8 vector 6 581s # Invalid UTF-8 vector 7 581s # Invalid UTF-8 vector 8 581s # Invalid UTF-8 vector 9 581s # Invalid UTF-8 vector 10 581s # Invalid UTF-8 vector 11 581s # Invalid UTF-8 vector 12 581s ok 2 /unicode/normalize-invalid 581s # Start of normalize tests 581s ok 3 /unicode/normalize/bad-length 581s # End of normalize tests 581s # End of unicode tests 581s TAP version 14 581s # random seed: R02S1a086b0b31144f225bdc9d60b1db335d 581s 1..2 581s # Start of gdbus tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_MEL652/gdbus/close-pending/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_MEL652/gdbus/close-pending/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_MEL652/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_MEL652/gdbus/close-pending/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_MEL652/gdbus/close-pending/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_MEL652/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_MEL652/gdbus/close-pending/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_MEL652/gdbus/close-pending/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_MEL652/gdbus/close-pending/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_MEL652/gdbus/close-pending/.dirs/runtime 581s ok - glib/unicode-normalize.test 581s # Running test: glib/gdbus-close-pending.test 581s ok 1 /gdbus/close-pending 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_MEL652/gdbus/unref-pending/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_MEL652/gdbus/unref-pending/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_MEL652/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_MEL652/gdbus/unref-pending/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_MEL652/gdbus/unref-pending/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_MEL652/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_MEL652/gdbus/unref-pending/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_MEL652/gdbus/unref-pending/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_MEL652/gdbus/unref-pending/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_MEL652/gdbus/unref-pending/.dirs/runtime 581s ok 2 /gdbus/unref-pending 581s # End of gdbus tests 581s ok - glib/gdbus-close-pending.test 581s # Running test: glib/signals.test 581s TAP version 14 581s # random seed: R02Sc2e63332ad6fc99526d32cce239444ed 581s 1..31 581s # Start of gobject tests 581s # Start of signals tests 581s ok 1 /gobject/signals/all-types 581s ok 2 /gobject/signals/variant 581s ok - glib/signals.test 581s # Running test: glib/markup-subparser.test 581s ok 3 /gobject/signals/destroy-target-object 581s ok 4 /gobject/signals/generic-marshaller-1 581s ok 5 /gobject/signals/generic-marshaller-2 581s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 581s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 581s ok 8 /gobject/signals/generic-marshaller-int-return 581s ok 9 /gobject/signals/generic-marshaller-uint-return 581s ok 10 /gobject/signals/generic-marshaller-interface-return 581s ok 11 /gobject/signals/custom-marshaller 581s ok 12 /gobject/signals/connect 581s ok 13 /gobject/signals/emission-hook 581s ok 14 /gobject/signals/emitv 581s ok 15 /gobject/signals/accumulator 581s # Signal: accumulator-class-first 581s # Signal: accumulator-class-last 581s # Signal: accumulator-class-cleanup 581s # Signal: accumulator-class-first-last 581s # Signal: accumulator-class-first-last-cleanup 581s # Signal: accumulator-class-last-cleanup 581s ok 16 /gobject/signals/accumulator-class 581s ok 17 /gobject/signals/introspection 581s ok 18 /gobject/signals/block-handler 581s ok 19 /gobject/signals/stop-emission 581s ok 20 /gobject/signals/invocation-hint 581s ok 21 /gobject/signals/test-disconnection-wrong-object 581s ok 22 /gobject/signals/clear-signal-handler 581s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 581s ok 23 /gobject/signals/lookup 581s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 581s ok 24 /gobject/signals/parse-name 581s ok 25 /gobject/signals/is-valid-name 581s ok 26 /gobject/signals/weak-ref-disconnect 581s # Start of lookup tests 581s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 581s ok 27 /gobject/signals/lookup/invalid 581s # End of lookup tests 581s # Start of parse-name tests 581s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 581s # Parser input: 581s # Parser input: 7zip 581s # Parser input: invalid:signal 581s # Parser input: simple-detailed:: 581s # Parser input: simple-detailed: 581s # Parser input: : 581s # Parser input: :: 581s # Parser input: :valid-detail 581s # Parser input: ::valid-detail 581s ok 28 /gobject/signals/parse-name/invalid 581s # End of parse-name tests 581s # Start of invalid-name tests 581s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 581s ok 29 /gobject/signals/invalid-name/colon 581s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 581s ok 30 /gobject/signals/invalid-name/first-char 581s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 581s ok 31 /gobject/signals/invalid-name/empty 581s # End of invalid-name tests 581s # End of signals tests 581s # End of gobject tests 581s TAP version 14 581s # random seed: R02Sa57481f3eb74e69d50e9162865d06050 581s 1..14 581s # Start of glib tests 581s # Start of markup tests 581s # Start of subparser tests 581s # Start of success tests 581s ok 1 /glib/markup/subparser/success/0 581s ok 2 /glib/markup/subparser/success/1 581s ok 3 /glib/markup/subparser/success/2 581s ok 4 /glib/markup/subparser/success/3 581s ok 5 /glib/markup/subparser/success/4 581s ok 6 /glib/markup/subparser/success/5 581s ok 7 /glib/markup/subparser/success/6 581s # End of success tests 581s # Start of failure tests 581s ok 8 /glib/markup/subparser/failure/0 581s ok 9 /glib/markup/subparser/failure/1 581s ok 10 /glib/markup/subparser/failure/2 581s ok 11 /glib/markup/subparser/failure/3 581s ok 12 /glib/markup/subparser/failure/4 581s ok 13 /glib/markup/subparser/failure/5 581s ok 14 /glib/markup/subparser/failure/6 581s # End of failure tests 581s # End of subparser tests 581s # End of markup tests 581s # End of glib tests 581s ok - glib/markup-subparser.test 581s # Running test: glib/utf8-validate.test 581s TAP version 14 581s # random seed: R02Sf6d98f68f056bc8cdc0e027aad8ab633 581s 1..238 581s # Start of utf8 tests 581s # Vector 0 581s # Vector 1 581s # Vector 2 581s # Vector 3 581s # Vector 4 581s # Vector 5 581s # Vector 6 581s # Vector 7 581s # Vector 8 581s # Vector 9 581s # Vector 10 581s # Vector 11 581s # Vector 12 581s # Vector 13 581s # Vector 14 581s # Vector 15 581s # Vector 16 581s # Vector 17 581s # Vector 18 581s # Vector 19 581s # Vector 20 581s # Vector 21 581s # Vector 22 581s # Vector 23 581s # Vector 24 581s # Vector 25 581s # Vector 26 581s # Vector 27 581s ok 1 /utf8/get-char-validated 581s # Start of validate tests 581s ok 2 /utf8/validate/0 581s ok 3 /utf8/validate/1 581s ok 4 /utf8/validate/2 581s ok 5 /utf8/validate/3 581s ok 6 /utf8/validate/4 581s ok 7 /utf8/validate/5 581s ok 8 /utf8/validate/6 581s ok 9 /utf8/validate/7 581s ok 10 /utf8/validate/8 581s ok 11 /utf8/validate/9 581s ok 12 /utf8/validate/10 581s ok 13 /utf8/validate/11 581s ok 14 /utf8/validate/12 581s ok 15 /utf8/validate/13 581s ok 16 /utf8/validate/14 581s ok 17 /utf8/validate/15 581s ok 18 /utf8/validate/16 581s ok 19 /utf8/validate/17 581s ok 20 /utf8/validate/18 581s ok 21 /utf8/validate/19 581s ok 22 /utf8/validate/20 581s ok 23 /utf8/validate/21 581s ok 24 /utf8/validate/22 581s ok 25 /utf8/validate/23 581s ok 26 /utf8/validate/24 581s ok 27 /utf8/validate/25 581s ok 28 /utf8/validate/26 581s ok 29 /utf8/validate/27 581s ok 30 /utf8/validate/28 581s ok 31 /utf8/validate/29 581s ok 32 /utf8/validate/30 581s ok 33 /utf8/validate/31 581s ok 34 /utf8/validate/32 581s ok 35 /utf8/validate/33 581s ok 36 /utf8/validate/34 581s ok 37 /utf8/validate/35 581s ok 38 /utf8/validate/36 581s ok 39 /utf8/validate/37 581s ok 40 /utf8/validate/38 581s ok 41 /utf8/validate/39 581s ok 42 /utf8/validate/40 581s ok 43 /utf8/validate/41 581s ok 44 /utf8/validate/42 581s ok 45 /utf8/validate/43 581s ok 46 /utf8/validate/44 581s ok 47 /utf8/validate/45 581s ok 48 /utf8/validate/46 581s ok 49 /utf8/validate/47 581s ok 50 /utf8/validate/48 581s ok 51 /utf8/validate/49 581s ok 52 /utf8/validate/50 581s ok 53 /utf8/validate/51 581s ok 54 /utf8/validate/52 581s ok 55 /utf8/validate/53 581s ok 56 /utf8/validate/54 581s ok 57 /utf8/validate/55 581s ok 58 /utf8/validate/56 581s ok 59 /utf8/validate/57 581s ok 60 /utf8/validate/58 581s ok 61 /utf8/validate/59 581s ok 62 /utf8/validate/60 581s ok 63 /utf8/validate/61 581s ok 64 /utf8/validate/62 581s ok 65 /utf8/validate/63 581s ok 66 /utf8/validate/64 581s ok 67 /utf8/validate/65 581s ok 68 /utf8/validate/66 581s ok - glib/utf8-validate.test 581s # Running test: glib/sandbox.test 581s ok 69 /utf8/validate/67 581s ok 70 /utf8/validate/68 581s ok 71 /utf8/validate/69 581s ok 72 /utf8/validate/70 581s ok 73 /utf8/validate/71 581s ok 74 /utf8/validate/72 581s ok 75 /utf8/validate/73 581s ok 76 /utf8/validate/74 581s ok 77 /utf8/validate/75 581s ok 78 /utf8/validate/76 581s ok 79 /utf8/validate/77 581s ok 80 /utf8/validate/78 581s ok 81 /utf8/validate/79 581s ok 82 /utf8/validate/80 581s ok 83 /utf8/validate/81 581s ok 84 /utf8/validate/82 581s ok 85 /utf8/validate/83 581s ok 86 /utf8/validate/84 581s ok 87 /utf8/validate/85 581s ok 88 /utf8/validate/86 581s ok 89 /utf8/validate/87 581s ok 90 /utf8/validate/88 581s ok 91 /utf8/validate/89 581s ok 92 /utf8/validate/90 581s ok 93 /utf8/validate/91 581s ok 94 /utf8/validate/92 581s ok 95 /utf8/validate/93 581s ok 96 /utf8/validate/94 581s ok 97 /utf8/validate/95 581s ok 98 /utf8/validate/96 581s ok 99 /utf8/validate/97 581s ok 100 /utf8/validate/98 581s ok 101 /utf8/validate/99 581s ok 102 /utf8/validate/100 581s ok 103 /utf8/validate/101 581s ok 104 /utf8/validate/102 581s ok 105 /utf8/validate/103 581s ok 106 /utf8/validate/104 581s ok 107 /utf8/validate/105 581s ok 108 /utf8/validate/106 581s ok 109 /utf8/validate/107 581s ok 110 /utf8/validate/108 581s ok 111 /utf8/validate/109 581s ok 112 /utf8/validate/110 581s ok 113 /utf8/validate/111 581s ok 114 /utf8/validate/112 581s ok 115 /utf8/validate/113 581s ok 116 /utf8/validate/114 581s ok 117 /utf8/validate/115 581s ok 118 /utf8/validate/116 581s ok 119 /utf8/validate/117 581s ok 120 /utf8/validate/118 581s ok 121 /utf8/validate/119 581s ok 122 /utf8/validate/120 581s ok 123 /utf8/validate/121 581s ok 124 /utf8/validate/122 581s ok 125 /utf8/validate/123 581s ok 126 /utf8/validate/124 581s ok 127 /utf8/validate/125 581s ok 128 /utf8/validate/126 581s ok 129 /utf8/validate/127 581s ok 130 /utf8/validate/128 581s ok 131 /utf8/validate/129 581s ok 132 /utf8/validate/130 581s ok 133 /utf8/validate/131 581s ok 134 /utf8/validate/132 581s ok 135 /utf8/validate/133 581s ok 136 /utf8/validate/134 581s ok 137 /utf8/validate/135 581s ok 138 /utf8/validate/136 581s ok 139 /utf8/validate/137 581s ok 140 /utf8/validate/138 581s ok 141 /utf8/validate/139 581s ok 142 /utf8/validate/140 581s ok 143 /utf8/validate/141 581s ok 144 /utf8/validate/142 581s ok 145 /utf8/validate/143 581s ok 146 /utf8/validate/144 581s ok 147 /utf8/validate/145 581s ok 148 /utf8/validate/146 581s ok 149 /utf8/validate/147 581s ok 150 /utf8/validate/148 581s ok 151 /utf8/validate/149 581s ok 152 /utf8/validate/150 581s ok 153 /utf8/validate/151 581s ok 154 /utf8/validate/152 581s ok 155 /utf8/validate/153 581s ok 156 /utf8/validate/154 581s ok 157 /utf8/validate/155 581s ok 158 /utf8/validate/156 581s ok 159 /utf8/validate/157 581s ok 160 /utf8/validate/158 581s ok 161 /utf8/validate/159 581s ok 162 /utf8/validate/160 581s ok 163 /utf8/validate/161 581s ok 164 /utf8/validate/162 581s ok 165 /utf8/validate/163 581s ok 166 /utf8/validate/164 581s ok 167 /utf8/validate/165 581s ok 168 /utf8/validate/166 581s ok 169 /utf8/validate/167 581s ok 170 /utf8/validate/168 581s ok 171 /utf8/validate/169 581s ok 172 /utf8/validate/170 581s ok 173 /utf8/validate/171 581s ok 174 /utf8/validate/172 581s ok 175 /utf8/validate/173 581s ok 176 /utf8/validate/174 581s ok 177 /utf8/validate/175 581s ok 178 /utf8/validate/176 581s ok 179 /utf8/validate/177 581s ok 180 /utf8/validate/178 581s ok 181 /utf8/validate/179 581s ok 182 /utf8/validate/180 581s ok 183 /utf8/validate/181 581s ok 184 /utf8/validate/182 581s ok 185 /utf8/validate/183 581s ok 186 /utf8/validate/184 581s ok 187 /utf8/validate/185 581s ok 188 /utf8/validate/186 581s ok 189 /utf8/validate/187 581s ok 190 /utf8/validate/188 581s ok 191 /utf8/validate/189 581s ok 192 /utf8/validate/190 581s ok 193 /utf8/validate/191 581s ok 194 /utf8/validate/192 581s ok 195 /utf8/validate/193 581s ok 196 /utf8/validate/194 581s ok 197 /utf8/validate/195 581s ok 198 /utf8/validate/196 581s ok 199 /utf8/validate/197 581s ok 200 /utf8/validate/198 581s ok 201 /utf8/validate/199 581s ok 202 /utf8/validate/200 581s ok 203 /utf8/validate/201 581s ok 204 /utf8/validate/202 581s ok 205 /utf8/validate/203 581s ok 206 /utf8/validate/204 581s ok 207 /utf8/validate/205 581s ok 208 /utf8/validate/206 581s ok 209 /utf8/validate/207 581s ok 210 /utf8/validate/208 581s ok 211 /utf8/validate/209 581s ok 212 /utf8/validate/210 581s ok 213 /utf8/validate/211 581s ok 214 /utf8/validate/212 581s ok 215 /utf8/validate/213 581s ok 216 /utf8/validate/214 581s ok 217 /utf8/validate/215 581s ok 218 /utf8/validate/216 581s ok 219 /utf8/validate/217 581s ok 220 /utf8/validate/218 581s ok 221 /utf8/validate/219 581s ok 222 /utf8/validate/220 581s ok 223 /utf8/validate/221 581s ok 224 /utf8/validate/222 581s ok 225 /utf8/validate/223 581s ok 226 /utf8/validate/224 581s ok 227 /utf8/validate/225 581s ok 228 /utf8/validate/226 581s ok 229 /utf8/validate/227 581s ok 230 /utf8/validate/228 581s ok 231 /utf8/validate/229 581s ok 232 /utf8/validate/230 581s ok 233 /utf8/validate/231 581s ok 234 /utf8/validate/232 581s ok 235 /utf8/validate/233 581s ok 236 /utf8/validate/234 581s ok 237 /utf8/validate/235 581s ok 238 /utf8/validate/236 581s # End of validate tests 581s # End of utf8 tests 581s ok - glib/sandbox.test 581s # Running test: glib/gdbus-message.test 581s ok - glib/gdbus-message.test 581s # Running test: glib/strvbuilder.test 581s ok - glib/strvbuilder.test 581s # Running test: glib/portal-support-snap-classic.test 581s ok - glib/portal-support-snap-classic.test 581s # Running test: glib/volumemonitor.test 581s ok - glib/volumemonitor.test 581s # Running test: glib/reference.test 581s TAP version 14 581s # random seed: R02Sb5e8bc71ddac07100729b46960dadb9d 581s 1..4 581s # Start of sandbox tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_5FNS52/sandbox/none/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_5FNS52/sandbox/none/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_5FNS52/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_5FNS52/sandbox/none/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_5FNS52/sandbox/none/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_5FNS52/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_5FNS52/sandbox/none/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_5FNS52/sandbox/none/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_5FNS52/sandbox/none/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_5FNS52/sandbox/none/.dirs/runtime 581s ok 1 /sandbox/none 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_5FNS52/sandbox/snap/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_5FNS52/sandbox/snap/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_5FNS52/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_5FNS52/sandbox/snap/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_5FNS52/sandbox/snap/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_5FNS52/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_5FNS52/sandbox/snap/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_5FNS52/sandbox/snap/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_5FNS52/sandbox/snap/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_5FNS52/sandbox/snap/.dirs/runtime 581s # Created snap.yaml in /tmp/test_sandbox_5FNS52/snap/current/meta/snap.yaml 581s ok 2 /sandbox/snap 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_5FNS52/sandbox/classic-snap/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_5FNS52/sandbox/classic-snap/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_5FNS52/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_5FNS52/sandbox/classic-snap/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_5FNS52/sandbox/classic-snap/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_5FNS52/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_5FNS52/sandbox/classic-snap/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_5FNS52/sandbox/classic-snap/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_5FNS52/sandbox/classic-snap/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_5FNS52/sandbox/classic-snap/.dirs/runtime 581s # Created snap.yaml in /tmp/test_sandbox_5FNS52/snap/current/meta/snap.yaml 581s ok 3 /sandbox/classic-snap 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_5FNS52/sandbox/flatpak/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_5FNS52/sandbox/flatpak/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_5FNS52/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_5FNS52/sandbox/flatpak/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_5FNS52/sandbox/flatpak/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_5FNS52/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_5FNS52/sandbox/flatpak/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_5FNS52/sandbox/flatpak/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_5FNS52/sandbox/flatpak/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_5FNS52/sandbox/flatpak/.dirs/runtime 581s # Creating .flatpak-info in /tmp/test_sandbox_5FNS52/sandbox/flatpak/.dirs/runtime/.flatpak-info 581s ok 4 /sandbox/flatpak 581s # End of sandbox tests 581s TAP version 14 581s # random seed: R02S279a92a5a5203ee0dd78c14ddb748020 581s 1..3 581s # Start of gdbus tests 581s # Start of message tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/lock/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/lock/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_HOEZ52/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_HOEZ52/gdbus/message/lock/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/lock/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_HOEZ52/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_HOEZ52/gdbus/message/lock/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/lock/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/lock/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_HOEZ52/gdbus/message/lock/.dirs/runtime 581s ok 1 /gdbus/message/lock 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/copy/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/copy/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_HOEZ52/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_HOEZ52/gdbus/message/copy/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/copy/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_HOEZ52/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_HOEZ52/gdbus/message/copy/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/copy/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/copy/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_HOEZ52/gdbus/message/copy/.dirs/runtime 581s ok 2 /gdbus/message/copy 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/bytes-needed/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/bytes-needed/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_HOEZ52/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_HOEZ52/gdbus/message/bytes-needed/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/bytes-needed/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_HOEZ52/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_HOEZ52/gdbus/message/bytes-needed/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/bytes-needed/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_HOEZ52/gdbus/message/bytes-needed/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_HOEZ52/gdbus/message/bytes-needed/.dirs/runtime 581s # Vector: 0 581s # Vector: 1 581s # Vector: 2 581s # Vector: 3 581s # Vector: 4 581s # Vector: 5 581s ok 3 /gdbus/message/bytes-needed 581s # End of message tests 581s # End of gdbus tests 581s TAP version 14 581s # random seed: R02S85fbbc197b6d09285e78ac559200073f 581s 1..7 581s # Start of strvbuilder tests 581s ok 1 /strvbuilder/empty 581s ok 2 /strvbuilder/add 581s ok 3 /strvbuilder/addv 581s ok 4 /strvbuilder/add_many 581s ok 5 /strvbuilder/take 581s ok 6 /strvbuilder/ref 581s ok 7 /strvbuilder/unref_to_strv 581s # End of strvbuilder tests 581s TAP version 14 581s # random seed: R02S931cd514722b54f7230d3f0c9bb30ca3 581s 1..3 581s # Start of portal-support tests 581s # Start of snap-classic tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/no-snapctl/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/no-snapctl/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/no-snapctl/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/no-snapctl/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/no-snapctl/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/no-snapctl/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/no-snapctl/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/no-snapctl/.dirs/runtime 581s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/no-snapctl: No such file or directory 581s ok 1 /portal-support/snap-classic/no-snapctl 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/none/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/none/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/none/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/none/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/none/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/none/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/none/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/none/.dirs/runtime 581s # Created snap.yaml in /tmp/test_portal-support-snap-classic_690Y52/meta/snap.yaml 581s # Created snapctl in /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/none/.dirs/runtime/snapctl 581s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/none: No such file or directory 581s ok 2 /portal-support/snap-classic/none 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/all/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/all/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/all/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/all/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/all/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/all/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/all/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/all/.dirs/runtime 581s # Created snap.yaml in /tmp/test_portal-support-snap-classic_690Y52/meta/snap.yaml 581s # Created snapctl in /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/all/.dirs/runtime/snapctl 581s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_690Y52/portal-support/snap-classic/all: No such file or directory 581s ok 3 /portal-support/snap-classic/all 581s # End of snap-classic tests 581s # End of portal-support tests 581s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_690Y52: No such file or directory 581s TAP version 14 581s # random seed: R02Sf3f8ff91e6f8e7205b1e355aa78a8254 581s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 581s 1..3 581s # Start of volumemonitor tests 581s ok 1 /volumemonitor/connected_drives 581s ok 2 /volumemonitor/volumes 581s ok 3 /volumemonitor/mounts 581s # End of volumemonitor tests 581s TAP version 14 581s # random seed: R02Sd154bd6f80dd2b60a0cb0576734aab37 581s 1..29 581s # Start of type tests 581s ok 1 /type/fundamentals 581s ok 2 /type/qdata 581s ok 3 /type/query 581s ok 4 /type/class-private 581s # End of type tests 581s ok - glib/reference.test 581s # Running test: glib/gdbus-error.test 581s ok - glib/gdbus-error.test 581s # Running test: glib/gdbus-bz627724.test 581s # Start of object tests 581s ok 5 /object/clear 581s ok 6 /object/clear-function 581s ok 7 /object/set 581s ok 8 /object/set-function 581s ok 9 /object/value 581s ok 10 /object/initially-unowned 581s ok 11 /object/weak-pointer 581s ok 12 /object/weak-ref 581s ok 13 /object/toggle-ref 581s ok 14 /object/qdata 581s ok 15 /object/qdata2 581s # Start of set tests 581s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 581s ok 16 /object/set/derived-type 581s # End of set tests 581s # Start of weak-pointer tests 581s ok 17 /object/weak-pointer/clear 581s ok 18 /object/weak-pointer/clear-function 581s ok 19 /object/weak-pointer/set 581s ok 20 /object/weak-pointer/set-function 581s # End of weak-pointer tests 581s # Start of weak-ref tests 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 581s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 581s ok 21 /object/weak-ref/on-dispose 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 581s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 581s ok 22 /object/weak-ref/on-run-dispose 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 581s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 581s ok 23 /object/weak-ref/on-toggle-notify 581s ok 24 /object/weak-ref/in-toggle-notify 581s ok 25 /object/weak-ref/many 581s # Start of concurrent tests 581s ok 26 /object/weak-ref/concurrent/0 581s ok 27 /object/weak-ref/concurrent/1 581s # End of concurrent tests 581s # End of weak-ref tests 581s # Start of toggle-ref tests 581s ok 28 /object/toggle-ref/ref-on-dispose 581s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 581s # End of toggle-ref tests 581s # End of object tests 581s TAP version 14 581s # random seed: R02S9cd5171b9dfd1fc4b058a0a83da66085 581s 1..4 581s # Start of gdbus tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_MNW052/gdbus/registered-errors/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_MNW052/gdbus/registered-errors/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_MNW052/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_MNW052/gdbus/registered-errors/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_MNW052/gdbus/registered-errors/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_MNW052/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_MNW052/gdbus/registered-errors/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_MNW052/gdbus/registered-errors/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_MNW052/gdbus/registered-errors/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_MNW052/gdbus/registered-errors/.dirs/runtime 581s ok 1 /gdbus/registered-errors 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_MNW052/gdbus/unregistered-errors/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_MNW052/gdbus/unregistered-errors/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_MNW052/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_MNW052/gdbus/unregistered-errors/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_MNW052/gdbus/unregistered-errors/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_MNW052/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_MNW052/gdbus/unregistered-errors/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_MNW052/gdbus/unregistered-errors/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_MNW052/gdbus/unregistered-errors/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_MNW052/gdbus/unregistered-errors/.dirs/runtime 581s ok 2 /gdbus/unregistered-errors 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_MNW052/gdbus/transparent-gerror/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_MNW052/gdbus/transparent-gerror/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_MNW052/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_MNW052/gdbus/transparent-gerror/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_MNW052/gdbus/transparent-gerror/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_MNW052/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_MNW052/gdbus/transparent-gerror/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_MNW052/gdbus/transparent-gerror/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_MNW052/gdbus/transparent-gerror/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_MNW052/gdbus/transparent-gerror/.dirs/runtime 581s ok 3 /gdbus/transparent-gerror 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_MNW052/gdbus/register-error/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_MNW052/gdbus/register-error/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_MNW052/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_MNW052/gdbus/register-error/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_MNW052/gdbus/register-error/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_MNW052/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_MNW052/gdbus/register-error/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_MNW052/gdbus/register-error/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_MNW052/gdbus/register-error/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_MNW052/gdbus/register-error/.dirs/runtime 581s ok 4 /gdbus/register-error 581s # End of gdbus tests 581s TAP version 14 581s # random seed: R02Sd4fa2d94ca9f0bda957d713ef5660b93 581s 1..1 581s # Start of gdbus tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_EDR052/gdbus/bz627724/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_EDR052/gdbus/bz627724/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_EDR052/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_EDR052/gdbus/bz627724/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_EDR052/gdbus/bz627724/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_EDR052/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_EDR052/gdbus/bz627724/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_EDR052/gdbus/bz627724/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_EDR052/gdbus/bz627724/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_EDR052/gdbus/bz627724/.dirs/runtime 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s ok 1 /gdbus/bz627724 581s # End of gdbus tests 581s TAP version 14 581s # random seed: R02S2d8ac3c71f1a074983338ec60b935a80 581s 1..2 581s # Start of properties tests 581s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 581s ok 1 /properties/introspection 581s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 581s ok 2 /properties/collision 581s # End of properties tests 581s TAP version 14 581s # random seed: R02Sa2db110159b930f3935a4fb484d740b1 581s 1..24 581s # Start of gapplication tests 581s ok 1 /gapplication/no-dbus 581s ok 2 /gapplication/no-appid 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is 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 # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s ok 3 /gapplication/properties 581s ok 4 /gapplication/app-id 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is 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 # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s ok 5 /gapplication/quit 581s ok 6 /gapplication/registered 581s ok - glib/gdbus-bz627724.test 581s # Running test: glib/properties-introspection.test 581s ok - glib/properties-introspection.test 581s # Running test: glib/gapplication.test 581s ok 7 /gapplication/local-actions 581s ok 8 /gapplication/local-command-line 581s ok 9 /gapplication/resource-path 581s ok 10 /gapplication/test-help 581s ok 11 /gapplication/command-line-done 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is 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 # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s ok 12 /gapplication/test-busy 581s ok 13 /gapplication/test-handle-local-options1 581s ok 14 /gapplication/test-handle-local-options2 581s ok 15 /gapplication/test-handle-local-options3 581s ok 16 /gapplication/api 581s ok 17 /gapplication/version 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is 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 # launching subprocess 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s ok 18 /gapplication/replace 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is 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 # launching subprocess 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 19 /gapplication/no-replace 582s # slow test /gapplication/no-replace executed in 0.51 secs 582s # Start of dbus tests 582s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 582s # Message 0 582s # Message 1 582s # Message 2 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 20 /gapplication/dbus/activate 582s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 582s # Message 0 582s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 582s # Message 1 582s # Message 2 582s # Message 3 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 21 /gapplication/dbus/open 582s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 582s # Message 0 582s # Message 1 582s # Message 2 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 22 /gapplication/dbus/command-line 582s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 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 # GLib-DEBUG: setenv()/putenv() are 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 # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 582s ok 23 /gapplication/dbus/command-line-done 582s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 582s # Message 0 582s # Message 1 582s # Message 2 582s # Message 3 582s # Message 4 582s # Message 5 582s # Message 6 582s # Message 7 582s # Message 8 582s # Message 9 582s # Message 10 582s # Message 11 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 24 /gapplication/dbus/activate-action 582s # End of dbus tests 582s # End of gapplication tests 582s ok - glib/gapplication.test 582s # Running test: glib/thread.test 582s TAP version 14 582s # random seed: R02Sa4e6d07997e586305f894e9ace93f2ee 582s 1..7 582s # Start of thread tests 582s ok 1 /thread/thread1 582s ok 2 /thread/thread2 582s ok 3 /thread/thread3 582s ok 4 /thread/thread4 582s ok 5 /thread/thread5 582s ok 6 /thread/thread6 582s ok 7 /thread/thread7 582s # End of thread tests 582s ok - glib/thread.test 582s # Running test: glib/cxx-14.test 582s TAP version 14 582s # random seed: R02S1b04c8d3f5f5752e37c47670d0b3ebe3 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-14.test 582s # Running test: glib/gnotification.test 582s TAP version 14 582s # random seed: R02S36f98b5da812277ab305accb195831dd 582s 1..2 582s # Start of gnotification tests 582s ok - glib/gnotification.test 582s # Running test: glib/object-info.test 582s ok 1 /gnotification/basic 582s ok 2 /gnotification/properties 582s # End of gnotification tests 582s TAP version 14 582s # random seed: R02Sfbd50c27b839f0f46e7f4ea59c26f452 582s 1..2 582s # Start of object-info tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_EYDT52/object-info/find-method-using-interfaces/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_EYDT52/object-info/find-method-using-interfaces/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_EYDT52/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_EYDT52/object-info/find-method-using-interfaces/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_EYDT52/object-info/find-method-using-interfaces/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_EYDT52/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_EYDT52/object-info/find-method-using-interfaces/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_EYDT52/object-info/find-method-using-interfaces/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_EYDT52/object-info/find-method-using-interfaces/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_EYDT52/object-info/find-method-using-interfaces/.dirs/runtime 582s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 582s ok 1 /object-info/find-method-using-interfaces 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_EYDT52/object-info/find-vfunc-using-interfaces/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_EYDT52/object-info/find-vfunc-using-interfaces/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_EYDT52/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_EYDT52/object-info/find-vfunc-using-interfaces/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_EYDT52/object-info/find-vfunc-using-interfaces/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_EYDT52/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_EYDT52/object-info/find-vfunc-using-interfaces/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_EYDT52/object-info/find-vfunc-using-interfaces/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_EYDT52/object-info/find-vfunc-using-interfaces/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_EYDT52/object-info/find-vfunc-using-interfaces/.dirs/runtime 582s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 582s ok 2 /object-info/find-vfunc-using-interfaces 582s # End of object-info tests 582s ok - glib/object-info.test 582s # Running test: glib/io-stream.test 582s TAP version 14 582s # random seed: R02S29a65a9b00a876e985d1a851a86a3342 582s 1..3 582s # Start of io-stream tests 582s ok 1 /io-stream/copy-chunks 582s # Start of close tests 582s # Start of async tests 582s ok 2 /io-stream/close/async/memory 582s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 582s ok - glib/io-stream.test 582s ok 3 /io-stream/close/async/file 582s # End of async tests 582s # End of close tests 582s # End of io-stream tests 582s # Running test: glib/file-thumbnail.test 582s TAP version 14 582s # random seed: R02S9ebf15cc16a1ded74f807cdc4ec5e1b9 582s 1..7 582s # Start of file-thumbnail tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/fail/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/fail/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/fail/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/fail/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/fail/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/fail/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/fail/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/fail/.dirs/runtime 582s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 582s # Created test thumbnail at /tmp/test_file-thumbnail_RPGU52/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 582s ok 1 /file-thumbnail/fail 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/runtime 582s # Created test thumbnail at /tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 582s # Created test thumbnail at /tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 582s # Created test thumbnail at /tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 582s # Created test thumbnail at /tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 582s # Created test thumbnail at /tmp/test_file-thumbnail_RPGU52/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 582s ok 2 /file-thumbnail/size-priority 582s # Start of valid tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/normal/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/normal/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/normal/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/normal/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/normal/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/normal/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/normal/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/normal/.dirs/runtime 582s # Created test thumbnail at /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 582s ok 3 /file-thumbnail/valid/normal 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/large/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/large/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/large/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/large/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/large/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/large/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/large/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/large/.dirs/runtime 582s # Created test thumbnail at /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 582s ok 4 /file-thumbnail/valid/large 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/x-large/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/x-large/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/x-large/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/x-large/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/x-large/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/x-large/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/x-large/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/x-large/.dirs/runtime 582s # Created test thumbnail at /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 582s ok 5 /file-thumbnail/valid/x-large 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/xx-large/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/xx-large/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/xx-large/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/xx-large/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/xx-large/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/xx-large/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/xx-large/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/xx-large/.dirs/runtime 582s # Created test thumbnail at /tmp/test_file-thumbnail_RPGU52/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 582s ok 6 /file-thumbnail/valid/xx-large 582s # End of valid tests 582s # Start of unknown tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/unknown/super-large/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/unknown/super-large/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/unknown/super-large/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/unknown/super-large/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_RPGU52/file-thumbnail/unknown/super-large/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/unknown/super-large/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/unknown/super-large/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RPGU52/file-thumbnail/unknown/super-large/.dirs/runtime 582s # Created test thumbnail at /tmp/test_file-thumbnail_RPGU52/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 582s ok 7 /file-thumbnail/unknown/super-large 582s # End of unknown tests 582s # End of file-thumbnail tests 582s ok - glib/file-thumbnail.test 582s # Running test: glib/throws.test 582s TAP version 14 582s # random seed: R02S11fd113583e1bebdedb8debd8069125e 582s 1..3 582s # Start of throws tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_BJ4T52/throws/invoke-gerror/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_BJ4T52/throws/invoke-gerror/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_BJ4T52/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_BJ4T52/throws/invoke-gerror/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_BJ4T52/throws/invoke-gerror/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_BJ4T52/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_BJ4T52/throws/invoke-gerror/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_BJ4T52/throws/invoke-gerror/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_BJ4T52/throws/invoke-gerror/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_BJ4T52/throws/invoke-gerror/.dirs/runtime 582s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 582s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 582s ok 1 /throws/invoke-gerror 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_BJ4T52/throws/vfunc-can-throw-gerror/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_BJ4T52/throws/vfunc-can-throw-gerror/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_BJ4T52/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_BJ4T52/throws/vfunc-can-throw-gerror/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_BJ4T52/throws/vfunc-can-throw-gerror/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_BJ4T52/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_BJ4T52/throws/vfunc-can-throw-gerror/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_BJ4T52/throws/vfunc-can-throw-gerror/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_BJ4T52/throws/vfunc-can-throw-gerror/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_BJ4T52/throws/vfunc-can-throw-gerror/.dirs/runtime 582s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 582s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 582s ok 2 /throws/vfunc-can-throw-gerror 582s ok - glib/throws.test 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_BJ4T52/throws/callback-can-throw-gerror/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_BJ4T52/throws/callback-can-throw-gerror/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_BJ4T52/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_BJ4T52/throws/callback-can-throw-gerror/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_BJ4T52/throws/callback-can-throw-gerror/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_BJ4T52/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_BJ4T52/throws/callback-can-throw-gerror/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_BJ4T52/throws/callback-can-throw-gerror/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_BJ4T52/throws/callback-can-throw-gerror/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_BJ4T52/throws/callback-can-throw-gerror/.dirs/runtime 582s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 582s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 582s ok 3 /throws/callback-can-throw-gerror 582s # End of throws tests 582s # Running test: glib/portal-support-flatpak-full.test 582s TAP version 14 582s # random seed: R02S16c52662818002afb4c8734a5b745cf5 582s 1..1 582s # Start of portal-support tests 582s # Start of flatpak tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_9I5T52/portal-support/flatpak/full/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_9I5T52/portal-support/flatpak/full/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_9I5T52/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_9I5T52/portal-support/flatpak/full/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_9I5T52/portal-support/flatpak/full/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_9I5T52/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_9I5T52/portal-support/flatpak/full/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_9I5T52/portal-support/flatpak/full/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_9I5T52/portal-support/flatpak/full/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_9I5T52/portal-support/flatpak/full/.dirs/runtime 582s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_9I5T52/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 582s ok 1 /portal-support/flatpak/full 582s # End of flatpak tests 582s # End of portal-support tests 582s ok - glib/portal-support-flatpak-full.test 582s # Running test: glib/timeout.test 582s TAP version 14 582s # random seed: R02Sa65ebdcbd8954f157c4174aecaa32119 582s 1..5 582s # Start of timeout tests 582s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 583s # Executing: glib/timeout.test 584s ok 1 /timeout/seconds 584s # slow test /timeout/seconds executed in 2.10 secs 586s ok 2 /timeout/seconds-once 586s # slow test /timeout/seconds-once executed in 2.10 secs 586s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 588s # Executing: glib/timeout.test 588s ok 3 /timeout/weeks-overflow 588s # slow test /timeout/weeks-overflow executed in 2.10 secs 588s ok 4 /timeout/far-future-ready-time 593s # Executing: glib/timeout.test 598s # Executing: glib/timeout.test 599s ok 5 /timeout/rounding 599s # slow test /timeout/rounding executed in 10.39 secs 599s # End of timeout tests 599s ok - glib/timeout.test 599s # Running test: glib/accumulator.test 599s TAP version 14 599s # random seed: R02S8da883c6f70d33d2f02916f091706792 599s ok - glib/accumulator.test 599s 1..1 599s # Start of gobject tests 599s ok 1 /gobject/accumulator 599s # End of gobject tests 599s # Running test: glib/buffered-output-stream.test 599s TAP version 14 599s # random seed: R02S285a6b2c2d7e7dc8bcda1affae34f753 599s ok - glib/buffered-output-stream.test 599s # Running test: glib/convert.test 599s ok - glib/convert.test 599s # Running test: glib/gdbus-proxy.test 599s 1..5 599s # Start of buffered-output-stream tests 599s ok 1 /buffered-output-stream/write 599s ok 2 /buffered-output-stream/grow 599s ok 3 /buffered-output-stream/seek 599s ok 4 /buffered-output-stream/truncate 599s # End of buffered-output-stream tests 599s # Start of filter-output-stream tests 599s ok 5 /filter-output-stream/close 599s # End of filter-output-stream tests 599s TAP version 14 599s # random seed: R02S5ec76057f678c1f82d2ad7119d7ebb66 599s 1..14 599s # Start of conversion tests 599s ok 1 /conversion/no-conv 599s ok 2 /conversion/iconv-state 599s ok 3 /conversion/illegal-sequence 599s ok 4 /conversion/byte-order 599s ok 5 /conversion/unicode 599s ok 6 /conversion/filename-utf8 599s ok 7 /conversion/filename-display 599s ok 8 /conversion/convert-embedded-nul 599s # Start of locale-to-utf8 tests 599s ok 9 /conversion/locale-to-utf8/embedded-nul 599s # Start of embedded-nul tests 599s # Start of subprocess tests 599s # End of subprocess tests 599s # End of embedded-nul tests 599s # End of locale-to-utf8 tests 599s # Start of locale-from-utf8 tests 599s ok 10 /conversion/locale-from-utf8/embedded-nul 599s # Start of embedded-nul tests 599s # Start of subprocess tests 599s # End of subprocess tests 599s # End of embedded-nul tests 599s # End of locale-from-utf8 tests 599s # Start of filename-to-utf8 tests 599s ok 11 /conversion/filename-to-utf8/embedded-nul 599s # Start of embedded-nul tests 599s # Start of subprocess tests 599s # End of subprocess tests 599s # End of embedded-nul tests 599s # End of filename-to-utf8 tests 599s # Start of filename-from-utf8 tests 599s ok 12 /conversion/filename-from-utf8/embedded-nul 599s # Start of embedded-nul tests 599s # Start of subprocess tests 599s # End of subprocess tests 599s # End of embedded-nul tests 599s # End of filename-from-utf8 tests 599s # Start of filename-from-uri tests 599s ok 13 /conversion/filename-from-uri/query-is-ignored 599s ok 14 /conversion/filename-from-uri/fragment-is-ignored 599s # End of filename-from-uri tests 599s # End of conversion tests 599s TAP version 14 599s # random seed: R02S5be16f5e5edd8a7eb50fac0470db7604 599s 1..5 599s # Start of gdbus tests 599s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/.dirs/home 599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/.dirs/cache 599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/.dirs/system-config2 599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/.dirs/config 599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/.dirs/system-data2 599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/.dirs/data 599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/.dirs/state 599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/.dirs/runtime 601s ok 1 /gdbus/proxy 601s # slow test /gdbus/proxy executed in 1.75 secs 601s # Start of proxy tests 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-properties/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-properties/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-properties/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-properties/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-properties/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-properties/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-properties/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-properties/.dirs/runtime 601s ok 2 /gdbus/proxy/no-properties 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/wellknown-noauto/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/wellknown-noauto/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/wellknown-noauto/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/wellknown-noauto/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/wellknown-noauto/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/wellknown-noauto/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/wellknown-noauto/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/wellknown-noauto/.dirs/runtime 601s ok 3 /gdbus/proxy/wellknown-noauto 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/async/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/async/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/async/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/async/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/async/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/async/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/async/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/async/.dirs/runtime 602s ok 4 /gdbus/proxy/async 602s # slow test /gdbus/proxy/async executed in 1.76 secs 602s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-match-rule/.dirs/home 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-match-rule/.dirs/cache 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-match-rule/.dirs/system-config2 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-match-rule/.dirs/config 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-match-rule/.dirs/system-data2 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-match-rule/.dirs/data 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-match-rule/.dirs/state 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_I9WA62/gdbus/proxy/no-match-rule/.dirs/runtime 602s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 603s # Executing: glib/gdbus-proxy.test 604s ok - glib/gdbus-proxy.test 604s ok 5 /gdbus/proxy/no-match-rule 604s # slow test /gdbus/proxy/no-match-rule executed in 1.75 secs 604s # End of proxy tests 604s # End of gdbus tests 604s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 604s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 604s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 604s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 604s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 604s # Running test: glib/gdbus-peer-object-manager.test 604s TAP version 14 604s # random seed: R02S71433e622cf378f59dbb7c26c9923a94 604s ok - glib/gdbus-peer-object-manager.test 604s # Running test: glib/once.test 604s ok - glib/once.test 604s # Running test: glib/null-settings-backend.test 604s ok - glib/null-settings-backend.test 604s # Running test: glib/utils-c-17.test 604s 1..2 604s # Start of gdbus tests 604s # Start of peer-object-manager tests 604s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/normal/.dirs/home 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/normal/.dirs/cache 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/normal/.dirs/system-config2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/normal/.dirs/config 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/normal/.dirs/system-data2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/normal/.dirs/data 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/normal/.dirs/state 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/normal/.dirs/runtime 604s ok 1 /gdbus/peer-object-manager/normal 604s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/root/.dirs/home 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/root/.dirs/cache 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/root/.dirs/system-config2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/root/.dirs/config 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/root/.dirs/system-data2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/root/.dirs/data 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/root/.dirs/state 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_JW1U52/gdbus/peer-object-manager/root/.dirs/runtime 604s ok 2 /gdbus/peer-object-manager/root 604s # End of peer-object-manager tests 604s # End of gdbus tests 604s TAP version 14 604s # random seed: R02S74bab3b6a9807fe16b89b39890136091 604s 1..5 604s # Start of once tests 604s # /once/single-threaded summary: Test g_once() usage from a single thread 604s ok 1 /once/single-threaded 604s # /once/multi-threaded summary: Test g_once() usage from multiple threads 604s ok 2 /once/multi-threaded 604s # End of once tests 604s # Start of once-init tests 604s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 604s ok 3 /once-init/single-threaded 604s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 604s ok 4 /once-init/multi-threaded 604s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 604s ok 5 /once-init/string 604s # End of once-init tests 604s TAP version 14 604s # random seed: R02S785a96a1d483ff0983a218edcd371254 604s 1..1 604s # Start of null-settings-backend tests 604s ok 1 /null-settings-backend/extension-point-registered 604s # End of null-settings-backend tests 604s TAP version 14 604s # random seed: R02Sf33c76fd6364970c43faba2f1d28143c 604s 1..41 604s # Start of utils tests 604s ok 1 /utils/language-names 604s ok 2 /utils/locale-variants 604s ok 3 /utils/version 604s ok 4 /utils/appname 604s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 604s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 604s ok 5 /utils/prgname-thread-safety 604s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 604s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 604s ok 6 /utils/tmpdir 604s ok 7 /utils/basic_bits 604s ok 8 /utils/bits 604s ok 9 /utils/swap 604s ok 10 /utils/find-program 604s ok 11 /utils/find-program-for-path 604s ok 12 /utils/debug 604s ok 13 /utils/codeset 604s ok 14 /utils/codeset2 604s ok 15 /utils/console-charset 604s ok 16 /utils/gettext 604s ok 17 /utils/username 604s ok 18 /utils/realname 604s ok 19 /utils/hostname 604s ok 20 /utils/xdgdirs 604s ok 21 /utils/specialdir 604s # NAME: Ubuntu 604s ok 22 /utils/os-info 604s ok 23 /utils/clear-pointer 604s ok 24 /utils/clear-pointer-cast 604s ok 25 /utils/take-pointer 604s ok 26 /utils/clear-source 604s ok 27 /utils/misc-mem 604s # /utils/aligned-mem summary: Aligned memory allocator 604s # Alignment must not be zero 604s # Alignment must be a power of two 604s # Alignment must be a multiple of sizeof(void*) 604s ok 28 /utils/aligned-mem 604s # /utils/free-sized summary: Check that g_free_sized() works 604s ok 29 /utils/free-sized 604s ok 30 /utils/nullify 604s ok 31 /utils/atexit 604s ok 32 /utils/check-setuid 604s ok - glib/utils-c-17.test 604s # Running test: glib/type-flags.test 604s ok - glib/type-flags.test 604s # Running test: glib/data-output-stream.test 604s ok - glib/data-output-stream.test 604s # Running test: glib/autoptr.test 604s ok - glib/autoptr.test 604s # Running test: glib/g-icon.test 604s ok - glib/g-icon.test 604s # Running test: glib/refcount-macro.test 604s ok - glib/refcount-macro.test 604s # Running test: glib/uri.test 604s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 604s ok 33 /utils/int-limits 604s ok 34 /utils/clear-list 604s ok 35 /utils/clear-slist 604s ok 36 /utils/steal-handle-id 604s # Start of specialdir tests 604s ok 37 /utils/specialdir/desktop 604s # End of specialdir tests 604s # Start of clear-pointer tests 604s ok 38 /utils/clear-pointer/side-effects 604s # End of clear-pointer tests 604s # Start of aligned-mem tests 604s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 604s ok 39 /utils/aligned-mem/alignment 604s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 604s ok 40 /utils/aligned-mem/zeroed 604s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 604s ok 41 /utils/aligned-mem/free-sized 604s # Start of subprocess tests 604s # End of subprocess tests 604s # End of aligned-mem tests 604s # End of utils tests 604s TAP version 14 604s # random seed: R02S1b76c487f3f737a852c4c921377f4528 604s 1..4 604s # Start of type tests 604s # Start of flags tests 604s ok 1 /type/flags/interface 604s ok 2 /type/flags/final 604s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 604s ok 3 /type/flags/deprecated 604s # Start of final tests 604s ok 4 /type/flags/final/instance-check 604s # End of final tests 604s # End of flags tests 604s # End of type tests 604s TAP version 14 604s # random seed: R02S42345c48d6fb54ef807f75861c8dd5e2 604s 1..7 604s # Start of data-output-stream tests 604s ok 1 /data-output-stream/basic 604s ok 2 /data-output-stream/write-lines-LF 604s ok 3 /data-output-stream/write-lines-CR 604s ok 4 /data-output-stream/write-lines-CR-LF 604s ok 5 /data-output-stream/write-int 604s ok 6 /data-output-stream/seek 604s ok 7 /data-output-stream/truncate 604s # End of data-output-stream tests 604s TAP version 14 604s # random seed: R02S822049ba617ddc9e4e418f4fc200f1e4 604s 1..6 604s # Start of autoptr tests 604s ok 1 /autoptr/autoptr 604s ok 2 /autoptr/autoptr_steal 604s ok 3 /autoptr/autolist 604s ok 4 /autoptr/autoslist 604s ok 5 /autoptr/autoqueue 604s ok 6 /autoptr/autoclass 604s # End of autoptr tests 604s TAP version 14 604s # random seed: R02S94b22425bf7af6115bf20b2e698133dc 604s 1..6 604s # Start of icons tests 604s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 604s ok 1 /icons/to-string 604s ok 2 /icons/serialize 604s ok 3 /icons/themed 604s ok 4 /icons/emblemed 604s ok 5 /icons/file 604s ok 6 /icons/bytes 604s # End of icons tests 604s TAP version 14 604s # random seed: R02Sa91c7fa43a47ffcb1c69636a3d11b8dc 604s 1..4 604s # Start of refcount tests 604s ok 1 /refcount/grefcount 604s ok 2 /refcount/gatomicrefcount 604s # Start of grefcount tests 604s ok 3 /refcount/grefcount/saturation 604s # End of grefcount tests 604s # Start of gatomicrefcount tests 604s ok 4 /refcount/gatomicrefcount/saturation 604s # End of gatomicrefcount tests 604s # End of refcount tests 604s TAP version 14 604s # random seed: R02Sb1dce2c20f8ffae83e25005320bfa4bb 604s 1..24 604s # Start of uri tests 604s ok 1 /uri/file-to-uri 604s ok 2 /uri/file-from-uri 604s ok 3 /uri/file-roundtrip 604s ok 4 /uri/list 604s # Test 0: %2Babc %4F 604s # Test 1: %2Babc %4F 604s # Test 2: %00abc %4F 604s # Test 3: /cursors/none.png 604s # Test 4: /cursors%2fbad-subdir/none.png 604s # Test 5: %0 604s # Test 6: %ra 604s # Test 7: %2r 604s # Test 8: Timm B?der 604s # Test 9: (null) 604s ok 5 /uri/unescape-string 604s ok 6 /uri/unescape-segment 604s # Test 0: abcdefgABCDEFG._~ 604s # Test 1: :+ \\?# 604s # Test 2: a+b:c 604s # Test 3: a+b:c\303\234 604s # Test 4: \374;\322 604s # Test 5: \303\261\303( 604s ok 7 /uri/escape-string 604s ok 8 /uri/escape-bytes 604s ok 9 /uri/scheme 604s ok 10 /uri/build 604s ok 11 /uri/split 604s ok 12 /uri/is_valid 604s ok 13 /uri/to-string 604s ok 14 /uri/join 604s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 604s # Combination 0 604s # Combination 1 604s # Combination 2 604s # Combination 3 604s # Combination 4 604s # Combination 5 604s # Combination 6 604s # Combination 7 604s # Combination 8 604s # Combination 9 604s # Combination 10 604s # Combination 11 604s # Combination 12 604s # Combination 13 604s # Combination 14 604s # Combination 15 604s # Combination 16 604s # Combination 17 604s # Combination 18 604s # Combination 19 604s # Combination 20 604s # Combination 21 604s # Combination 22 604s # Combination 23 604s # Combination 24 604s # Combination 25 604s # Combination 26 604s # Combination 27 604s # Combination 28 604s # Combination 29 604s # Combination 30 604s # Combination 31 604s # Combination 32 604s # Combination 33 604s # Combination 34 604s # Combination 35 604s # Combination 36 604s # Combination 37 604s # Combination 38 604s # Combination 39 604s # Combination 40 604s # Combination 41 604s # Combination 42 604s # Combination 43 604s # Combination 44 604s # Combination 45 604s # Combination 46 604s # Combination 47 604s # Combination 48 604s # Combination 49 604s # Combination 50 604s # Combination 51 604s # Combination 52 604s # Combination 53 604s # Combination 54 604s # Combination 55 604s # Combination 56 604s # Combination 57 604s # Combination 58 604s # Combination 59 604s # Combination 60 604s # Combination 61 604s # Combination 62 604s # Combination 63 604s # Combination 64 604s # Combination 65 604s # Combination 66 604s # Combination 67 604s # Combination 68 604s # Combination 69 604s # Combination 70 604s # Combination 71 604s # Combination 72 604s # Combination 73 604s # Combination 74 604s # Combination 75 604s # Combination 76 604s # Combination 77 604s # Combination 78 604s # Combination 79 604s # Combination 80 604s # Combination 81 604s # Combination 82 604s # Combination 83 604s # Combination 84 604s # Combination 85 604s # Combination 86 604s # Combination 87 604s # Combination 88 604s # Combination 89 604s # Combination 90 604s # Combination 91 604s # Combination 92 604s # Combination 93 604s # Combination 94 604s # Combination 95 604s # Combination 96 604s # Combination 97 604s # Combination 98 604s # Combination 99 604s # Combination 100 604s # Combination 101 604s # Combination 102 604s # Combination 103 604s # Combination 104 604s # Combination 105 604s # Combination 106 604s # Combination 107 604s # Combination 108 604s # Combination 109 604s # Combination 110 604s # Combination 111 604s # Combination 112 604s # Combination 113 604s # Combination 114 604s # Combination 115 604s # Combination 116 604s # Combination 117 604s # Combination 118 604s # Combination 119 604s # Combination 120 604s # Combination 121 604s # Combination 122 604s # Combination 123 604s # Combination 124 604s # Combination 125 604s # Combination 126 604s # Combination 127 604s # Combination 128 604s # Combination 129 604s # Combination 130 604s # Combination 131 604s # Combination 132 604s # Combination 133 604s # Combination 134 604s # Combination 135 604s # Combination 136 604s # Combination 137 604s # Combination 138 604s # Combination 139 604s # Combination 140 604s # Combination 141 604s # Combination 142 604s # Combination 143 604s # Combination 144 604s # Combination 145 604s # Combination 146 604s # Combination 147 604s # Combination 148 604s # Combination 149 604s # Combination 150 604s # Combination 151 604s # Combination 152 604s # Combination 153 604s # Combination 154 604s # Combination 155 604s # Combination 156 604s # Combination 157 604s # Combination 158 604s # Combination 159 604s # Combination 160 604s # Combination 161 604s # Combination 162 604s # Combination 163 604s # Combination 164 604s # Combination 165 604s # Combination 166 604s # Combination 167 604s # Combination 168 604s # Combination 169 604s # Combination 170 604s # Combination 171 604s # Combination 172 604s # Combination 173 604s # Combination 174 604s # Combination 175 604s # Combination 176 604s # Combination 177 604s # Combination 178 604s # Combination 179 604s # Combination 180 604s # Combination 181 604s # Combination 182 604s # Combination 183 604s # Combination 184 604s # Combination 185 604s # Combination 186 604s # Combination 187 604s # Combination 188 604s # Combination 189 604s # Combination 190 604s # Combination 191 604s # Combination 192 604s # Combination 193 604s # Combination 194 604s # Combination 195 604s # Combination 196 604s # Combination 197 604s # Combination 198 604s # Combination 199 604s # Combination 200 604s # Combination 201 604s # Combination 202 604s # Combination 203 604s # Combination 204 604s # Combination 205 604s # Combination 206 604s # Combination 207 604s # Combination 208 604s # Combination 209 604s # Combination 210 604s # Combination 211 604s # Combination 212 604s # Combination 213 604s # Combination 214 604s # Combination 215 604s # Combination 216 604s # Combination 217 604s # Combination 218 604s # Combination 219 604s # Combination 220 604s # Combination 221 604s # Combination 222 604s # Combination 223 604s # Combination 224 604s # Combination 225 604s # Combination 226 604s # Combination 227 604s # Combination 228 604s # Combination 229 604s # Combination 230 604s # Combination 231 604s # Combination 232 604s # Combination 233 604s # Combination 234 604s # Combination 235 604s # Combination 236 604s # Combination 237 604s # Combination 238 604s # Combination 239 604s # Combination 240 604s # Combination 241 604s # Combination 242 604s # Combination 243 604s # Combination 244 604s # Combination 245 604s # Combination 246 604s # Combination 247 604s # Combination 248 604s # Combination 249 604s # Combination 250 604s # Combination 251 604s # Combination 252 604s # Combination 253 604s # Combination 254 604s # Combination 255 604s ok 15 /uri/join-split-round-trip 604s ok 16 /uri/normalize 604s # Start of unescape-bytes tests 604s # Test 0: %00%00 604s # Test 1: /cursors/none.png 604s # Test 2: /cursors%2fbad-subdir/none.png 604s # Test 3: %% 604s # Test 4: % 604s ok 17 /uri/unescape-bytes/nul-terminated 604s # Test 0: %00%00 604s # Test 1: /cursors/none.png 604s # Test 2: /cursors%2fbad-subdir/none.png 604s # Test 3: %% 604s # Test 4: % 604s ok 18 /uri/unescape-bytes/length 604s # End of unescape-bytes tests 604s # Start of parsing tests 604s # Test 0: foo: 604s # Test 1: file:/dev/null 604s # Test 2: file:///dev/null 604s # Test 3: ftp://user@host/path 604s # Test 4: ftp://user@host:9999/path 604s # Test 5: ftp://user:password@host/path 604s # Test 6: ftp://user:password@host:9999/path 604s # Test 7: ftp://user:password@host 604s # Test 8: http://us%65r@host 604s # Test 9: http://us%40r@host 604s # Test 10: http://us%3ar@host 604s # Test 11: http://us%2fr@host 604s # Test 12: http://us%3fr@host 604s # Test 13: http://host?query 604s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 604s # 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 604s # Test 16: http://space/%20 604s # Test 17: http://delims/%3C%3E%23%25%22 604s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 604s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 604s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 604s # Test 21: http://[3ffe:2a00:100:7031::1] 604s # Test 22: http://[1080::8:800:200C:417A]/foo 604s # Test 23: http://[::192.9.5.5]/ipng 604s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 604s # Test 25: http://[2010:836B:4179::836B:4179] 604s # Test 26: http://host/path with spaces 604s # Test 27: http://host/path 604s # Test 28: http://host/path 604s # Test 29: http://host 604s # Test 30: http://host:999 604s # Test 31: http://host/pa 604s # th 604s # Test 32: http: 604s # //host/path 604s # Test 33: http:// host/path 604s # Test 34: http://host/path? 604s # Test 35: http://host/path# 604s # Test 36: http://host/path% 604s # Test 37: http://h%ost/path 604s # Test 38: http://host/path%% 604s # Test 39: http://host/path%%% 604s # Test 40: http://host/path%/x/ 604s # Test 41: http://host/path%0x/ 604s # Test 42: http://host/path%ax 604s # Test 43: http://host/p?th/ 604s # Test 44: HTTP://////////////// 604s # Test 45: http://@host 604s # Test 46: http://:@host 604s # Test 47: scheme://foo%3Abar._webdav._tcp.local 604s # Test 48: http://example.com/.. 604s # Test 49: foo0://host/path 604s # Test 50: f0.o://host/path 604s # Test 51: http++://host/path 604s # Test 52: http-ish://host/path 604s # Test 53: http://[fe80::dead:beef%]/ 604s # Test 54: http://[fe80::dead:beef%em1]/ 604s # Test 55: http://[fe80::dead:beef%em1]/ 604s # Test 56: http://[fe80::dead:beef%25em1]/ 604s # Test 57: http://[fe80::dead:beef%25em1%20]/ 604s # Test 58: http://[fe80::dead:beef%25em%31]/ 604s # Test 59: http://[fe80::dead:beef%10]/ 604s # Test 60: http://[fe80::dead:beef%10]/ 604s # Test 61: http://[fe80::dead:beef%25]/ 604s # Test 62: http://[fe80::dead:beef%25]/ 604s # Test 63: http://[192.168.0.1%25em1]/ 604s # Test 64: http://[fe80::dead:beef%2em1]/ 604s # Test 65: http://[fe80::dead:beef%2em1]/ 604s # Test 66: http://[fe80::dead:beef%25em1%00]/ 604s # Test 67: http://[fe80::dead:beef%25em1%00]/ 604s # Test 68: http://xn--mixed-?p/ 604s # Test 69: data:./// 604s # Test 70: data:/.// 604s ok 19 /uri/parsing/absolute 604s ok 20 /uri/parsing/relative 604s # End of parsing tests 604s # Start of iter-params tests 604s # URI 0: p1=foo&p2=bar;p3=baz 604s # URI 1: p1=foo&p2=bar 604s # URI 2: p1=foo&&P1=bar 604s # URI 3: %00=foo 604s # URI 4: p1=%00 604s # URI 5: p1=foo&p1=bar 604s # URI 6: p1=foo&P1=bar 604s # URI 7: =% 604s # URI 8: = 604s # URI 9: foo 604s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 604s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 604s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 604s ok 21 /uri/iter-params/nul-terminated 604s # URI 0: p1=foo&p2=bar;p3=baz 604s # URI 1: p1=foo&p2=bar 604s # URI 2: p1=foo&&P1=bar 604s # URI 3: %00=foo 604s # URI 4: p1=%00 604s # URI 5: p1=foo&p1=bar 604s # URI 6: p1=foo&P1=bar 604s # URI 7: =% 604s # URI 8: = 604s # URI 9: foo 604s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 604s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 604s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 604s ok 22 /uri/iter-params/length 604s # End of iter-params tests 604s # Start of parse-params tests 604s # URI 0: p1=foo&p2=bar;p3=baz 604s # URI 1: p1=foo&p2=bar 604s # URI 2: p1=foo&&P1=bar 604s # URI 3: %00=foo 604s # URI 4: p1=%00 604s ok - glib/uri.test 604s # Running test: glib/macros-c-11.test 604s ok - glib/macros-c-11.test 604s # Running test: glib/network-address.test 604s # URI 5: p1=foo&p1=bar 604s # URI 6: p1=foo&P1=bar 604s # URI 7: =% 604s # URI 8: = 604s # URI 9: foo 604s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 604s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 604s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 604s ok 23 /uri/parse-params/nul-terminated 604s # URI 0: p1=foo&p2=bar;p3=baz 604s # URI 1: p1=foo&p2=bar 604s # URI 2: p1=foo&&P1=bar 604s # URI 3: %00=foo 604s # URI 4: p1=%00 604s # URI 5: p1=foo&p1=bar 604s # URI 6: p1=foo&P1=bar 604s # URI 7: =% 604s # URI 8: = 604s # URI 9: foo 604s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 604s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 604s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 604s ok 24 /uri/parse-params/length 604s # End of parse-params tests 604s # End of uri tests 604s TAP version 14 604s # random seed: R02S703ea21cca1b6cada3342f694917bf35 604s 1..4 604s # Start of C tests 604s ok 1 /C/standard-11 604s # End of C tests 604s # Start of alignof tests 604s ok 2 /alignof/fallback 604s # End of alignof tests 604s # Start of assert tests 604s ok 3 /assert/static 604s # End of assert tests 604s # Start of struct tests 604s ok 4 /struct/sizeof_member 604s # End of struct tests 604s TAP version 14 604s # random seed: R02S9f2302ed50e75718fd8f74996ba8832c 604s 1..72 604s # Start of network-address tests 604s ok 1 /network-address/basic 604s ok 2 /network-address/scope-id 604s ok 3 /network-address/uri-scope-id 604s ok 4 /network-address/to-string 604s # Start of parse-host tests 604s ok 5 /network-address/parse-host/0 604s ok 6 /network-address/parse-host/1 604s ok 7 /network-address/parse-host/2 604s ok 8 /network-address/parse-host/3 604s ok 9 /network-address/parse-host/4 604s ok 10 /network-address/parse-host/5 604s ok 11 /network-address/parse-host/6 604s ok 12 /network-address/parse-host/7 604s ok 13 /network-address/parse-host/8 604s ok 14 /network-address/parse-host/9 604s ok 15 /network-address/parse-host/10 604s ok 16 /network-address/parse-host/11 604s ok 17 /network-address/parse-host/12 604s ok 18 /network-address/parse-host/13 604s # End of parse-host tests 604s # Start of parse-uri tests 604s ok 19 /network-address/parse-uri/0 604s ok 20 /network-address/parse-uri/1 604s ok 21 /network-address/parse-uri/2 604s ok 22 /network-address/parse-uri/3 604s ok 23 /network-address/parse-uri/4 604s ok 24 /network-address/parse-uri/5 604s ok 25 /network-address/parse-uri/6 604s ok 26 /network-address/parse-uri/7 604s ok 27 /network-address/parse-uri/8 604s ok 28 /network-address/parse-uri/9 604s # End of parse-uri tests 604s # Start of resolve-address tests 604s # Input: 192.168.1.2 604s ok 29 /network-address/resolve-address/0 604s # Input: fe80::42 604s ok 30 /network-address/resolve-address/1 604s # Input: 192.168.1.2:80 604s ok 31 /network-address/resolve-address/2 604s # Input: [fe80::42] 604s ok 32 /network-address/resolve-address/3 604s # Input: [fe80::42]:80 604s ok 33 /network-address/resolve-address/4 604s # Input: 192.168.258 604s ok 34 /network-address/resolve-address/5 604s # Input: 192.11010306 604s ok 35 /network-address/resolve-address/6 604s # Input: 3232235778 604s ok 36 /network-address/resolve-address/7 604s # Input: 0300.0250.0001.0001 604s ok 37 /network-address/resolve-address/8 604s # Input: 0xC0.0xA8.0x01.0x02 604s ok 38 /network-address/resolve-address/9 604s # Input: 0xc0.0xa8.0x01.0x02 604s ok 39 /network-address/resolve-address/10 604s # Input: 0xc0a80102 604s ok 40 /network-address/resolve-address/11 604s # End of resolve-address tests 604s # Start of loopback tests 604s ok 41 /network-address/loopback/basic 604s ok 42 /network-address/loopback/sync 604s ok 43 /network-address/loopback/async 604s # End of loopback tests 604s # Start of localhost tests 604s ok 44 /network-address/localhost/async 604s ok 45 /network-address/localhost/sync 604s # End of localhost tests 604s # Start of happy-eyeballs tests 604s ok 46 /network-address/happy-eyeballs/basic 605s ok 47 /network-address/happy-eyeballs/parallel 605s ok 48 /network-address/happy-eyeballs/slow-ipv4 605s ok 49 /network-address/happy-eyeballs/slow-ipv6 605s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 606s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 606s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 606s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 606s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 606s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 606s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 606s # /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. 606s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 606s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 606s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 606s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 606s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 606s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 606s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 606s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 606s ok 57 /network-address/happy-eyeballs/both-error 606s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 606s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 606s ok 58 /network-address/happy-eyeballs/both-error-delays-1 606s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 606s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 606s ok 59 /network-address/happy-eyeballs/both-error-delays-2 606s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 606s ok 60 /network-address/happy-eyeballs/both-error-delays-3 606s # End of happy-eyeballs tests 606s # End of network-address tests 606s # Start of gresolver tests 606s # Start of resolve-address tests 606s # Input: 192.168.1.2 606s ok 61 /gresolver/resolve-address/0 606s # Input: fe80::42 606s ok 62 /gresolver/resolve-address/1 606s # Input: 192.168.1.2:80 606s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 606s ok 63 /gresolver/resolve-address/2 606s # Input: [fe80::42] 606s # Error: Error resolving ?[fe80::42]?: Name or service not known 606s ok 64 /gresolver/resolve-address/3 606s # Input: [fe80::42]:80 606s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 606s ok 65 /gresolver/resolve-address/4 606s # Input: 192.168.258 606s # Error: Error resolving ?192.168.258?: Name or service not known 606s ok 66 /gresolver/resolve-address/5 606s # Input: 192.11010306 606s # Error: Error resolving ?192.11010306?: Name or service not known 606s ok 67 /gresolver/resolve-address/6 606s # Input: 3232235778 606s # Error: Error resolving ?3232235778?: Name or service not known 606s ok 68 /gresolver/resolve-address/7 606s # Input: 0300.0250.0001.0001 606s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 606s ok 69 /gresolver/resolve-address/8 606s # Input: 0xC0.0xA8.0x01.0x02 606s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 606s ok 70 /gresolver/resolve-address/9 606s # Input: 0xc0.0xa8.0x01.0x02 606s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 606s ok 71 /gresolver/resolve-address/10 606s # Input: 0xc0a80102 606s # Error: Error resolving ?0xc0a80102?: Name or service not known 606s ok 72 /gresolver/resolve-address/11 606s # End of resolve-address tests 606s # End of gresolver tests 606s ok - glib/network-address.test 606s # Running test: glib/timer.test 606s ok - glib/timer.test 606s # Running test: glib/gdbus-proxy-well-known-name.test 606s TAP version 14 606s # random seed: R02S4af1de0b597d172cde4e84ef9d21d1b6 606s 1..10 606s # Start of timer tests 606s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 606s ok 2 /timer/stop 606s ok 3 /timer/continue 606s ok 4 /timer/reset 606s ok 5 /timer/is_active 606s # End of timer tests 606s # Start of timeval tests 606s ok 6 /timeval/add 606s ok 7 /timeval/from-iso8601 606s ok 8 /timeval/to-iso8601 606s # Start of to-iso8601 tests 606s ok 9 /timeval/to-iso8601/overflow 606s # End of to-iso8601 tests 606s # End of timeval tests 606s # Start of usleep tests 606s ok 10 /usleep/with-zero-wait 606s # End of usleep tests 606s TAP version 14 606s # random seed: R02S53edf9b738cec18b3e04305a90136f8a 606s 1..1 606s # Start of gdbus tests 606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_0GHB62/gdbus/proxy-well-known-name/.dirs/home 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_0GHB62/gdbus/proxy-well-known-name/.dirs/cache 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_0GHB62/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_0GHB62/gdbus/proxy-well-known-name/.dirs/system-config2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_0GHB62/gdbus/proxy-well-known-name/.dirs/config 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_0GHB62/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_0GHB62/gdbus/proxy-well-known-name/.dirs/system-data2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_0GHB62/gdbus/proxy-well-known-name/.dirs/data 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_0GHB62/gdbus/proxy-well-known-name/.dirs/state 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_0GHB62/gdbus/proxy-well-known-name/.dirs/runtime 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s ok - glib/gdbus-proxy-well-known-name.test 606s # Running test: glib/giomodule.test 606s ok - glib/giomodule.test 606s # Running test: glib/gvariant.test 606s ok 1 /gdbus/proxy-well-known-name 606s # End of gdbus tests 606s TAP version 14 606s # random seed: R02S06cb825974f6aeb5c1c731772f83fbd1 606s 1..3 606s # Start of giomodule tests 606s ok 1 /giomodule/extension-point 606s ok 2 /giomodule/module-scan-all 606s ok 3 /giomodule/module-scan-all-with-scope 606s # End of giomodule tests 606s TAP version 14 606s # random seed: R02S79e95c989226826772d967dc7d8546f1 606s 1..69 606s # Start of gvariant tests 606s ok 1 /gvariant/type 606s ok 2 /gvariant/typeinfo 606s ok 3 /gvariant/string 606s ok 4 /gvariant/utf8 606s ok 5 /gvariant/utf8-new-strings 606s ok 6 /gvariant/containers 606s ok 7 /gvariant/format-strings 606s ok 8 /gvariant/invalid-varargs 606s ok 9 /gvariant/varargs 606s ok 10 /gvariant/valist 606s ok 11 /gvariant/builder-memory 607s ok 12 /gvariant/hashing 607s ok 13 /gvariant/byteswap 607s ok 14 /gvariant/parser 607s ok 15 /gvariant/parse-failures 607s ok 16 /gvariant/parse-positional 607s ok 17 /gvariant/floating 607s ok 18 /gvariant/bytestring 607s ok 19 /gvariant/lookup-value 607s ok 20 /gvariant/lookup 607s ok 21 /gvariant/compare 607s ok 22 /gvariant/equal 607s ok 23 /gvariant/fixed-array 607s ok 24 /gvariant/check-format-string 607s ok 25 /gvariant/checksum-basic 607s ok 26 /gvariant/checksum-nested 607s ok 27 /gvariant/gbytes 607s ok 28 /gvariant/print-context 607s ok 29 /gvariant/error-quark 607s ok 30 /gvariant/stack-builder-init 607s ok 31 /gvariant/stack-builder-init-static 607s ok 32 /gvariant/stack-builder-init-unset 607s ok 33 /gvariant/stack-dict-init 607s ok 34 /gvariant/unaligned-construction 607s # Start of type tests 607s # Start of string-scan tests 607s # Start of recursion tests 607s ok 35 /gvariant/type/string-scan/recursion/tuple 607s ok 36 /gvariant/type/string-scan/recursion/array 607s # End of recursion tests 607s # End of string-scan tests 607s # End of type tests 607s # Start of serialiser tests 607s ok 37 /gvariant/serialiser/maybe 607s ok 38 /gvariant/serialiser/array 608s ok 39 /gvariant/serialiser/tuple 608s ok 40 /gvariant/serialiser/variant 608s ok 41 /gvariant/serialiser/strings 608s # Executing: glib/gvariant.test 609s ok 42 /gvariant/serialiser/byteswap 609s # slow test /gvariant/serialiser/byteswap executed in 1.38 secs 609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 609s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 609s ok 43 /gvariant/serialiser/children 609s # Start of byteswap tests 609s ok 44 /gvariant/serialiser/byteswap/zero-sized 609s # End of byteswap tests 609s # Start of fuzz tests 613s # Executing: glib/gvariant.test 615s ok 45 /gvariant/serialiser/fuzz/1% 615s # slow test /gvariant/serialiser/fuzz/1% executed in 6.46 secs 616s ok 46 /gvariant/serialiser/fuzz/5% 616s # slow test /gvariant/serialiser/fuzz/5% executed in 0.54 secs 616s ok 47 /gvariant/serialiser/fuzz/9% 617s ok 48 /gvariant/serialiser/fuzz/13% 618s # Executing: glib/gvariant.test 619s ok 49 /gvariant/serialiser/fuzz/17% 619s # slow test /gvariant/serialiser/fuzz/17% executed in 2.01 secs 619s # End of fuzz tests 619s # End of serialiser tests 619s # Start of utf8 tests 619s # Start of subprocess tests 619s # End of subprocess tests 619s # End of utf8 tests 619s # Start of varargs tests 619s # Start of subprocess tests 619s # End of subprocess tests 619s # End of varargs tests 619s # Start of byteswap tests 619s # /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. 619s ok 50 /gvariant/byteswap/non-normal-non-aligned 619s # End of byteswap tests 619s # Start of parser tests 619s ok 51 /gvariant/parser/integer-bounds 619s ok 52 /gvariant/parser/recursion 619s # Start of recursion tests 619s ok 53 /gvariant/parser/recursion/typedecls 619s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 619s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 619s # Text form 0: @mmmu 5 619s # Text form 1: @mmmas ['hello'] 619s # Text form 2: @mmmu just just nothing 619s # Text form 3: @mmmas just just nothing 619s ok - glib/gvariant.test 619s # Running test: glib/properties.test 619s ok - glib/properties.test 619s # Running test: glib/refstring.test 619s # Text form 4: @mmmu just nothing 619s # Text form 5: @mmmas just nothing 619s # Text form 6: @mmmu nothing 619s # Text form 7: @mmmas nothing 619s ok 54 /gvariant/parser/recursion/maybes 619s # End of recursion tests 619s # End of parser tests 619s # Start of parse tests 619s # Start of subprocess tests 619s # End of subprocess tests 619s # End of parse tests 619s # Start of normal-checking tests 619s ok 55 /gvariant/normal-checking/tuples 619s ok 56 /gvariant/normal-checking/array-offsets 619s ok 57 /gvariant/normal-checking/array-offsets2 619s ok 58 /gvariant/normal-checking/tuple-offsets 619s ok 59 /gvariant/normal-checking/tuple-offsets2 619s ok 60 /gvariant/normal-checking/tuple-offsets3 619s ok 61 /gvariant/normal-checking/tuple-offsets4 619s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 619s ok 62 /gvariant/normal-checking/tuple-offsets5 619s ok 63 /gvariant/normal-checking/empty-object-path 619s # Start of array-offsets tests 619s ok 64 /gvariant/normal-checking/array-offsets/overlapped 619s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 619s # End of array-offsets tests 619s # Start of tuple-offsets tests 619s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 619s # End of tuple-offsets tests 619s # End of normal-checking tests 619s # Start of recursion-limits tests 619s ok 67 /gvariant/recursion-limits/variant-in-variant 619s ok 68 /gvariant/recursion-limits/array-in-variant 619s # End of recursion-limits tests 619s # End of gvariant tests 619s # Start of gvarianttype tests 619s ok 69 /gvarianttype/hash 619s # End of gvarianttype tests 619s TAP version 14 619s # random seed: R02Sf924b4186fea517c507b6112e7e2e0b1 619s 1..14 619s # Start of properties tests 619s ok 1 /properties/install 619s ok 2 /properties/install-many 619s ok 3 /properties/notify 619s ok 4 /properties/notify-queue 619s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 619s ok 5 /properties/construct 619s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 619s # Test g_object_get_property with an initialized value 619s # Test g_object_get_property with an uninitialized value 619s # Test g_object_get_property with a transformable value 619s ok 6 /properties/get-property 619s ok 7 /properties/testv_with_no_properties 619s ok 8 /properties/testv_with_valid_properties 619s ok 9 /properties/testv_with_invalid_property_type 619s ok 10 /properties/testv_with_invalid_property_names 619s ok 11 /properties/testv_getv 619s ok 12 /properties/testv_notify_queue 619s # Start of notify tests 619s ok 13 /properties/notify/too-many-freezes 619s # End of notify tests 619s # Start of set-property tests 619s # Start of variant tests 619s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 619s ok 14 /properties/set-property/variant/floating 619s # End of variant tests 619s # End of set-property tests 619s # End of properties tests 619s TAP version 14 619s # random seed: R02Sd26a08c46db526dbf0f1d55a31af4885 619s 1..8 619s # Start of refstring tests 619s # s = 'hello, world' (0xa18f78683d0) 619s ok 1 /refstring/base 619s ok 2 /refstring/length 619s ok 3 /refstring/length-auto 619s ok 4 /refstring/length-nuls 619s # s = 'hello, world' (0xa18f7868270) 619s # p = s = 'hello, world' (0xa18f7868270) 619s # releasing p[0xa18f7868270] ('hello, world') 619s # p = 'goodbye, world' (0xa18f78683d0) 619s # releasing p[0xa18f78683d0] ('goodbye, world') 619s # releasing s[0xa18f7868270] ('hello, world') 619s ok 5 /refstring/intern 619s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 619s ok 6 /refstring/hash_equal 619s # /refstring/equal summary: Test g_ref_string_equal() standalone 619s ok 7 /refstring/equal 620s ok 8 /refstring/intern-thread-safety 620s # slow test /refstring/intern-thread-safety executed in 1.61 secs 620s # End of refstring tests 620s ok - glib/refstring.test 620s # Running test: glib/portal-support-env-var.test 620s TAP version 14 620s # random seed: R02Sa46dde262dfdfafbc134d02840964f6c 620s 1..1 620s # Start of portal-support tests 620s ok 1 /portal-support/env-var 620s # End of portal-support tests 620s ok - glib/portal-support-env-var.test 620s # Running test: glib/test-printf.test 620s TAP version 14 620s # random seed: R02S9752ad3067ae613fdfcd951540566a3e 620s 1..22 620s # Start of snprintf tests 620s ok 1 /snprintf/retval-and-trunc 620s ok 2 /snprintf/%d 620s ok 3 /snprintf/%d-invalid 620s ok 4 /snprintf/%o 620s ok 5 /snprintf/%u 620s ok 6 /snprintf/%x 620s ok 7 /snprintf/%X 620s ok 8 /snprintf/%f 620s ok 9 /snprintf/%e 620s ok 10 /snprintf/%c 620s ok 11 /snprintf/%s 620s ok 12 /snprintf/%n 620s ok 13 /snprintf/test-percent 620s ok 14 /snprintf/test-positional-params 620s ok 15 /snprintf/test-64bit 620s # End of snprintf tests 620s # Start of printf tests 620s ok 16 /printf/test-percent 620s ok 17 /printf/test-positional-params 620s ok 18 /printf/test-64bit 620s # Start of test-64bit tests 620s # Start of subprocess tests 620s # End of subprocess tests 620s # End of test-64bit tests 620s # End of printf tests 620s # Start of sprintf tests 620s ok 19 /sprintf/test-positional-params 620s ok 20 /sprintf/upper-bound 620s # End of sprintf tests 620s # Start of vasprintf tests 620s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 620s ok 21 /vasprintf/invalid-format-placeholder 620s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 620s ok 22 /vasprintf/invalid-wide-string 620s # End of vasprintf tests 620s TAP version 14 620s # random seed: R02Sc401e2dfa092f7c745dfee338d2b9523 620s 1..5 620s # Start of gio tests 620s # Start of contexts tests 620s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 620s ok 1 /gio/contexts/thread-independence 620s ok 2 /gio/contexts/context-independence 620s # Start of context-specific tests 620s ok 3 /gio/contexts/context-specific/identity 620s ok - glib/test-printf.test 620s # Running test: glib/contexts.test 620s ok 4 /gio/contexts/context-specific/emit 620s ok 5 /gio/contexts/context-specific/emit-and-unref 620s # End of context-specific tests 620s # End of contexts tests 620s # End of gio tests 620s ok - glib/contexts.test 620s # Running test: glib/simple-async-result.test 620s TAP version 14 620s # random seed: R02S8c25573fd1fd5b389b03db5cd8cfc12b 620s 1..2 620s # Start of gio tests 620s # Start of simple-async-result tests 620s ok 1 /gio/simple-async-result/test 620s # GLib-GIO-DEBUG: GTask 0x6ef02470040 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 620s ok 2 /gio/simple-async-result/valid 620s # End of simple-async-result tests 620s # End of gio tests 620s ok - glib/simple-async-result.test 620s # Running test: glib/unix-mounts.test 620s TAP version 14 620s # random seed: R02Sd7b8a455ae40b42f52e12c07b9f19020 620s 1..4 620s # Start of unix-mounts tests 620s ok 1 /unix-mounts/is-system-fs-type 620s ok 2 /unix-mounts/is-system-device-path 620s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 620s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 620s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 620s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 620s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 620s ok - glib/unix-mounts.test 620s # Running test: glib/markup-parse.test 620s ok - glib/markup-parse.test 620s # Running test: glib/appmonitor.test 620s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 620s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 620s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 620s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 620s ok 3 /unix-mounts/get-mount-points 620s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 620s ok 4 /unix-mounts/get-mount-entries 620s # End of unix-mounts tests 620s TAP version 14 620s # random seed: R02S9d5ec2131d75ecafc16830ffcaac13e2 620s 1..71 620s # Start of markup tests 620s # Start of parse tests 620s ok 1 /markup/parse/fail-50.gmarkup 620s ok 2 /markup/parse/fail-6.gmarkup 620s ok 3 /markup/parse/fail-8.gmarkup 620s ok 4 /markup/parse/valid-15.gmarkup 620s ok 5 /markup/parse/valid-16.gmarkup 620s ok 6 /markup/parse/fail-2.gmarkup 620s ok 7 /markup/parse/fail-38.gmarkup 620s ok 8 /markup/parse/valid-5.gmarkup 620s ok 9 /markup/parse/valid-2.gmarkup 620s ok 10 /markup/parse/fail-10.gmarkup 620s ok 11 /markup/parse/fail-49.gmarkup 620s ok 12 /markup/parse/fail-17.gmarkup 620s ok 13 /markup/parse/fail-44.gmarkup 620s ok 14 /markup/parse/fail-34.gmarkup 620s ok 15 /markup/parse/fail-20.gmarkup 620s ok 16 /markup/parse/fail-40.gmarkup 620s ok 17 /markup/parse/fail-14.gmarkup 620s ok 18 /markup/parse/valid-7.gmarkup 620s ok 19 /markup/parse/fail-22.gmarkup 620s ok 20 /markup/parse/fail-27.gmarkup 620s ok 21 /markup/parse/fail-43.gmarkup 620s ok 22 /markup/parse/fail-51.gmarkup 620s ok 23 /markup/parse/fail-37.gmarkup 620s ok 24 /markup/parse/fail-18.gmarkup 620s ok 25 /markup/parse/valid-3.gmarkup 620s ok 26 /markup/parse/fail-35.gmarkup 620s ok 27 /markup/parse/fail-39.gmarkup 620s ok 28 /markup/parse/fail-48.gmarkup 620s ok 29 /markup/parse/fail-46.gmarkup 620s ok 30 /markup/parse/valid-17.gmarkup 620s ok 31 /markup/parse/fail-25.gmarkup 620s ok 32 /markup/parse/fail-1.gmarkup 620s ok 33 /markup/parse/fail-29.gmarkup 620s ok 34 /markup/parse/fail-45.gmarkup 620s ok 35 /markup/parse/valid-13.gmarkup 620s ok 36 /markup/parse/fail-36.gmarkup 620s ok 37 /markup/parse/fail-30.gmarkup 620s ok 38 /markup/parse/fail-41.gmarkup 620s ok 39 /markup/parse/fail-53.gmarkup 620s ok 40 /markup/parse/fail-31.gmarkup 620s ok 41 /markup/parse/valid-4.gmarkup 620s ok 42 /markup/parse/valid-8.gmarkup 620s ok 43 /markup/parse/fail-32.gmarkup 620s ok 44 /markup/parse/fail-11.gmarkup 620s ok 45 /markup/parse/fail-19.gmarkup 620s ok 46 /markup/parse/fail-54.gmarkup 620s ok 47 /markup/parse/fail-5.gmarkup 620s ok 48 /markup/parse/fail-21.gmarkup 620s ok 49 /markup/parse/fail-28.gmarkup 620s ok 50 /markup/parse/valid-1.gmarkup 620s ok 51 /markup/parse/valid-11.gmarkup 620s ok 52 /markup/parse/fail-16.gmarkup 620s ok 53 /markup/parse/fail-4.gmarkup 620s ok 54 /markup/parse/fail-23.gmarkup 620s ok 55 /markup/parse/fail-33.gmarkup 620s ok 56 /markup/parse/fail-9.gmarkup 620s ok 57 /markup/parse/valid-10.gmarkup 620s ok 58 /markup/parse/fail-47.gmarkup 620s ok 59 /markup/parse/fail-13.gmarkup 620s ok 60 /markup/parse/valid-9.gmarkup 620s ok 61 /markup/parse/fail-26.gmarkup 620s ok 62 /markup/parse/fail-3.gmarkup 620s ok 63 /markup/parse/fail-12.gmarkup 620s ok 64 /markup/parse/fail-24.gmarkup 620s ok 65 /markup/parse/valid-14.gmarkup 620s ok 66 /markup/parse/fail-52.gmarkup 620s ok 67 /markup/parse/fail-15.gmarkup 620s ok 68 /markup/parse/fail-42.gmarkup 620s ok 69 /markup/parse/valid-6.gmarkup 620s ok 70 /markup/parse/valid-12.gmarkup 620s ok 71 /markup/parse/fail-7.gmarkup 620s # End of parse tests 620s # End of markup tests 620s TAP version 14 620s # random seed: R02Sfc27cfbd35f81ed0d20d2c7082bffb74 620s 1..1 620s # Start of monitor tests 620s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_1UP152/monitor/app/.dirs/home 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_1UP152/monitor/app/.dirs/cache 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_1UP152/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_1UP152/monitor/app/.dirs/system-config2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_1UP152/monitor/app/.dirs/config 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_1UP152/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_1UP152/monitor/app/.dirs/system-data2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_1UP152/monitor/app/.dirs/data 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_1UP152/monitor/app/.dirs/state 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_1UP152/monitor/app/.dirs/runtime 620s # Using data directory: /tmp/test_appmonitor_1UP152/monitor/app/.dirs/data 620s ok 1 /monitor/app 620s # End of monitor tests 620s ok - glib/appmonitor.test 620s # Running test: glib/genmarshal.py.test 621s TAP version 13 621s ok 1 __main__.TestGenmarshal.test_empty_list 621s # glib-genmarshal: /usr/bin/glib-genmarshal 621s # tmpdir: /tmp/tmpg11buuva 621s # /tmp/tmpg11buuva/tmp1z16b4s0.list: 621s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpg11buuva/tmp1z16b4s0.list', '--header', '--quiet'] 621s # Return code: 0 621s # Output: 621s # /* 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. */ 621s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 621s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 621s # 621s # #include 621s # 621s # G_BEGIN_DECLS 621s # 621s # 621s # G_END_DECLS 621s # 621s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 621s # Error: 621s # 621s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpg11buuva/tmp1z16b4s0.list', '--body', '--quiet'] 621s # Return code: 0 621s # Output: 621s # /* 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. */ 621s # #include 621s # 621s # #ifdef G_ENABLE_DEBUG 621s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 621s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 621s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 621s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 621s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 621s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 621s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 621s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 621s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 621s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 621s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 621s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 621s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 621s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 621s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 621s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 621s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 621s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 621s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 621s # #else /* !G_ENABLE_DEBUG */ 621s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 621s # * Do not access GValues directly in your code. Instead, use the 621s # * g_value_get_*() functions 621s # */ 621s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 621s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 621s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 621s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 621s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 621s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 621s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 621s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 621s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 621s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 621s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 621s # #endif /* !G_ENABLE_DEBUG */ 621s # Error: 621s ok 2 __main__.TestGenmarshal.test_help 621s # glib-genmarshal: /usr/bin/glib-genmarshal 621s # tmpdir: /tmp/tmpeaauft20 621s # Running: ['/usr/bin/glib-genmarshal', '--help'] 621s # Return code: 0 621s # Output: 621s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 621s # [--internal] [--valist-marshallers] [-v] 621s # [--g-fatal-warnings] [--include-header [HEADER]] 621s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 621s # [--prototypes] [--header] [--body] [--stdinc | 621s # --nostdinc] [--quiet | --verbose] 621s # [FILE ...] 621s # 621s # Generate signal marshallers for GObject 621s # 621s # positional arguments: 621s # FILE Files with lists of marshallers to generate, or "-" 621s # for standard input 621s # 621s # options: 621s # -h, --help show this help message and exit 621s # --prefix STRING Specify marshaller prefix 621s # --output FILE Write output into the specified file 621s # --skip-source Skip source location comments 621s # --internal Mark generated functions as internal 621s # --valist-marshallers Generate va_list marshallers 621s # -v, --version Print version information, and exit 621s # --g-fatal-warnings Make warnings fatal 621s # --include-header [HEADER] 621s # Include the specified header in the body 621s # --pragma-once Use "pragma once" as the inclusion guard 621s # -D CPP_DEFINES Pre-processor define 621s # -U CPP_UNDEFINES Pre-processor undefine 621s # --prototypes Generate the marshallers prototype in the C code 621s # --header Generate C headers 621s # --body Generate C code 621s # --stdinc Include standard marshallers 621s # --nostdinc Use standard marshallers 621s # --quiet Only print warnings and errors 621s # --verbose Be verbose, and include debugging information 621s # Error: 621s ok 3 __main__.TestGenmarshal.test_no_args 621s # glib-genmarshal: /usr/bin/glib-genmarshal 621s # tmpdir: /tmp/tmp_y7r26wo 621s # Running: ['/usr/bin/glib-genmarshal'] 621s # Return code: 0 621s # Output: 621s # 621s # Error: 621s ok 4 __main__.TestGenmarshal.test_void_boolean 621s # glib-genmarshal: /usr/bin/glib-genmarshal 621s # tmpdir: /tmp/tmpn0scw9ry 621s # /tmp/tmpn0scw9ry/tmp1g_rnr8x.list: VOID:BOOLEAN 621s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpn0scw9ry/tmp1g_rnr8x.list', '--header', '--quiet'] 621s # Return code: 0 621s # Output: 621s # /* 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. */ 621s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 621s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 621s # 621s # #include 621s # 621s # G_BEGIN_DECLS 621s # 621s # /* VOID:BOOLEAN (/tmp/tmpn0scw9ry/tmp1g_rnr8x.list:1) */ 621s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 621s # 621s # 621s # G_END_DECLS 621s # 621s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 621s # Error: 621s # 621s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpn0scw9ry/tmp1g_rnr8x.list', '--body', '--quiet'] 621s # Return code: 0 621s # Output: 621s # /* 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. */ 621s # #include 621s # 621s # #ifdef G_ENABLE_DEBUG 621s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 621s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 621s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 621s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 621s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 621s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 621s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 621s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 621s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 621s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 621s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 621s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 621s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 621s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 621s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 621s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 621s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 621s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 621s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 621s # #else /* !G_ENABLE_DEBUG */ 621s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 621s # * Do not access GValues directly in your code. Instead, use the 621s # * g_value_get_*() functions 621s # */ 621s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 621s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 621s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 621s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 621s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 621s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 621s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 621s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 621s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 621s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 621s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 621s # #endif /* !G_ENABLE_DEBUG */ 621s # Error: 621s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 621s # glib-genmarshal: /usr/bin/glib-genmarshal 621s # tmpdir: /tmp/tmpau51dblv 621s # /tmp/tmpau51dblv/tmpq82boftc.list: VOID:BOOLEAN,INT64 621s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpau51dblv/tmpq82boftc.list', '--header', '--quiet'] 621s # Return code: 0 621s # Output: 621s # /* 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. */ 621s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 621s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 621s # 621s # #include 621s # 621s # G_BEGIN_DECLS 621s # 621s # /* VOID:BOOLEAN,INT64 (/tmp/tmpau51dblv/tmpq82boftc.list:1) */ 621s # extern 621s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 621s # GValue *return_value, 621s # guint n_param_values, 621s # const GValue *param_values, 621s # gpointer invocation_hint, 621s # gpointer marshal_data); 621s # 621s # 621s # G_END_DECLS 621s # 621s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 621s # Error: 621s # 621s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpau51dblv/tmpq82boftc.list', '--body', '--quiet'] 621s # Return code: 0 621s # Output: 621s # /* 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. */ 621s # #include 621s # 621s # #ifdef G_ENABLE_DEBUG 621s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 621s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 621s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 621s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 621s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 621s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 621s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 621s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 621s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 621s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 621s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 621s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 621s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 621s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 621s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 621s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 621s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 621s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 621s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 621s # #else /* !G_ENABLE_DEBUG */ 621s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 621s # * Do not access GValues directly in your code. Instead, use the 621s # * g_value_get_*() functions 621s # */ 621s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 621s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 621s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 621s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 621s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 621s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 621s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 621s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 621s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 621s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 621s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 621s # #endif /* !G_ENABLE_DEBUG */ 621s # 621s # /* VOID:BOOLEAN,INT64 (/tmp/tmpau51dblv/tmpq82boftc.list:1) */ 621s # void 621s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 621s # GValue *return_value G_GNUC_UNUSED, 621s # guint n_param_values, 621s # const GValue *param_values, 621s # gpointer invocation_hint G_GNUC_UNUSED, 621s # gpointer marshal_data) 621s # { 621s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 621s # gboolean arg1, 621s # gint64 arg2, 621s # gpointer data2); 621s # GCClosure *cc = (GCClosure *) closure; 621s # gpointer data1, data2; 621s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 621s # 621s # g_return_if_fail (n_param_values == 3); 621s # 621s # if (G_CCLOSURE_SWAP_DATA (closure)) 621s # { 621s # data1 = closure->data; 621s # data2 = g_value_peek_pointer (param_values + 0); 621s # } 621s # else 621s # { 621s # data1 = g_value_peek_pointer (param_values + 0); 621s # data2 = closure->data; 621s # } 621s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 621s # 621s # callback (data1, 621s # g_marshal_value_peek_boolean (param_values + 1), 621s # g_marshal_value_peek_int64 (param_values + 2), 621s # data2); 621s # } 621s # Error: 621s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 621s # glib-genmarshal: /usr/bin/glib-genmarshal 621s # tmpdir: /tmp/tmpccs4orsg 621s # /tmp/tmpccs4orsg/tmpcvxlebes.list: VOID:PARAM 621s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpccs4orsg/tmpcvxlebes.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 621s # Return code: 0 621s # Output: 621s # /* 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. */ 621s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 621s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 621s # 621s # G_BEGIN_DECLS 621s # 621s # /* VOID:PARAM (/tmp/tmpccs4orsg/tmpcvxlebes.list:1) */ 621s # extern 621s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 621s # GValue *return_value, 621s # guint n_param_values, 621s # const GValue *param_values, 621s # gpointer invocation_hint, 621s # gpointer marshal_data); 621s # extern 621s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 621s # GValue *return_value, 621s # gpointer instance, 621s # va_list args, 621s # gpointer marshal_data, 621s # int n_params, 621s # GType *param_types); 621s # 621s # 621s # G_END_DECLS 621s # 621s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 621s # Error: 621s # 621s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpccs4orsg/tmpcvxlebes.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 621s # Return code: 0 621s # Output: 621s # /* 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. */ 621s # #ifdef G_ENABLE_DEBUG 621s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 621s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 621s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 621s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 621s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 621s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 621s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 621s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 621s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 621s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 621s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 621s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 621s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 621s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 621s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 621s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 621s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 621s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 621s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 621s # #else /* !G_ENABLE_DEBUG */ 621s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 621s # * Do not access GValues directly in your code. Instead, use the 621s # * g_value_get_*() functions 621s # */ 621s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 621s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 621s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 621s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 621s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 621s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 621s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 621s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 621s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 621s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 621s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 621s # #endif /* !G_ENABLE_DEBUG */ 621s # 621s # /* VOID:PARAM (/tmp/tmpccs4orsg/tmpcvxlebes.list:1) */ 621s # void 621s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 621s # GValue *return_value G_GNUC_UNUSED, 621s # guint n_param_values, 621s # const GValue *param_values, 621s # gpointer invocation_hint G_GNUC_UNUSED, 621s # gpointer marshal_data) 621s # { 621s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 621s # gpointer arg1, 621s # gpointer data2); 621s # GCClosure *cc = (GCClosure *) closure; 621s # gpointer data1, data2; 621s # GMarshalFunc_VOID__PARAM callback; 621s # 621s # g_return_if_fail (n_param_values == 2); 621s # 621s # if (G_CCLOSURE_SWAP_DATA (closure)) 621s # { 621s # data1 = closure->data; 621s # data2 = g_value_peek_pointer (param_values + 0); 621s # } 621s # else 621s # { 621s # data1 = g_value_peek_pointer (param_values + 0); 621s # data2 = closure->data; 621s # } 621s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 621s # 621s # callback (data1, 621s # g_marshal_value_peek_param (param_values + 1), 621s # data2); 621s # } 621s # 621s # void 621s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 621s # GValue *return_value G_GNUC_UNUSED, 621s # gpointer instance, 621s # va_list args, 621s # gpointer marshal_data, 621s # int n_params, 621s # GType *param_types) 621s # { 621s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 621s # gpointer arg1, 621s # gpointer data2); 621s # GCClosure *cc = (GCClosure *) closure; 621s # gpointer data1, data2; 621s # GMarshalFunc_VOID__PARAM callback; 621s # gpointer arg0; 621s # va_list args_copy; 621s # 621s # va_copy (args_copy, args); 621s # arg0 = (gpointer) va_arg (args_copy, gpointer); 621s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 621s # arg0 = g_param_spec_ref (arg0); 621s # va_end (args_copy); 621s # 621s # 621s # if (G_CCLOSURE_SWAP_DATA (closure)) 621s # { 621s # data1 = closure->data; 621s # data2 = instance; 621s # } 621s # else 621s # { 621s # data1 = instance; 621s # data2 = closure->data; 621s # } 621s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 621s # 621s # callback (data1, 621s # arg0, 621s # data2); 621s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 621s # g_param_spec_unref (arg0); 621s # } 621s # Error: 621s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 621s # glib-genmarshal: /usr/bin/glib-genmarshal 621s # tmpdir: /tmp/tmplljf2pf5 621s # /tmp/tmplljf2pf5/tmp8pbohed4.list: VOID:STRING 621s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplljf2pf5/tmp8pbohed4.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 621s # Return code: 0 621s # Output: 621s # /* 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. */ 621s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 621s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 621s # 621s # G_BEGIN_DECLS 621s # 621s # /* VOID:STRING (/tmp/tmplljf2pf5/tmp8pbohed4.list:1) */ 621s # extern 621s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 621s # GValue *return_value, 621s # guint n_param_values, 621s # const GValue *param_values, 621s # gpointer invocation_hint, 621s # gpointer marshal_data); 621s # extern 621s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 621s # GValue *return_value, 621s # gpointer instance, 621s # va_list args, 621s # gpointer marshal_data, 621s # int n_params, 621s # GType *param_types); 621s # 621s # 621s # G_END_DECLS 621s # 621s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 621s # Error: 621s # 621s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplljf2pf5/tmp8pbohed4.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 621s # Return code: 0 621s # Output: 621s # /* 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. */ 621s # #ifdef G_ENABLE_DEBUG 621s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 621s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 621s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 621s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 621s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 621s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 621s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 621s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 621s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 621s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 621s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 621s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 621s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 621s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 621s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 621s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 621s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 621s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 621s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 621s # #else /* !G_ENABLE_DEBUG */ 621s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 621s # * Do not access GValues directly in your code. Instead, use the 621s # * g_value_get_*() functions 621s # */ 621s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 621s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 621s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 621s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 621s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 621s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 621s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 621s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 621s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 621s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 621s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 621s # #endif /* !G_ENABLE_DEBUG */ 621s # 621s # /* VOID:STRING (/tmp/tmplljf2pf5/tmp8pbohed4.list:1) */ 621s # void 621s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 621s # GValue *return_value G_GNUC_UNUSED, 621s # guint n_param_values, 621s # const GValue *param_values, 621s # gpointer invocation_hint G_GNUC_UNUSED, 621s # gpointer marshal_data) 621s # { 621s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 621s # gpointer arg1, 621s # gpointer data2); 621s # GCClosure *cc = (GCClosure *) closure; 621s # gpointer data1, data2; 621s # GMarshalFunc_VOID__STRING callback; 621s # 621s # g_return_if_fail (n_param_values == 2); 621s # 621s # if (G_CCLOSURE_SWAP_DATA (closure)) 621s # { 621s # data1 = closure->data; 621s # data2 = g_value_peek_pointer (param_values + 0); 621s # } 621s # else 621s # { 621s # data1 = g_value_peek_pointer (param_values + 0); 621s # data2 = closure->data; 621s # } 621s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 621s # 621s # callback (data1, 621s # g_marshal_value_peek_string (param_values + 1), 621s # data2); 621s # } 621s # 621s # void 621s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 621s # GValue *return_value G_GNUC_UNUSED, 621s # gpointer instance, 621s # va_list args, 621s # gpointer marshal_data, 621s # int n_params, 621s # GType *param_types) 621s # { 621s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 621s # gpointer arg1, 621s # gpointer data2); 621s # GCClosure *cc = (GCClosure *) closure; 621s # gpointer data1, data2; 621s # GMarshalFunc_VOID__STRING callback; 621s # gpointer arg0; 621s # va_list args_copy; 621s # 621s # va_copy (args_copy, args); 621s # arg0 = (gpointer) va_arg (args_copy, gpointer); 621s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 621s # arg0 = g_strdup (arg0); 621s # va_end (args_copy); 621s # 621s # 621s # if (G_CCLOSURE_SWAP_DATA (closure)) 621s # { 621s # data1 = closure->data; 621s # data2 = instance; 621s # } 621s # else 621s # { 621s # data1 = instance; 621s # data2 = closure->data; 621s # } 621s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 621s # 621s # callback (data1, 621s # arg0, 621s # data2); 621s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 621s # g_free (arg0); 621s # } 621s # Error: 621s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 621s # glib-genmarshal: /usr/bin/glib-genmarshal 621s # tmpdir: /tmp/tmprwy9yg4p 621s # /tmp/tmprwy9yg4p/tmp6pabn5s4.list: VOID:VARIANT 621s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprwy9yg4p/tmp6pabn5s4.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 621s # Return code: 0 621s # Output: 621s # /* 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. */ 621s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 621s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 621s # 621s # G_BEGIN_DECLS 621s # 621s # /* VOID:VARIANT (/tmp/tmprwy9yg4p/tmp6pabn5s4.list:1) */ 621s # extern 621s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 621s # GValue *return_value, 621s # guint n_param_values, 621s # const GValue *param_values, 621s # gpointer invocation_hint, 621s # gpointer marshal_data); 621s # extern 621s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 621s # GValue *return_value, 621s # gpointer instance, 621s # va_list args, 621s # gpointer marshal_data, 621s # int n_params, 621s # GType *param_types); 621s # 621s # 621s # G_END_DECLS 621s # 621s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 621s # Error: 621s # 621s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprwy9yg4p/tmp6pabn5s4.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 621s # Return code: 0 621s # Output: 621s # /* 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. */ 621s # #ifdef G_ENABLE_DEBUG 621s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 621s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 621s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 621s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 621s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 621s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 621s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 621s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 621s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 621s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 621s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 621s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 621s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 621s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 621s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 621s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 621s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 621s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 621s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 621s # #else /* !G_ENABLE_DEBUG */ 621s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 621s # * Do not access GValues directly in your code. Instead, use the 621s # * g_value_get_*() functions 621s # */ 621s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 621s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 621s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 621s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 621s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 621s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 621s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 621s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 621s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 621s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 621s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 621s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 621s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 621s # #endif /* !G_ENABLE_DEBUG */ 621s # 621s # /* VOID:VARIANT (/tmp/tmprwy9yg4p/tmp6pabn5s4.list:1) */ 621s # void 621s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 621s # GValue *return_value G_GNUC_UNUSED, 621s # guint n_param_values, 621s # const GValue *param_values, 621s # gpointer invocation_hint G_GNUC_UNUSED, 621s # gpointer marshal_data) 621s # { 621s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 621s # gpointer arg1, 621s # gpointer data2); 621s # GCClosure *cc = (GCClosure *) closure; 621s # gpointer data1, data2; 621s # GMarshalFunc_VOID__VARIANT callback; 621s # 621s # g_return_if_fail (n_param_values == 2); 621s # 621s # if (G_CCLOSURE_SWAP_DATA (closure)) 621s # { 621s # data1 = closure->data; 621s # data2 = g_value_peek_pointer (param_values + 0); 621s # } 621s # else 621s # { 621s # data1 = g_value_peek_pointer (param_values + 0); 621s # data2 = closure->data; 621s # } 621s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 621s # 621s # callback (data1, 621s # g_marshal_value_peek_variant (param_values + 1), 621s # data2); 621s # } 621s # 621s # void 621s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 621s # GValue *return_value G_GNUC_UNUSED, 621s # gpointer instance, 621s # va_list args, 621s # gpointer marshal_data, 621s # int n_params, 621s # GType *param_types) 621s # { 621s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 621s # gpointer arg1, 621s # gpointer data2); 621s # GCClosure *cc = (GCClosure *) closure; 621s # gpointer data1, data2; 621s # GMarshalFunc_VOID__VARIANT callback; 621s # gpointer arg0; 621s # va_list args_copy; 621s # 621s # va_copy (args_copy, args); 621s # arg0 = (gpointer) va_arg (args_copy, gpointer); 621s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 621s # arg0 = g_variant_ref_sink (arg0); 621s # va_end (args_copy); 621s # 621s # 621s # if (G_CCLOSURE_SWAP_DATA (closure)) 621s # { 621s # data1 = closure->data; 621s # data2 = instance; 621s # } 621s # else 621s # { 621s # data1 = instance; 621s # data2 = closure->data; 621s # } 621s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 621s # 621s # callback (data1, 621s # arg0, 621s # data2); 621s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 621s # g_variant_unref (arg0); 621s # } 621s # Error: 621s 1..8 621s ok - glib/genmarshal.py.test 621s # Running test: glib/thread-pool-slow.test 621s TAP version 14 621s # random seed: R02S8ce61565e7d7081d157cf43355c736c4 621s 1..7 621s # Start of threadpool tests 621s ok 1 /threadpool/functions 621s ok 2 /threadpool/stop-unused 621s # slow test /threadpool/stop-unused executed in 0.51 secs 622s ok 3 /threadpool/pools 622s # [unsorted] ===> pushed new thread with id:14, number of threads:1, unprocessed:1 622s # [unsorted] ===> pushed new thread with id:29, number of threads:2, unprocessed:1 622s # [unsorted] ===> pushed new thread with id:27, number of threads:3, unprocessed:2 622s # [unsorted] ===> pushed new thread with id:94, number of threads:4, unprocessed:2 622s # [unsorted] ===> pushed new thread with id:31, number of threads:5, unprocessed:3 622s # [unsorted] ===> pushed new thread with id:74, number of threads:6, unprocessed:4 622s # [unsorted] ===> pushed new thread with id:80, number of threads:7, unprocessed:1 622s # [unsorted] ===> pushed new thread with id:63, number of threads:8, unprocessed:1 622s # [unsorted] ===> pushed new thread with id:48, number of threads:9, unprocessed:1 622s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:0 622s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:1 622s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:2 622s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:3 622s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:4 622s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:5 622s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:6 622s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:7 622s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:8 622s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:9 622s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:10 622s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:11 622s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:12 622s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:13 622s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:14 622s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:15 622s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:16 622s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:17 622s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:18 622s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:19 622s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:20 622s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:21 622s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:22 622s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:23 622s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:24 622s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:25 622s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:26 622s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:27 622s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:28 622s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:29 622s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:30 622s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:31 622s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:32 622s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:33 622s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:34 622s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:35 622s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:36 622s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:37 622s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:38 622s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:39 622s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:40 622s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:41 622s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:42 622s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:43 622s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:44 622s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:45 622s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:46 622s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:47 622s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:48 622s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:49 622s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:50 622s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:51 622s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:52 622s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:53 622s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:54 622s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:55 622s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:56 622s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:57 622s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:58 622s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:59 622s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:60 622s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:61 622s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:62 622s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:63 622s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:64 622s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:65 622s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:66 622s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:67 622s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:68 622s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:69 622s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:70 622s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:71 622s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:72 622s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:73 622s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:74 622s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:75 622s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:76 622s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:77 622s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:78 622s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:79 622s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:80 622s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:81 622s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:82 622s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:83 622s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:84 622s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:85 622s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:86 622s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:87 622s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:88 622s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:89 622s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:90 622s ok 4 /threadpool/no-sort 622s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:1 622s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:2 622s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:3 622s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:4 622s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:5 622s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:6 622s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:7 622s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:8 622s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:9 622s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:10 622s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:11 622s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:12 622s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:13 622s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:14 622s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:15 622s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:16 622s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:17 622s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:18 622s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:19 622s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:20 622s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:21 622s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:22 622s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:23 622s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:24 622s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:25 622s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:26 622s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:27 622s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:28 622s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:29 622s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:30 622s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:31 622s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:32 622s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:33 622s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:34 622s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:35 622s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:36 622s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:37 622s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:38 622s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:39 622s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:40 622s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:41 622s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:42 622s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:43 622s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:44 622s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:45 622s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:46 622s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:47 622s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:48 622s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:49 622s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:50 622s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:51 622s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:52 622s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:53 622s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:54 622s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:55 622s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:56 622s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:57 622s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:58 622s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:59 622s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:60 622s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:61 622s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:62 622s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:63 622s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:64 622s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:65 622s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:66 622s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:67 622s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:68 622s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:69 622s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:70 622s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:71 622s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:72 622s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:73 622s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:74 622s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:75 622s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:76 622s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:77 622s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:78 622s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:79 622s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:80 622s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:81 622s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:82 622s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:83 622s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:84 622s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:85 622s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:86 622s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:87 622s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:88 622s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:89 622s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:90 622s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:91 622s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:92 622s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:93 622s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:94 622s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:95 622s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:96 622s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:97 622s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:98 622s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:99 622s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:100 622s # Starting thread pool processing 622s ok 5 /threadpool/sort 622s ok 6 /threadpool/stop-unused-multiple 622s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 622s # Pool idle thread count: 0, unprocessed jobs: 40 623s # Pool idle thread count: 0, unprocessed jobs: 0 623s # Pool idle thread count: 0, unprocessed jobs: 0 623s # Executing: glib/thread-pool-slow.test 623s # Pool idle thread count: 10, unprocessed jobs: 0 623s # Pool idle thread count: 10, unprocessed jobs: 0 624s # Pool idle thread count: 10, unprocessed jobs: 0 624s # Pool idle thread count: 10, unprocessed jobs: 0 624s # Pool idle thread count: 10, unprocessed jobs: 0 624s # Pool idle thread count: 10, unprocessed jobs: 0 625s # Pool idle thread count: 10, unprocessed jobs: 0 625s # Pool idle thread count: 10, unprocessed jobs: 0 625s # Pool idle thread count: 10, unprocessed jobs: 0 625s # Pool idle thread count: 10, unprocessed jobs: 0 626s # Pool idle thread count: 10, unprocessed jobs: 0 626s # Pool idle thread count: 10, unprocessed jobs: 0 626s # Pool idle thread count: 10, unprocessed jobs: 0 626s # Pool idle thread count: 10, unprocessed jobs: 0 627s # Pool idle thread count: 10, unprocessed jobs: 0 627s # Pool idle thread count: 10, unprocessed jobs: 0 627s # Pool idle thread count: 10, unprocessed jobs: 0 627s # Pool idle thread count: 10, unprocessed jobs: 0 628s # Pool idle thread count: 10, unprocessed jobs: 0 628s # Pool idle thread count: 10, unprocessed jobs: 0 628s # Executing: glib/thread-pool-slow.test 628s # Pool idle thread count: 10, unprocessed jobs: 0 628s # Pool idle thread count: 10, unprocessed jobs: 0 629s # Pool idle thread count: 10, unprocessed jobs: 0 629s # Pool idle thread count: 10, unprocessed jobs: 0 629s # Pool idle thread count: 10, unprocessed jobs: 0 629s # Pool idle thread count: 10, unprocessed jobs: 0 630s # Pool idle thread count: 10, unprocessed jobs: 0 630s # Pool idle thread count: 10, unprocessed jobs: 0 630s # Pool idle thread count: 10, unprocessed jobs: 0 630s # Pool idle thread count: 10, unprocessed jobs: 0 631s # Pool idle thread count: 10, unprocessed jobs: 0 631s # Pool idle thread count: 10, unprocessed jobs: 0 631s # Pool idle thread count: 10, unprocessed jobs: 2 631s # Pool idle thread count: 8, unprocessed jobs: 0 631s # Pool idle thread count: 8, unprocessed jobs: 0 631s # Pool idle thread count: 8, unprocessed jobs: 0 632s # Pool idle thread count: 10, unprocessed jobs: 0 632s # Pool idle thread count: 10, unprocessed jobs: 0 632s # Pool idle thread count: 10, unprocessed jobs: 0 632s # Pool idle thread count: 10, unprocessed jobs: 0 633s # Pool idle thread count: 10, unprocessed jobs: 0 633s # Pool idle thread count: 10, unprocessed jobs: 0 633s # Executing: glib/thread-pool-slow.test 633s # Pool idle thread count: 2, unprocessed jobs: 0 633s # Pool idle thread count: 2, unprocessed jobs: 0 634s # Pool idle thread count: 2, unprocessed jobs: 0 634s # Pool idle thread count: 2, unprocessed jobs: 0 634s # Pool idle thread count: 2, unprocessed jobs: 0 634s # Pool idle thread count: 2, unprocessed jobs: 0 635s # Pool idle thread count: 2, unprocessed jobs: 0 635s # Pool idle thread count: 2, unprocessed jobs: 0 635s # Pool idle thread count: 2, unprocessed jobs: 0 635s # Pool idle thread count: 2, unprocessed jobs: 0 636s # Pool idle thread count: 2, unprocessed jobs: 0 636s # Pool idle thread count: 2, unprocessed jobs: 0 636s # Pool idle thread count: 2, unprocessed jobs: 0 636s # Pool idle thread count: 2, unprocessed jobs: 0 637s # Pool idle thread count: 2, unprocessed jobs: 0 637s # Pool idle thread count: 2, unprocessed jobs: 0 637s # Pool idle thread count: 2, unprocessed jobs: 0 637s # Pool idle thread count: 2, unprocessed jobs: 0 638s # Pool idle thread count: 2, unprocessed jobs: 0 638s # Pool idle thread count: 2, unprocessed jobs: 0 638s # Executing: glib/thread-pool-slow.test 638s # Pool idle thread count: 2, unprocessed jobs: 0 638s # Pool idle thread count: 2, unprocessed jobs: 0 639s # Pool idle thread count: 2, unprocessed jobs: 0 639s # Pool idle thread count: 2, unprocessed jobs: 0 639s # Pool idle thread count: 2, unprocessed jobs: 0 639s # Pool idle thread count: 2, unprocessed jobs: 0 640s # Pool idle thread count: 2, unprocessed jobs: 0 640s # Pool idle thread count: 2, unprocessed jobs: 0 640s # Pool idle thread count: 2, unprocessed jobs: 0 640s # Pool idle thread count: 2, unprocessed jobs: 0 641s # Pool idle thread count: 2, unprocessed jobs: 0 641s # Pool idle thread count: 2, unprocessed jobs: 0 641s # Pool idle thread count: 2, unprocessed jobs: 0 641s # Pool idle thread count: 2, unprocessed jobs: 0 642s ok 7 /threadpool/idle-time 642s # slow test /threadpool/idle-time executed in 19.53 secs 642s # End of threadpool tests 642s ok - glib/thread-pool-slow.test 642s # Running test: glib/dynamictype.test 642s TAP version 14 642s # random seed: R02Sa0985d4c119469b8c8859cab47019e51 642s 1..2 642s # Start of gobject tests 642s ok 1 /gobject/dynamic-type 642s # Start of dynamic-type tests 642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 642s ok 2 /gobject/dynamic-type/query 642s # End of dynamic-type tests 642s # End of gobject tests 642s ok - glib/dynamictype.test 642s # Running test: glib/bytes.test 642s TAP version 14 642s ok - glib/bytes.test 642s # random seed: R02Sbf38ffbc67e721c55a9d304f3d78ca8b 642s 1..21 642s # Start of bytes tests 642s ok 1 /bytes/new 642s ok 2 /bytes/new-take 642s ok 3 /bytes/new-static 642s ok 4 /bytes/new-with-free-func 642s ok 5 /bytes/new-from-bytes 642s ok 6 /bytes/new-from-bytes-slice 642s ok 7 /bytes/new-from-bytes-shared-ref 642s ok 8 /bytes/hash 642s ok 9 /bytes/equal 642s ok 10 /bytes/compare 642s ok 11 /bytes/null 642s ok 12 /bytes/get-region 642s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 642s ok 13 /bytes/unref-null 642s # Start of to-data tests 642s ok 14 /bytes/to-data/transferred 642s ok 15 /bytes/to-data/two-refs 642s ok 16 /bytes/to-data/non-malloc 642s ok 17 /bytes/to-data/different-free-func 642s # End of to-data tests 642s # Start of to-array tests 642s ok 18 /bytes/to-array/transferred 642s ok 19 /bytes/to-array/two-refs 642s ok 20 /bytes/to-array/non-malloc 642s # Start of transferred tests 642s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 642s ok 21 /bytes/to-array/transferred/oversize 642s # End of transferred tests 642s # End of to-array tests 642s # End of bytes tests 642s # Running test: glib/cxx-98.test 642s ok - glib/cxx-98.test 642s # Running test: glib/win32-appinfo.test 642s ok - glib/win32-appinfo.test 642s # Running test: glib/codegen.py.test 642s TAP version 14 642s # random seed: R02Sb374d586fc48bb9eb1d561078c8db598 642s 1..2 642s # Start of gtask tests 642s # 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. 642s ok 1 /gtask/name 642s # Start of name tests 642s # 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. 642s ok 2 /gtask/name/macro-wrapper 642s # End of name tests 642s # End of gtask tests 642s TAP version 14 642s # random seed: R02Sa7c386a2f34735cabc1030d5e118895c 642s 1..5 642s # Start of appinfo tests 642s ok 1 /appinfo/utf16-strfuncs 642s ok 2 /appinfo/win32-extract-executable 642s ok 3 /appinfo/win32-rundll32-fixup 642s ok 4 /appinfo/win32-parse-filename 642s ok 5 /appinfo/win32-utf16-conversion-fail 642s # Start of subprocess tests 642s # End of subprocess tests 642s # End of appinfo tests 642s TAP version 13 642s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 642s # gdbus-codegen: /usr/bin/gdbus-codegen 642s # tmpdir: /tmp/tmpabn_4gcs 642s # /tmp/tmpabn_4gcs/tmp39co3vo5.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpabn_4gcs/tmp39co3vo5.xml', '--output', '-', '--header'] 642s # Return code: 0 642s # Output: 642s # /* 642s # * This file is generated by gdbus-codegen, do not modify it. 642s # * 642s # * The license of this code is the same as for the D-Bus interface description 642s # * it was derived from. Note that it links to GLib, so must comply with the 642s # * LGPL linking clauses. 642s # */ 642s # 642s # #ifndef __STDOUT__ 642s # #define __STDOUT__ 642s # 642s # #include 642s # 642s # G_BEGIN_DECLS 642s # 642s # 642s # /* ------------------------------------------------------------------------ */ 642s # /* Declarations for org.project.UsefulInterface */ 642s # 642s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 642s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 642s # 642s # struct _OrgProjectUsefulInterface; 642s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 642s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 642s # 642s # struct _OrgProjectUsefulInterfaceIface 642s # { 642s # GTypeInterface parent_iface; 642s # 642s # gboolean (*handle_useful_method) ( 642s # OrgProjectUsefulInterface *object, 642s # GDBusMethodInvocation *invocation); 642s # 642s # }; 642s # 642s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 642s # 642s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 642s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 642s # 642s # 642s # /* D-Bus method call completion functions: */ 642s # void org_project_useful_interface_complete_useful_method ( 642s # OrgProjectUsefulInterface *object, 642s # GDBusMethodInvocation *invocation); 642s # 642s # 642s # 642s # /* D-Bus method calls: */ 642s # void org_project_useful_interface_call_useful_method ( 642s # OrgProjectUsefulInterface *proxy, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # 642s # gboolean org_project_useful_interface_call_useful_method_finish ( 642s # OrgProjectUsefulInterface *proxy, 642s # GAsyncResult *res, 642s # GError **error); 642s # 642s # gboolean org_project_useful_interface_call_useful_method_sync ( 642s # OrgProjectUsefulInterface *proxy, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # 642s # 642s # /* ---- */ 642s # 642s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 642s # 642s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 642s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 642s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 642s # 642s # struct _OrgProjectUsefulInterfaceProxy 642s # { 642s # /*< private >*/ 642s # GDBusProxy parent_instance; 642s # OrgProjectUsefulInterfaceProxyPrivate *priv; 642s # }; 642s # 642s # struct _OrgProjectUsefulInterfaceProxyClass 642s # { 642s # GDBusProxyClass parent_class; 642s # }; 642s # 642s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 642s # 642s # #if GLIB_CHECK_VERSION(2, 44, 0) 642s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 642s # #endif 642s # 642s # void org_project_useful_interface_proxy_new ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 642s # GAsyncResult *res, 642s # GError **error); 642s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # void org_project_useful_interface_proxy_new_for_bus ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 642s # GAsyncResult *res, 642s # GError **error); 642s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # 642s # /* ---- */ 642s # 642s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 642s # 642s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 642s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 642s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 642s # 642s # struct _OrgProjectUsefulInterfaceSkeleton 642s # { 642s # /*< private >*/ 642s # GDBusInterfaceSkeleton parent_instance; 642s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 642s # }; 642s # 642s # struct _OrgProjectUsefulInterfaceSkeletonClass 642s # { 642s # GDBusInterfaceSkeletonClass parent_class; 642s # }; 642s # 642s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 642s # 642s # #if GLIB_CHECK_VERSION(2, 44, 0) 642s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 642s # #endif 642s # 642s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 642s # 642s # 642s # G_END_DECLS 642s # 642s # #endif /* __STDOUT__ */ 642s # Error: 642s # 642s # /tmp/tmpabn_4gcs/tmp898wio02.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpabn_4gcs/tmp898wio02.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 642s # Return code: 0 642s # Output: 642s # /* 642s # * This file is generated by gdbus-codegen, do not modify it. 642s # * 642s # * The license of this code is the same as for the D-Bus interface description 642s # * it was derived from. Note that it links to GLib, so must comply with the 642s # * LGPL linking clauses. 642s # */ 642s # 642s # #ifndef __STDOUT__ 642s # #define __STDOUT__ 642s # 642s # #include 642s # 642s # G_BEGIN_DECLS 642s # 642s # 642s # /* ------------------------------------------------------------------------ */ 642s # /* Declarations for org.project.UsefulInterface */ 642s # 642s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 642s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 642s # 642s # struct _OrgProjectUsefulInterface; 642s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 642s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 642s # 642s # struct _OrgProjectUsefulInterfaceIface 642s # { 642s # GTypeInterface parent_iface; 642s # 642s # gboolean (*handle_useful_method) ( 642s # OrgProjectUsefulInterface *object, 642s # GDBusMethodInvocation *invocation); 642s # 642s # }; 642s # 642s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 642s # 642s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 642s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 642s # 642s # 642s # /* D-Bus method call completion functions: */ 642s # void org_project_useful_interface_complete_useful_method ( 642s # OrgProjectUsefulInterface *object, 642s # GDBusMethodInvocation *invocation); 642s # 642s # 642s # 642s # /* D-Bus method calls: */ 642s # void org_project_useful_interface_call_useful_method ( 642s # OrgProjectUsefulInterface *proxy, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # 642s # gboolean org_project_useful_interface_call_useful_method_finish ( 642s # OrgProjectUsefulInterface *proxy, 642s # GAsyncResult *res, 642s # GError **error); 642s # 642s # gboolean org_project_useful_interface_call_useful_method_sync ( 642s # OrgProjectUsefulInterface *proxy, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # 642s # 642s # /* ---- */ 642s # 642s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 642s # 642s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 642s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 642s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 642s # 642s # struct _OrgProjectUsefulInterfaceProxy 642s # { 642s # /*< private >*/ 642s # GDBusProxy parent_instance; 642s # OrgProjectUsefulInterfaceProxyPrivate *priv; 642s # }; 642s # 642s # struct _OrgProjectUsefulInterfaceProxyClass 642s # { 642s # GDBusProxyClass parent_class; 642s # }; 642s # 642s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 642s # 642s # #if GLIB_CHECK_VERSION(2, 44, 0) 642s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 642s # #endif 642s # 642s # void org_project_useful_interface_proxy_new ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 642s # GAsyncResult *res, 642s # GError **error); 642s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # void org_project_useful_interface_proxy_new_for_bus ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 642s # GAsyncResult *res, 642s # GError **error); 642s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # 642s # /* ---- */ 642s # 642s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 642s # 642s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 642s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 642s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 642s # 642s # struct _OrgProjectUsefulInterfaceSkeleton 642s # { 642s # /*< private >*/ 642s # GDBusInterfaceSkeleton parent_instance; 642s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 642s # }; 642s # 642s # struct _OrgProjectUsefulInterfaceSkeletonClass 642s # { 642s # GDBusInterfaceSkeletonClass parent_class; 642s # }; 642s # 642s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 642s # 642s # #if GLIB_CHECK_VERSION(2, 44, 0) 642s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 642s # #endif 642s # 642s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 642s # 642s # 642s # G_END_DECLS 642s # 642s # #endif /* __STDOUT__ */ 642s # Error: 642s # 642s # /tmp/tmpabn_4gcs/tmpnbmni1gp.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpabn_4gcs/tmpnbmni1gp.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 642s # Return code: 0 642s # Output: 642s # /* 642s # * This file is generated by gdbus-codegen, do not modify it. 642s # * 642s # * The license of this code is the same as for the D-Bus interface description 642s # * it was derived from. Note that it links to GLib, so must comply with the 642s # * LGPL linking clauses. 642s # */ 642s # 642s # #ifndef __STDOUT__ 642s # #define __STDOUT__ 642s # 642s # #include 642s # 642s # G_BEGIN_DECLS 642s # 642s # 642s # /* ------------------------------------------------------------------------ */ 642s # /* Declarations for org.project.UsefulInterface */ 642s # 642s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 642s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 642s # 642s # struct _OrgProjectUsefulInterface; 642s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 642s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 642s # 642s # struct _OrgProjectUsefulInterfaceIface 642s # { 642s # GTypeInterface parent_iface; 642s # 642s # gboolean (*handle_useful_method) ( 642s # OrgProjectUsefulInterface *object, 642s # GDBusMethodInvocation *invocation); 642s # 642s # }; 642s # 642s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 642s # 642s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 642s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 642s # 642s # 642s # /* D-Bus method call completion functions: */ 642s # void org_project_useful_interface_complete_useful_method ( 642s # OrgProjectUsefulInterface *object, 642s # GDBusMethodInvocation *invocation); 642s # 642s # 642s # 642s # /* D-Bus method calls: */ 642s # void org_project_useful_interface_call_useful_method ( 642s # OrgProjectUsefulInterface *proxy, 642s # GDBusCallFlags call_flags, 642s # gint timeout_msec, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # 642s # gboolean org_project_useful_interface_call_useful_method_finish ( 642s # OrgProjectUsefulInterface *proxy, 642s # GAsyncResult *res, 642s # GError **error); 642s # 642s # gboolean org_project_useful_interface_call_useful_method_sync ( 642s # OrgProjectUsefulInterface *proxy, 642s # GDBusCallFlags call_flags, 642s # gint timeout_msec, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # 642s # 642s # /* ---- */ 642s # 642s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 642s # 642s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 642s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 642s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 642s # 642s # struct _OrgProjectUsefulInterfaceProxy 642s # { 642s # /*< private >*/ 642s # GDBusProxy parent_instance; 642s # OrgProjectUsefulInterfaceProxyPrivate *priv; 642s # }; 642s # 642s # struct _OrgProjectUsefulInterfaceProxyClass 642s # { 642s # GDBusProxyClass parent_class; 642s # }; 642s # 642s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 642s # 642s # #if GLIB_CHECK_VERSION(2, 44, 0) 642s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 642s # #endif 642s # 642s # void org_project_useful_interface_proxy_new ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 642s # GAsyncResult *res, 642s # GError **error); 642s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # void org_project_useful_interface_proxy_new_for_bus ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 642s # GAsyncResult *res, 642s # GError **error); 642s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # 642s # /* ---- */ 642s # 642s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 642s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 642s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 642s # 642s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 642s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 642s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 642s # 642s # struct _OrgProjectUsefulInterfaceSkeleton 642s # { 642s # /*< private >*/ 642s # GDBusInterfaceSkeleton parent_instance; 642s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 642s # }; 642s # 642s # struct _OrgProjectUsefulInterfaceSkeletonClass 642s # { 642s # GDBusInterfaceSkeletonClass parent_class; 642s # }; 642s # 642s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 642s # 642s # #if GLIB_CHECK_VERSION(2, 44, 0) 642s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 642s # #endif 642s # 642s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 642s # 642s # 642s # G_END_DECLS 642s # 642s # #endif /* __STDOUT__ */ 642s # Error: 642s ok 2 __main__.TestCodegen.test_dbus_types 642s # gdbus-codegen: /usr/bin/gdbus-codegen 642s # tmpdir: /tmp/tmph2wb9rme 642s # /tmp/tmph2wb9rme/tmp31dbh9lz.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmp31dbh9lz.xml', '--output', '-', '--body'] 642s # Return code: 1 642s # Output: 642s # 642s # Error: 642s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 642s # /tmp/tmph2wb9rme/tmp0ww3spqb.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmp0ww3spqb.xml', '--output', '-', '--body'] 642s # Return code: 1 642s # Output: 642s # 642s # Error: 642s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 642s # /tmp/tmph2wb9rme/tmp0k9joytr.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmp0k9joytr.xml', '--output', '-', '--body'] 642s # Return code: 1 642s # Output: 642s # 642s # Error: 642s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 642s # /tmp/tmph2wb9rme/tmpcqnj7muq.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmpcqnj7muq.xml', '--output', '-', '--body'] 642s # Return code: 1 642s # Output: 642s # 642s # Error: 642s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 642s # /tmp/tmph2wb9rme/tmp5uv2ah5s.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmp5uv2ah5s.xml', '--output', '-', '--body'] 642s # Return code: 1 642s # Output: 642s # 642s # Error: 642s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 642s # /tmp/tmph2wb9rme/tmpdbg0c_a9.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmpdbg0c_a9.xml', '--output', '-', '--body'] 642s # Return code: 1 642s # Output: 642s # 642s # Error: 642s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 642s # /tmp/tmph2wb9rme/tmpyp3gna0i.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmpyp3gna0i.xml', '--output', '-', '--body'] 642s # Return code: 1 642s # Output: 642s # 642s # Error: 642s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 642s # /tmp/tmph2wb9rme/tmpmxfcn34p.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmpmxfcn34p.xml', '--output', '-', '--body'] 642s # Return code: 1 642s # Output: 642s # 642s # Error: 642s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 642s # /tmp/tmph2wb9rme/tmpg2p0205x.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmpg2p0205x.xml', '--output', '-', '--body'] 642s # Return code: 1 642s # Output: 642s # 642s # Error: 642s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 642s # /tmp/tmph2wb9rme/tmp6vej7wgt.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmp6vej7wgt.xml', '--output', '-', '--body'] 642s # Return code: 1 642s # Output: 642s # 642s # Error: 642s # ERROR: D-Bus maximum signature length of 255 exceeded. 642s # /tmp/tmph2wb9rme/tmp2wzrnldf.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmp2wzrnldf.xml', '--output', '-', '--body'] 642s # Return code: 1 642s # Output: 642s # 642s # Error: 642s # ERROR: D-Bus maximum signature length of 255 exceeded. 642s # /tmp/tmph2wb9rme/tmp7u69jnbh.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmp7u69jnbh.xml', '--output', '-', '--body'] 642s # Return code: 1 642s # Output: 642s # 642s # Error: 642s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 642s # /tmp/tmph2wb9rme/tmpo6m8j_cv.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmpo6m8j_cv.xml', '--output', '-', '--body'] 642s # Return code: 1 642s # Output: 642s # 642s # Error: 642s # ERROR: D-Bus maximum signature length of 255 exceeded. 642s # /tmp/tmph2wb9rme/tmpk55hnqc0.xml: 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmpk55hnqc0.xml', '--output', '-', '--body'] 642s # Return code: 0 642s # Output: 642s # /* 642s # * This file is generated by gdbus-codegen, do not modify it. 642s # * 642s # * The license of this code is the same as for the D-Bus interface description 642s # * it was derived from. Note that it links to GLib, so must comply with the 642s # * LGPL linking clauses. 642s # */ 642s # 642s # #ifdef HAVE_CONFIG_H 642s # # include "config.h" 642s # #endif 642s # 642s # #include 642s # #ifdef G_OS_UNIX 642s # # include 642s # #endif 642s # 642s # #ifdef G_ENABLE_DEBUG 642s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 642s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 642s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 642s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 642s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 642s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 642s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 642s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 642s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 642s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 642s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 642s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 642s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 642s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 642s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 642s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 642s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 642s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 642s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 642s # #else /* !G_ENABLE_DEBUG */ 642s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 642s # * Do not access GValues directly in your code. Instead, use the 642s # * g_value_get_*() functions 642s # */ 642s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 642s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 642s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 642s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 642s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 642s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 642s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 642s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 642s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 642s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 642s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 642s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 642s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 642s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 642s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 642s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 642s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 642s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 642s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 642s # #endif /* !G_ENABLE_DEBUG */ 642s # 642s # typedef struct 642s # { 642s # GDBusArgInfo parent_struct; 642s # gboolean use_gvariant; 642s # } _ExtendedGDBusArgInfo; 642s # 642s # typedef struct 642s # { 642s # GDBusMethodInfo parent_struct; 642s # const gchar *signal_name; 642s # gboolean pass_fdlist; 642s # } _ExtendedGDBusMethodInfo; 642s # 642s # typedef struct 642s # { 642s # GDBusSignalInfo parent_struct; 642s # const gchar *signal_name; 642s # } _ExtendedGDBusSignalInfo; 642s # 642s # typedef struct 642s # { 642s # GDBusPropertyInfo parent_struct; 642s # const gchar *hyphen_name; 642s # guint use_gvariant : 1; 642s # guint emits_changed_signal : 1; 642s # } _ExtendedGDBusPropertyInfo; 642s # 642s # typedef struct 642s # { 642s # GDBusInterfaceInfo parent_struct; 642s # const gchar *hyphen_name; 642s # } _ExtendedGDBusInterfaceInfo; 642s # 642s # typedef struct 642s # { 642s # const _ExtendedGDBusPropertyInfo *info; 642s # guint prop_id; 642s # GValue orig_value; /* the value before the change */ 642s # } ChangedProperty; 642s # 642s # static void 642s # _changed_property_free (ChangedProperty *data) 642s # { 642s # g_value_unset (&data->orig_value); 642s # g_free (data); 642s # } 642s # 642s # static gboolean 642s # _g_strv_equal0 (gchar **a, gchar **b) 642s # { 642s # gboolean ret = FALSE; 642s # guint n; 642s # if (a == NULL && b == NULL) 642s # { 642s # ret = TRUE; 642s # goto out; 642s # } 642s # if (a == NULL || b == NULL) 642s # goto out; 642s # if (g_strv_length (a) != g_strv_length (b)) 642s # goto out; 642s # for (n = 0; a[n] != NULL; n++) 642s # if (g_strcmp0 (a[n], b[n]) != 0) 642s # goto out; 642s # ret = TRUE; 642s # out: 642s # return ret; 642s # } 642s # 642s # static gboolean 642s # _g_variant_equal0 (GVariant *a, GVariant *b) 642s # { 642s # gboolean ret = FALSE; 642s # if (a == NULL && b == NULL) 642s # { 642s # ret = TRUE; 642s # goto out; 642s # } 642s # if (a == NULL || b == NULL) 642s # goto out; 642s # ret = g_variant_equal (a, b); 642s # out: 642s # return ret; 642s # } 642s # 642s # G_GNUC_UNUSED static gboolean 642s # _g_value_equal (const GValue *a, const GValue *b) 642s # { 642s # gboolean ret = FALSE; 642s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 642s # switch (G_VALUE_TYPE (a)) 642s # { 642s # case G_TYPE_BOOLEAN: 642s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 642s # break; 642s # case G_TYPE_UCHAR: 642s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 642s # break; 642s # case G_TYPE_INT: 642s # ret = (g_value_get_int (a) == g_value_get_int (b)); 642s # break; 642s # case G_TYPE_UINT: 642s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 642s # break; 642s # case G_TYPE_INT64: 642s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 642s # break; 642s # case G_TYPE_UINT64: 642s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 642s # break; 642s # case G_TYPE_DOUBLE: 642s # { 642s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 642s # gdouble da = g_value_get_double (a); 642s # gdouble db = g_value_get_double (b); 642s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 642s # } 642s # break; 642s # case G_TYPE_STRING: 642s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 642s # break; 642s # case G_TYPE_VARIANT: 642s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 642s # break; 642s # default: 642s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 642s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 642s # else 642s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 642s # break; 642s # } 642s # return ret; 642s # } 642s # 642s # /* ------------------------------------------------------------------------ 642s # * Code for interface GoodTypes 642s # * ------------------------------------------------------------------------ 642s # */ 642s # 642s # /** 642s # * SECTION:GoodTypes 642s # * @title: GoodTypes 642s # * @short_description: Generated C code for the GoodTypes D-Bus interface 642s # * 642s # * This section contains code for working with the GoodTypes D-Bus interface in C. 642s # */ 642s # 642s # /* ---- Introspection data for GoodTypes ---- */ 642s # 642s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 642s # { 642s # { 642s # -1, 642s # (gchar *) "GoodPropertyType", 642s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 642s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 642s # NULL 642s # }, 642s # "good-property-type", 642s # FALSE, 642s # TRUE 642s # }; 642s # 642s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 642s # { 642s # &_good_types_property_info_good_property_type.parent_struct, 642s # NULL 642s # }; 642s # 642s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 642s # { 642s # { 642s # -1, 642s # (gchar *) "GoodTypes", 642s # NULL, 642s # NULL, 642s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 642s # NULL 642s # }, 642s # "good-types", 642s # }; 642s # 642s # 642s # /** 642s # * good_types_interface_info: 642s # * 642s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 642s # * 642s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 642s # */ 642s # GDBusInterfaceInfo * 642s # good_types_interface_info (void) 642s # { 642s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 642s # } 642s # 642s # /** 642s # * good_types_override_properties: 642s # * @klass: The class structure for a #GObject derived class. 642s # * @property_id_begin: The property id to assign to the first overridden property. 642s # * 642s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 642s # * The properties are overridden in the order they are defined. 642s # * 642s # * Returns: The last property id. 642s # */ 642s # guint 642s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 642s # { 642s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 642s # return property_id_begin - 1; 642s # } 642s # 642s # 642s # 642s # /** 642s # * GoodTypes: 642s # * 642s # * Abstract interface type for the D-Bus interface GoodTypes. 642s # */ 642s # 642s # /** 642s # * GoodTypesIface: 642s # * @parent_iface: The parent interface. 642s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 642s # * 642s # * Virtual table for the D-Bus interface GoodTypes. 642s # */ 642s # 642s # typedef GoodTypesIface GoodTypesInterface; 642s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 642s # 642s # static void 642s # good_types_default_init (GoodTypesIface *iface) 642s # { 642s # /* GObject properties for D-Bus properties: */ 642s # /** 642s # * GoodTypes:good-property-type: 642s # * 642s # * Represents the D-Bus property "GoodPropertyType". 642s # * 642s # * 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. 642s # */ 642s # g_object_interface_install_property (iface, 642s # 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)); 642s # } 642s # 642s # /** 642s # * good_types_get_good_property_type: (skip) 642s # * @object: A GoodTypes. 642s # * 642s # * Gets the value of the "GoodPropertyType" D-Bus property. 642s # * 642s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 642s # * 642s # * 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. 642s # * 642s # * 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. 642s # */ 642s # GVariant * 642s # good_types_get_good_property_type (GoodTypes *object) 642s # { 642s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 642s # 642s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 642s # } 642s # 642s # /** 642s # * good_types_dup_good_property_type: (skip) 642s # * @object: A GoodTypes. 642s # * 642s # * Gets a copy of the "GoodPropertyType" D-Bus property. 642s # * 642s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 642s # * 642s # * 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(). 642s # */ 642s # GVariant * 642s # good_types_dup_good_property_type (GoodTypes *object) 642s # { 642s # GVariant *value; 642s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 642s # return value; 642s # } 642s # 642s # /** 642s # * good_types_set_good_property_type: (skip) 642s # * @object: A GoodTypes. 642s # * @value: The value to set. 642s # * 642s # * Sets the "GoodPropertyType" D-Bus property to @value. 642s # * 642s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 642s # */ 642s # void 642s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 642s # { 642s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 642s # } 642s # 642s # /* ------------------------------------------------------------------------ */ 642s # 642s # /** 642s # * GoodTypesProxy: 642s # * 642s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 642s # */ 642s # 642s # /** 642s # * GoodTypesProxyClass: 642s # * @parent_class: The parent class. 642s # * 642s # * Class structure for GoodTypesProxy. 642s # */ 642s # 642s # struct _GoodTypesProxyPrivate 642s # { 642s # GData *qdata; 642s # }; 642s # 642s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 642s # 642s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 642s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 642s # G_ADD_PRIVATE (GoodTypesProxy) 642s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 642s # 642s # #else 642s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 642s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 642s # 642s # #endif 642s # static void 642s # good_types_proxy_finalize (GObject *object) 642s # { 642s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 642s # g_datalist_clear (&proxy->priv->qdata); 642s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 642s # } 642s # 642s # static void 642s # good_types_proxy_get_property (GObject *object, 642s # guint prop_id, 642s # GValue *value, 642s # GParamSpec *pspec G_GNUC_UNUSED) 642s # { 642s # const _ExtendedGDBusPropertyInfo *info; 642s # GVariant *variant; 642s # g_assert (prop_id != 0 && prop_id - 1 < 1); 642s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 642s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 642s # if (info->use_gvariant) 642s # { 642s # g_value_set_variant (value, variant); 642s # } 642s # else 642s # { 642s # if (variant != NULL) 642s # g_dbus_gvariant_to_gvalue (variant, value); 642s # } 642s # if (variant != NULL) 642s # g_variant_unref (variant); 642s # } 642s # 642s # static void 642s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 642s # GAsyncResult *res, 642s # gpointer user_data) 642s # { 642s # const _ExtendedGDBusPropertyInfo *info = user_data; 642s # GError *error; 642s # GVariant *_ret; 642s # error = NULL; 642s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 642s # if (!_ret) 642s # { 642s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 642s # info->parent_struct.name, 642s # error->message, g_quark_to_string (error->domain), error->code); 642s # g_error_free (error); 642s # } 642s # else 642s # { 642s # g_variant_unref (_ret); 642s # } 642s # } 642s # 642s # static void 642s # good_types_proxy_set_property (GObject *object, 642s # guint prop_id, 642s # const GValue *value, 642s # GParamSpec *pspec G_GNUC_UNUSED) 642s # { 642s # const _ExtendedGDBusPropertyInfo *info; 642s # GVariant *variant; 642s # g_assert (prop_id != 0 && prop_id - 1 < 1); 642s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 642s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 642s # g_dbus_proxy_call (G_DBUS_PROXY (object), 642s # "org.freedesktop.DBus.Properties.Set", 642s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 642s # G_DBUS_CALL_FLAGS_NONE, 642s # -1, 642s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 642s # g_variant_unref (variant); 642s # } 642s # 642s # static void 642s # good_types_proxy_g_signal (GDBusProxy *proxy, 642s # const gchar *sender_name G_GNUC_UNUSED, 642s # const gchar *signal_name, 642s # GVariant *parameters) 642s # { 642s # _ExtendedGDBusSignalInfo *info; 642s # GVariantIter iter; 642s # GVariant *child; 642s # GValue *paramv; 642s # gsize num_params; 642s # gsize n; 642s # guint signal_id; 642s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 642s # if (info == NULL) 642s # return; 642s # num_params = g_variant_n_children (parameters); 642s # paramv = g_new0 (GValue, num_params + 1); 642s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 642s # g_value_set_object (¶mv[0], proxy); 642s # g_variant_iter_init (&iter, parameters); 642s # n = 1; 642s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 642s # { 642s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 642s # if (arg_info->use_gvariant) 642s # { 642s # g_value_init (¶mv[n], G_TYPE_VARIANT); 642s # g_value_set_variant (¶mv[n], child); 642s # n++; 642s # } 642s # else 642s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 642s # g_variant_unref (child); 642s # } 642s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 642s # g_signal_emitv (paramv, signal_id, 0, NULL); 642s # for (n = 0; n < num_params + 1; n++) 642s # g_value_unset (¶mv[n]); 642s # g_free (paramv); 642s # } 642s # 642s # static void 642s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 642s # GVariant *changed_properties, 642s # const gchar *const *invalidated_properties) 642s # { 642s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 642s # guint n; 642s # const gchar *key; 642s # GVariantIter *iter; 642s # _ExtendedGDBusPropertyInfo *info; 642s # g_variant_get (changed_properties, "a{sv}", &iter); 642s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 642s # { 642s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 642s # g_datalist_remove_data (&proxy->priv->qdata, key); 642s # if (info != NULL) 642s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 642s # } 642s # g_variant_iter_free (iter); 642s # for (n = 0; invalidated_properties[n] != NULL; n++) 642s # { 642s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 642s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 642s # if (info != NULL) 642s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 642s # } 642s # } 642s # 642s # static GVariant * 642s # good_types_proxy_get_good_property_type (GoodTypes *object) 642s # { 642s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 642s # GVariant *variant; 642s # GVariant *value = NULL; 642s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 642s # value = variant; 642s # if (variant != NULL) 642s # g_variant_unref (variant); 642s # return value; 642s # } 642s # 642s # static void 642s # good_types_proxy_init (GoodTypesProxy *proxy) 642s # { 642s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 642s # proxy->priv = good_types_proxy_get_instance_private (proxy); 642s # #else 642s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 642s # #endif 642s # 642s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 642s # } 642s # 642s # static void 642s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 642s # { 642s # GObjectClass *gobject_class; 642s # GDBusProxyClass *proxy_class; 642s # 642s # gobject_class = G_OBJECT_CLASS (klass); 642s # gobject_class->finalize = good_types_proxy_finalize; 642s # gobject_class->get_property = good_types_proxy_get_property; 642s # gobject_class->set_property = good_types_proxy_set_property; 642s # 642s # proxy_class = G_DBUS_PROXY_CLASS (klass); 642s # proxy_class->g_signal = good_types_proxy_g_signal; 642s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 642s # 642s # good_types_override_properties (gobject_class, 1); 642s # 642s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 642s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 642s # #endif 642s # } 642s # 642s # static void 642s # good_types_proxy_iface_init (GoodTypesIface *iface) 642s # { 642s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 642s # } 642s # 642s # /** 642s # * good_types_proxy_new: 642s # * @connection: A #GDBusConnection. 642s # * @flags: Flags from the #GDBusProxyFlags enumeration. 642s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 642s # * @object_path: An object path. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 642s # * @user_data: User data to pass to @callback. 642s # * 642s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 642s # * 642s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 642s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 642s # * 642s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 642s # */ 642s # void 642s # good_types_proxy_new ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data) 642s # { 642s # 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); 642s # } 642s # 642s # /** 642s # * good_types_proxy_new_finish: 642s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 642s # * @error: Return location for error or %NULL 642s # * 642s # * Finishes an operation started with good_types_proxy_new(). 642s # * 642s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 642s # */ 642s # GoodTypes * 642s # good_types_proxy_new_finish ( 642s # GAsyncResult *res, 642s # GError **error) 642s # { 642s # GObject *ret; 642s # GObject *source_object; 642s # source_object = g_async_result_get_source_object (res); 642s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 642s # g_object_unref (source_object); 642s # if (ret != NULL) 642s # return GOOD_TYPES (ret); 642s # else 642s # return NULL; 642s # } 642s # 642s # /** 642s # * good_types_proxy_new_sync: 642s # * @connection: A #GDBusConnection. 642s # * @flags: Flags from the #GDBusProxyFlags enumeration. 642s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 642s # * @object_path: An object path. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @error: Return location for error or %NULL 642s # * 642s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 642s # * 642s # * The calling thread is blocked until a reply is received. 642s # * 642s # * See good_types_proxy_new() for the asynchronous version of this constructor. 642s # * 642s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 642s # */ 642s # GoodTypes * 642s # good_types_proxy_new_sync ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error) 642s # { 642s # GInitable *ret; 642s # 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); 642s # if (ret != NULL) 642s # return GOOD_TYPES (ret); 642s # else 642s # return NULL; 642s # } 642s # 642s # 642s # /** 642s # * good_types_proxy_new_for_bus: 642s # * @bus_type: A #GBusType. 642s # * @flags: Flags from the #GDBusProxyFlags enumeration. 642s # * @name: A bus name (well-known or unique). 642s # * @object_path: An object path. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 642s # * @user_data: User data to pass to @callback. 642s # * 642s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 642s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # good_types_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # 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); 643s # } 643s # 643s # /** 643s # * good_types_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with good_types_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # GoodTypes * 643s # good_types_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return GOOD_TYPES (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * good_types_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # GoodTypes * 643s # good_types_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return GOOD_TYPES (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * GoodTypesSkeleton: 643s # * 643s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * GoodTypesSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for GoodTypesSkeleton. 643s # */ 643s # 643s # struct _GoodTypesSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _good_types_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _good_types_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _good_types_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 643s # { 643s # _good_types_skeleton_handle_method_call, 643s # _good_types_skeleton_handle_get_property, 643s # _good_types_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return good_types_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_good_types_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static gboolean _good_types_emit_changed (gpointer user_data); 643s # 643s # static void 643s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 643s # gboolean emit_changed = FALSE; 643s # 643s # g_mutex_lock (&skeleton->priv->lock); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # { 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # skeleton->priv->changed_properties_idle_source = NULL; 643s # emit_changed = TRUE; 643s # } 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # 643s # if (emit_changed) 643s # _good_types_emit_changed (skeleton); 643s # } 643s # 643s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (GoodTypesSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # good_types_skeleton_finalize (GObject *object) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # guint n; 643s # for (n = 0; n < 1; n++) 643s # g_value_unset (&skeleton->priv->properties[n]); 643s # g_free (skeleton->priv->properties); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # good_types_skeleton_get_property (GObject *object, 643s # guint prop_id, 643s # GValue *value, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # g_assert (prop_id != 0 && prop_id - 1 < 1); 643s # g_mutex_lock (&skeleton->priv->lock); 643s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # } 643s # 643s # static gboolean 643s # _good_types_emit_changed (gpointer user_data) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 643s # GList *l; 643s # GVariantBuilder builder; 643s # GVariantBuilder invalidated_builder; 643s # guint num_changes; 643s # 643s # g_mutex_lock (&skeleton->priv->lock); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 643s # #else 643s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 643s # #endif 643s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 643s # { 643s # ChangedProperty *cp = l->data; 643s # GVariant *variant; 643s # const GValue *cur_value; 643s # 643s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 643s # if (!_g_value_equal (cur_value, &cp->orig_value)) 643s # { 643s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 643s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 643s # g_variant_unref (variant); 643s # num_changes++; 643s # } 643s # } 643s # if (num_changes > 0) 643s # { 643s # GList *connections, *ll; 643s # GVariant *signal_variant; 643s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 643s # &builder, &invalidated_builder)); 643s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 643s # for (ll = connections; ll != NULL; ll = ll->next) 643s # { 643s # GDBusConnection *connection = ll->data; 643s # 643s # g_dbus_connection_emit_signal (connection, 643s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 643s # "org.freedesktop.DBus.Properties", 643s # "PropertiesChanged", 643s # signal_variant, 643s # NULL); 643s # } 643s # g_variant_unref (signal_variant); 643s # g_list_free_full (connections, g_object_unref); 643s # } 643s # else 643s # { 643s # g_variant_builder_clear (&builder); 643s # g_variant_builder_clear (&invalidated_builder); 643s # } 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # skeleton->priv->changed_properties = NULL; 643s # skeleton->priv->changed_properties_idle_source = NULL; 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # return FALSE; 643s # } 643s # 643s # static void 643s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 643s # { 643s # ChangedProperty *cp; 643s # GList *l; 643s # cp = NULL; 643s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 643s # { 643s # ChangedProperty *i_cp = l->data; 643s # if (i_cp->info == info) 643s # { 643s # cp = i_cp; 643s # break; 643s # } 643s # } 643s # if (cp == NULL) 643s # { 643s # cp = g_new0 (ChangedProperty, 1); 643s # cp->prop_id = prop_id; 643s # cp->info = info; 643s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 643s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 643s # g_value_copy (orig_value, &cp->orig_value); 643s # } 643s # } 643s # 643s # static void 643s # good_types_skeleton_notify (GObject *object, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # g_mutex_lock (&skeleton->priv->lock); 643s # if (skeleton->priv->changed_properties != NULL && 643s # skeleton->priv->changed_properties_idle_source == NULL) 643s # { 643s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 643s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 643s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 643s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 643s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 643s # g_source_unref (skeleton->priv->changed_properties_idle_source); 643s # } 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # } 643s # 643s # static void 643s # good_types_skeleton_set_property (GObject *object, 643s # guint prop_id, 643s # const GValue *value, 643s # GParamSpec *pspec) 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # g_assert (prop_id != 0 && prop_id - 1 < 1); 643s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 643s # g_mutex_lock (&skeleton->priv->lock); 643s # g_object_freeze_notify (object); 643s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 643s # { 643s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 643s # info->emits_changed_signal) 643s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 643s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 643s # g_object_notify_by_pspec (object, pspec); 643s # } 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # g_object_thaw_notify (object); 643s # } 643s # 643s # static void 643s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # skeleton->priv->properties = g_new0 (GValue, 1); 643s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 643s # } 643s # 643s # static GVariant * 643s # good_types_skeleton_get_good_property_type (GoodTypes *object) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # GVariant *value; 643s # g_mutex_lock (&skeleton->priv->lock); 643s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # return value; 643s # } 643s # 643s # static void 643s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = good_types_skeleton_finalize; 643s # gobject_class->get_property = good_types_skeleton_get_property; 643s # gobject_class->set_property = good_types_skeleton_set_property; 643s # gobject_class->notify = good_types_skeleton_notify; 643s # 643s # 643s # good_types_override_properties (gobject_class, 1); 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # good_types_skeleton_iface_init (GoodTypesIface *iface) 643s # { 643s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 643s # } 643s # 643s # /** 643s # * good_types_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface GoodTypes. 643s # * 643s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 643s # */ 643s # GoodTypes * 643s # good_types_skeleton_new (void) 643s # { 643s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmph2wb9rme/tmp13uic8ds.xml: 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmp13uic8ds.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface GoodTypes 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:GoodTypes 643s # * @title: GoodTypes 643s # * @short_description: Generated C code for the GoodTypes D-Bus interface 643s # * 643s # * This section contains code for working with the GoodTypes D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for GoodTypes ---- */ 643s # 643s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 643s # { 643s # { 643s # -1, 643s # (gchar *) "GoodPropertyType", 643s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 643s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 643s # NULL 643s # }, 643s # "good-property-type", 643s # FALSE, 643s # TRUE 643s # }; 643s # 643s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 643s # { 643s # &_good_types_property_info_good_property_type.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "GoodTypes", 643s # NULL, 643s # NULL, 643s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 643s # NULL 643s # }, 643s # "good-types", 643s # }; 643s # 643s # 643s # /** 643s # * good_types_interface_info: 643s # * 643s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # good_types_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * good_types_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 643s # { 643s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # 643s # /** 643s # * GoodTypes: 643s # * 643s # * Abstract interface type for the D-Bus interface GoodTypes. 643s # */ 643s # 643s # /** 643s # * GoodTypesIface: 643s # * @parent_iface: The parent interface. 643s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 643s # * 643s # * Virtual table for the D-Bus interface GoodTypes. 643s # */ 643s # 643s # typedef GoodTypesIface GoodTypesInterface; 643s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 643s # 643s # static void 643s # good_types_default_init (GoodTypesIface *iface) 643s # { 643s # /* GObject properties for D-Bus properties: */ 643s # /** 643s # * GoodTypes:good-property-type: 643s # * 643s # * Represents the D-Bus property "GoodPropertyType". 643s # * 643s # * 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. 643s # */ 643s # g_object_interface_install_property (iface, 643s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 643s # } 643s # 643s # /** 643s # * good_types_get_good_property_type: (skip) 643s # * @object: A GoodTypes. 643s # * 643s # * Gets the value of the "GoodPropertyType" D-Bus property. 643s # * 643s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # GVariant * 643s # good_types_get_good_property_type (GoodTypes *object) 643s # { 643s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 643s # 643s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 643s # } 643s # 643s # /** 643s # * good_types_dup_good_property_type: (skip) 643s # * @object: A GoodTypes. 643s # * 643s # * Gets a copy of the "GoodPropertyType" D-Bus property. 643s # * 643s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 643s # * 643s # * 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(). 643s # */ 643s # GVariant * 643s # good_types_dup_good_property_type (GoodTypes *object) 643s # { 643s # GVariant *value; 643s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 643s # return value; 643s # } 643s # 643s # /** 643s # * good_types_set_good_property_type: (skip) 643s # * @object: A GoodTypes. 643s # * @value: The value to set. 643s # * 643s # * Sets the "GoodPropertyType" D-Bus property to @value. 643s # * 643s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 643s # */ 643s # void 643s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 643s # { 643s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * GoodTypesProxy: 643s # * 643s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * GoodTypesProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for GoodTypesProxy. 643s # */ 643s # 643s # struct _GoodTypesProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (GoodTypesProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # good_types_proxy_finalize (GObject *object) 643s # { 643s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # good_types_proxy_get_property (GObject *object, 643s # guint prop_id, 643s # GValue *value, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # GVariant *variant; 643s # g_assert (prop_id != 0 && prop_id - 1 < 1); 643s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 643s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 643s # if (info->use_gvariant) 643s # { 643s # g_value_set_variant (value, variant); 643s # } 643s # else 643s # { 643s # if (variant != NULL) 643s # g_dbus_gvariant_to_gvalue (variant, value); 643s # } 643s # if (variant != NULL) 643s # g_variant_unref (variant); 643s # } 643s # 643s # static void 643s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 643s # GAsyncResult *res, 643s # gpointer user_data) 643s # { 643s # const _ExtendedGDBusPropertyInfo *info = user_data; 643s # GError *error; 643s # GVariant *_ret; 643s # error = NULL; 643s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 643s # if (!_ret) 643s # { 643s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 643s # info->parent_struct.name, 643s # error->message, g_quark_to_string (error->domain), error->code); 643s # g_error_free (error); 643s # } 643s # else 643s # { 643s # g_variant_unref (_ret); 643s # } 643s # } 643s # 643s # static void 643s # good_types_proxy_set_property (GObject *object, 643s # guint prop_id, 643s # const GValue *value, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # GVariant *variant; 643s # g_assert (prop_id != 0 && prop_id - 1 < 1); 643s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 643s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_dbus_proxy_call (G_DBUS_PROXY (object), 643s # "org.freedesktop.DBus.Properties.Set", 643s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 643s # g_variant_unref (variant); 643s # } 643s # 643s # static void 643s # good_types_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static GVariant * 643s # good_types_proxy_get_good_property_type (GoodTypes *object) 643s # { 643s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 643s # GVariant *variant; 643s # GVariant *value = NULL; 643s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 643s # value = variant; 643s # if (variant != NULL) 643s # g_variant_unref (variant); 643s # return value; 643s # } 643s # 643s # static void 643s # good_types_proxy_init (GoodTypesProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = good_types_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 643s # } 643s # 643s # static void 643s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = good_types_proxy_finalize; 643s # gobject_class->get_property = good_types_proxy_get_property; 643s # gobject_class->set_property = good_types_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = good_types_proxy_g_signal; 643s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 643s # 643s # good_types_override_properties (gobject_class, 1); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # good_types_proxy_iface_init (GoodTypesIface *iface) 643s # { 643s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 643s # } 643s # 643s # /** 643s # * good_types_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # good_types_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # 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); 643s # } 643s # 643s # /** 643s # * good_types_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with good_types_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # GoodTypes * 643s # good_types_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return GOOD_TYPES (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * good_types_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See good_types_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # GoodTypes * 643s # good_types_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return GOOD_TYPES (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * good_types_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # good_types_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # 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); 643s # } 643s # 643s # /** 643s # * good_types_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with good_types_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # GoodTypes * 643s # good_types_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return GOOD_TYPES (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * good_types_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # GoodTypes * 643s # good_types_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return GOOD_TYPES (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * GoodTypesSkeleton: 643s # * 643s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * GoodTypesSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for GoodTypesSkeleton. 643s # */ 643s # 643s # struct _GoodTypesSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _good_types_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _good_types_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _good_types_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 643s # { 643s # _good_types_skeleton_handle_method_call, 643s # _good_types_skeleton_handle_get_property, 643s # _good_types_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return good_types_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_good_types_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static gboolean _good_types_emit_changed (gpointer user_data); 643s # 643s # static void 643s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 643s # gboolean emit_changed = FALSE; 643s # 643s # g_mutex_lock (&skeleton->priv->lock); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # { 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # skeleton->priv->changed_properties_idle_source = NULL; 643s # emit_changed = TRUE; 643s # } 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # 643s # if (emit_changed) 643s # _good_types_emit_changed (skeleton); 643s # } 643s # 643s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (GoodTypesSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # good_types_skeleton_finalize (GObject *object) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # guint n; 643s # for (n = 0; n < 1; n++) 643s # g_value_unset (&skeleton->priv->properties[n]); 643s # g_free (skeleton->priv->properties); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # good_types_skeleton_get_property (GObject *object, 643s # guint prop_id, 643s # GValue *value, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # g_assert (prop_id != 0 && prop_id - 1 < 1); 643s # g_mutex_lock (&skeleton->priv->lock); 643s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # } 643s # 643s # static gboolean 643s # _good_types_emit_changed (gpointer user_data) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 643s # GList *l; 643s # GVariantBuilder builder; 643s # GVariantBuilder invalidated_builder; 643s # guint num_changes; 643s # 643s # g_mutex_lock (&skeleton->priv->lock); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 643s # #else 643s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 643s # #endif 643s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 643s # { 643s # ChangedProperty *cp = l->data; 643s # GVariant *variant; 643s # const GValue *cur_value; 643s # 643s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 643s # if (!_g_value_equal (cur_value, &cp->orig_value)) 643s # { 643s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 643s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 643s # g_variant_unref (variant); 643s # num_changes++; 643s # } 643s # } 643s # if (num_changes > 0) 643s # { 643s # GList *connections, *ll; 643s # GVariant *signal_variant; 643s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 643s # &builder, &invalidated_builder)); 643s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 643s # for (ll = connections; ll != NULL; ll = ll->next) 643s # { 643s # GDBusConnection *connection = ll->data; 643s # 643s # g_dbus_connection_emit_signal (connection, 643s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 643s # "org.freedesktop.DBus.Properties", 643s # "PropertiesChanged", 643s # signal_variant, 643s # NULL); 643s # } 643s # g_variant_unref (signal_variant); 643s # g_list_free_full (connections, g_object_unref); 643s # } 643s # else 643s # { 643s # g_variant_builder_clear (&builder); 643s # g_variant_builder_clear (&invalidated_builder); 643s # } 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # skeleton->priv->changed_properties = NULL; 643s # skeleton->priv->changed_properties_idle_source = NULL; 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # return FALSE; 643s # } 643s # 643s # static void 643s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 643s # { 643s # ChangedProperty *cp; 643s # GList *l; 643s # cp = NULL; 643s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 643s # { 643s # ChangedProperty *i_cp = l->data; 643s # if (i_cp->info == info) 643s # { 643s # cp = i_cp; 643s # break; 643s # } 643s # } 643s # if (cp == NULL) 643s # { 643s # cp = g_new0 (ChangedProperty, 1); 643s # cp->prop_id = prop_id; 643s # cp->info = info; 643s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 643s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 643s # g_value_copy (orig_value, &cp->orig_value); 643s # } 643s # } 643s # 643s # static void 643s # good_types_skeleton_notify (GObject *object, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # g_mutex_lock (&skeleton->priv->lock); 643s # if (skeleton->priv->changed_properties != NULL && 643s # skeleton->priv->changed_properties_idle_source == NULL) 643s # { 643s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 643s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 643s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 643s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 643s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 643s # g_source_unref (skeleton->priv->changed_properties_idle_source); 643s # } 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # } 643s # 643s # static void 643s # good_types_skeleton_set_property (GObject *object, 643s # guint prop_id, 643s # const GValue *value, 643s # GParamSpec *pspec) 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # g_assert (prop_id != 0 && prop_id - 1 < 1); 643s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 643s # g_mutex_lock (&skeleton->priv->lock); 643s # g_object_freeze_notify (object); 643s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 643s # { 643s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 643s # info->emits_changed_signal) 643s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 643s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 643s # g_object_notify_by_pspec (object, pspec); 643s # } 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # g_object_thaw_notify (object); 643s # } 643s # 643s # static void 643s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # skeleton->priv->properties = g_new0 (GValue, 1); 643s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 643s # } 643s # 643s # static GVariant * 643s # good_types_skeleton_get_good_property_type (GoodTypes *object) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # GVariant *value; 643s # g_mutex_lock (&skeleton->priv->lock); 643s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # return value; 643s # } 643s # 643s # static void 643s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = good_types_skeleton_finalize; 643s # gobject_class->get_property = good_types_skeleton_get_property; 643s # gobject_class->set_property = good_types_skeleton_set_property; 643s # gobject_class->notify = good_types_skeleton_notify; 643s # 643s # 643s # good_types_override_properties (gobject_class, 1); 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # good_types_skeleton_iface_init (GoodTypesIface *iface) 643s # { 643s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 643s # } 643s # 643s # /** 643s # * good_types_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface GoodTypes. 643s # * 643s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 643s # */ 643s # GoodTypes * 643s # good_types_skeleton_new (void) 643s # { 643s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmph2wb9rme/tmpyr4oebi4.xml: 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2wb9rme/tmpyr4oebi4.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface GoodTypes 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:GoodTypes 643s # * @title: GoodTypes 643s # * @short_description: Generated C code for the GoodTypes D-Bus interface 643s # * 643s # * This section contains code for working with the GoodTypes D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for GoodTypes ---- */ 643s # 643s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 643s # { 643s # { 643s # -1, 643s # (gchar *) "GoodPropertyType", 643s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 643s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 643s # NULL 643s # }, 643s # "good-property-type", 643s # FALSE, 643s # TRUE 643s # }; 643s # 643s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 643s # { 643s # &_good_types_property_info_good_property_type.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "GoodTypes", 643s # NULL, 643s # NULL, 643s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 643s # NULL 643s # }, 643s # "good-types", 643s # }; 643s # 643s # 643s # /** 643s # * good_types_interface_info: 643s # * 643s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # good_types_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * good_types_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 643s # { 643s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # 643s # /** 643s # * GoodTypes: 643s # * 643s # * Abstract interface type for the D-Bus interface GoodTypes. 643s # */ 643s # 643s # /** 643s # * GoodTypesIface: 643s # * @parent_iface: The parent interface. 643s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 643s # * 643s # * Virtual table for the D-Bus interface GoodTypes. 643s # */ 643s # 643s # typedef GoodTypesIface GoodTypesInterface; 643s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 643s # 643s # static void 643s # good_types_default_init (GoodTypesIface *iface) 643s # { 643s # /* GObject properties for D-Bus properties: */ 643s # /** 643s # * GoodTypes:good-property-type: 643s # * 643s # * Represents the D-Bus property "GoodPropertyType". 643s # * 643s # * 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. 643s # */ 643s # g_object_interface_install_property (iface, 643s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 643s # } 643s # 643s # /** 643s # * good_types_get_good_property_type: (skip) 643s # * @object: A GoodTypes. 643s # * 643s # * Gets the value of the "GoodPropertyType" D-Bus property. 643s # * 643s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # GVariant * 643s # good_types_get_good_property_type (GoodTypes *object) 643s # { 643s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 643s # 643s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 643s # } 643s # 643s # /** 643s # * good_types_dup_good_property_type: (skip) 643s # * @object: A GoodTypes. 643s # * 643s # * Gets a copy of the "GoodPropertyType" D-Bus property. 643s # * 643s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 643s # * 643s # * 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(). 643s # */ 643s # GVariant * 643s # good_types_dup_good_property_type (GoodTypes *object) 643s # { 643s # GVariant *value; 643s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 643s # return value; 643s # } 643s # 643s # /** 643s # * good_types_set_good_property_type: (skip) 643s # * @object: A GoodTypes. 643s # * @value: The value to set. 643s # * 643s # * Sets the "GoodPropertyType" D-Bus property to @value. 643s # * 643s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 643s # */ 643s # void 643s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 643s # { 643s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * GoodTypesProxy: 643s # * 643s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * GoodTypesProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for GoodTypesProxy. 643s # */ 643s # 643s # struct _GoodTypesProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (GoodTypesProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # good_types_proxy_finalize (GObject *object) 643s # { 643s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # good_types_proxy_get_property (GObject *object, 643s # guint prop_id, 643s # GValue *value, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # GVariant *variant; 643s # g_assert (prop_id != 0 && prop_id - 1 < 1); 643s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 643s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 643s # if (info->use_gvariant) 643s # { 643s # g_value_set_variant (value, variant); 643s # } 643s # else 643s # { 643s # if (variant != NULL) 643s # g_dbus_gvariant_to_gvalue (variant, value); 643s # } 643s # if (variant != NULL) 643s # g_variant_unref (variant); 643s # } 643s # 643s # static void 643s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 643s # GAsyncResult *res, 643s # gpointer user_data) 643s # { 643s # const _ExtendedGDBusPropertyInfo *info = user_data; 643s # GError *error; 643s # GVariant *_ret; 643s # error = NULL; 643s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 643s # if (!_ret) 643s # { 643s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 643s # info->parent_struct.name, 643s # error->message, g_quark_to_string (error->domain), error->code); 643s # g_error_free (error); 643s # } 643s # else 643s # { 643s # g_variant_unref (_ret); 643s # } 643s # } 643s # 643s # static void 643s # good_types_proxy_set_property (GObject *object, 643s # guint prop_id, 643s # const GValue *value, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # GVariant *variant; 643s # g_assert (prop_id != 0 && prop_id - 1 < 1); 643s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 643s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_dbus_proxy_call (G_DBUS_PROXY (object), 643s # "org.freedesktop.DBus.Properties.Set", 643s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 643s # g_variant_unref (variant); 643s # } 643s # 643s # static void 643s # good_types_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static GVariant * 643s # good_types_proxy_get_good_property_type (GoodTypes *object) 643s # { 643s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 643s # GVariant *variant; 643s # GVariant *value = NULL; 643s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 643s # value = variant; 643s # if (variant != NULL) 643s # g_variant_unref (variant); 643s # return value; 643s # } 643s # 643s # static void 643s # good_types_proxy_init (GoodTypesProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = good_types_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 643s # } 643s # 643s # static void 643s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = good_types_proxy_finalize; 643s # gobject_class->get_property = good_types_proxy_get_property; 643s # gobject_class->set_property = good_types_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = good_types_proxy_g_signal; 643s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 643s # 643s # good_types_override_properties (gobject_class, 1); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # good_types_proxy_iface_init (GoodTypesIface *iface) 643s # { 643s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 643s # } 643s # 643s # /** 643s # * good_types_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # good_types_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # 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); 643s # } 643s # 643s # /** 643s # * good_types_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with good_types_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # GoodTypes * 643s # good_types_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return GOOD_TYPES (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * good_types_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See good_types_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # GoodTypes * 643s # good_types_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return GOOD_TYPES (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * good_types_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # good_types_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # 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); 643s # } 643s # 643s # /** 643s # * good_types_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with good_types_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # GoodTypes * 643s # good_types_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return GOOD_TYPES (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * good_types_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # GoodTypes * 643s # good_types_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return GOOD_TYPES (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * GoodTypesSkeleton: 643s # * 643s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * GoodTypesSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for GoodTypesSkeleton. 643s # */ 643s # 643s # struct _GoodTypesSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _good_types_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _good_types_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _good_types_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 643s # { 643s # _good_types_skeleton_handle_method_call, 643s # _good_types_skeleton_handle_get_property, 643s # _good_types_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return good_types_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_good_types_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static gboolean _good_types_emit_changed (gpointer user_data); 643s # 643s # static void 643s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 643s # gboolean emit_changed = FALSE; 643s # 643s # g_mutex_lock (&skeleton->priv->lock); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # { 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # skeleton->priv->changed_properties_idle_source = NULL; 643s # emit_changed = TRUE; 643s # } 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # 643s # if (emit_changed) 643s # _good_types_emit_changed (skeleton); 643s # } 643s # 643s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (GoodTypesSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # good_types_skeleton_finalize (GObject *object) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # guint n; 643s # for (n = 0; n < 1; n++) 643s # g_value_unset (&skeleton->priv->properties[n]); 643s # g_free (skeleton->priv->properties); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # good_types_skeleton_get_property (GObject *object, 643s # guint prop_id, 643s # GValue *value, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # g_assert (prop_id != 0 && prop_id - 1 < 1); 643s # g_mutex_lock (&skeleton->priv->lock); 643s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # } 643s # 643s # static gboolean 643s # _good_types_emit_changed (gpointer user_data) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 643s # GList *l; 643s # GVariantBuilder builder; 643s # GVariantBuilder invalidated_builder; 643s # guint num_changes; 643s # 643s # g_mutex_lock (&skeleton->priv->lock); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 643s # #else 643s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 643s # #endif 643s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 643s # { 643s # ChangedProperty *cp = l->data; 643s # GVariant *variant; 643s # const GValue *cur_value; 643s # 643s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 643s # if (!_g_value_equal (cur_value, &cp->orig_value)) 643s # { 643s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 643s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 643s # g_variant_unref (variant); 643s # num_changes++; 643s # } 643s # } 643s # if (num_changes > 0) 643s # { 643s # GList *connections, *ll; 643s # GVariant *signal_variant; 643s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 643s # &builder, &invalidated_builder)); 643s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 643s # for (ll = connections; ll != NULL; ll = ll->next) 643s # { 643s # GDBusConnection *connection = ll->data; 643s # 643s # g_dbus_connection_emit_signal (connection, 643s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 643s # "org.freedesktop.DBus.Properties", 643s # "PropertiesChanged", 643s # signal_variant, 643s # NULL); 643s # } 643s # g_variant_unref (signal_variant); 643s # g_list_free_full (connections, g_object_unref); 643s # } 643s # else 643s # { 643s # g_variant_builder_clear (&builder); 643s # g_variant_builder_clear (&invalidated_builder); 643s # } 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # skeleton->priv->changed_properties = NULL; 643s # skeleton->priv->changed_properties_idle_source = NULL; 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # return FALSE; 643s # } 643s # 643s # static void 643s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 643s # { 643s # ChangedProperty *cp; 643s # GList *l; 643s # cp = NULL; 643s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 643s # { 643s # ChangedProperty *i_cp = l->data; 643s # if (i_cp->info == info) 643s # { 643s # cp = i_cp; 643s # break; 643s # } 643s # } 643s # if (cp == NULL) 643s # { 643s # cp = g_new0 (ChangedProperty, 1); 643s # cp->prop_id = prop_id; 643s # cp->info = info; 643s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 643s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 643s # g_value_copy (orig_value, &cp->orig_value); 643s # } 643s # } 643s # 643s # static void 643s # good_types_skeleton_notify (GObject *object, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # g_mutex_lock (&skeleton->priv->lock); 643s # if (skeleton->priv->changed_properties != NULL && 643s # skeleton->priv->changed_properties_idle_source == NULL) 643s # { 643s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 643s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 643s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 643s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 643s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 643s # g_source_unref (skeleton->priv->changed_properties_idle_source); 643s # } 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # } 643s # 643s # static void 643s # good_types_skeleton_set_property (GObject *object, 643s # guint prop_id, 643s # const GValue *value, 643s # GParamSpec *pspec) 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # g_assert (prop_id != 0 && prop_id - 1 < 1); 643s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 643s # g_mutex_lock (&skeleton->priv->lock); 643s # g_object_freeze_notify (object); 643s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 643s # { 643s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 643s # info->emits_changed_signal) 643s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 643s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 643s # g_object_notify_by_pspec (object, pspec); 643s # } 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # g_object_thaw_notify (object); 643s # } 643s # 643s # static void 643s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # skeleton->priv->properties = g_new0 (GValue, 1); 643s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 643s # } 643s # 643s # static GVariant * 643s # good_types_skeleton_get_good_property_type (GoodTypes *object) 643s # { 643s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 643s # GVariant *value; 643s # g_mutex_lock (&skeleton->priv->lock); 643s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 643s # g_mutex_unlock (&skeleton->priv->lock); 643s # return value; 643s # } 643s # 643s # static void 643s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = good_types_skeleton_finalize; 643s # gobject_class->get_property = good_types_skeleton_get_property; 643s # gobject_class->set_property = good_types_skeleton_set_property; 643s # gobject_class->notify = good_types_skeleton_notify; 643s # 643s # 643s # good_types_override_properties (gobject_class, 1); 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # good_types_skeleton_iface_init (GoodTypesIface *iface) 643s # { 643s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 643s # } 643s # 643s # /** 643s # * good_types_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface GoodTypes. 643s # * 643s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 643s # */ 643s # GoodTypes * 643s # good_types_skeleton_new (void) 643s # { 643s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 643s # } 643s # Error: 643s ok 3 __main__.TestCodegen.test_empty_interface_body 643s # gdbus-codegen: /usr/bin/gdbus-codegen 643s # tmpdir: /tmp/tmprn5ok0ze 643s # /tmp/tmprn5ok0ze/tmpx_ihvhbj.xml: 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprn5ok0ze/tmpx_ihvhbj.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # Error: 643s ok 4 __main__.TestCodegen.test_empty_interface_header 643s # gdbus-codegen: /usr/bin/gdbus-codegen 643s # tmpdir: /tmp/tmpan3i8omy 643s # /tmp/tmpan3i8omy/tmpotfbomge.xml: 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpan3i8omy/tmpotfbomge.xml', '--output', '-', '--header'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifndef __STDOUT__ 643s # #define __STDOUT__ 643s # 643s # #include 643s # 643s # G_BEGIN_DECLS 643s # 643s # 643s # G_END_DECLS 643s # 643s # #endif /* __STDOUT__ */ 643s # Error: 643s ok 5 __main__.TestCodegen.test_empty_interface_info_body 643s # gdbus-codegen: /usr/bin/gdbus-codegen 643s # tmpdir: /tmp/tmpmwunh2jy 643s # /tmp/tmpmwunh2jy/tmpksfa4t89.xml: 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmwunh2jy/tmpksfa4t89.xml', '--output', '-', '--interface-info-body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # Error: 643s ok 6 __main__.TestCodegen.test_empty_interface_info_header 643s # gdbus-codegen: /usr/bin/gdbus-codegen 643s # tmpdir: /tmp/tmpjd9u7c5y 643s # /tmp/tmpjd9u7c5y/tmp0mbvp2db.xml: 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjd9u7c5y/tmp0mbvp2db.xml', '--output', '-', '--interface-info-header'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifndef __STDOUT__ 643s # #define __STDOUT__ 643s # 643s # #include 643s # 643s # G_BEGIN_DECLS 643s # 643s # 643s # G_END_DECLS 643s # 643s # #endif /* __STDOUT__ */ 643s # Error: 643s ok 7 __main__.TestCodegen.test_generate_docbook 643s # gdbus-codegen: /usr/bin/gdbus-codegen 643s # tmpdir: /tmp/tmprvfwrl4o 643s # /tmp/tmprvfwrl4o/tmpc0hhrenk.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprvfwrl4o/tmpc0hhrenk.xml', '--generate-docbook', 'test'] 643s # Return code: 0 643s # Output: 643s # 643s # Error: 643s ok 8 __main__.TestCodegen.test_generate_md 643s # gdbus-codegen: /usr/bin/gdbus-codegen 643s # tmpdir: /tmp/tmprcggmkhr 643s # /tmp/tmprcggmkhr/tmpe__las97.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprcggmkhr/tmpe__las97.xml', '--generate-md', 'test'] 643s # Return code: 0 643s # Output: 643s # 643s # Error: 643s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 643s # gdbus-codegen: /usr/bin/gdbus-codegen 643s # tmpdir: /tmp/tmphe3fzu17 643s # /tmp/tmphe3fzu17/tmpk5ayzier.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphe3fzu17/tmpk5ayzier.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 2); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.CallableIface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectCallableIface 643s # * @title: OrgProjectCallableIface 643s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.CallableIface ---- */ 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SimpleMethod", 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-simple-method", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 643s # { 643s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.CallableIface", 643s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-callable-iface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_callable_iface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_callable_iface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_callable_iface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_callable_iface_method_marshal_simple_method ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectCallableIface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 643s # */ 643s # 643s # /** 643s # * OrgProjectCallableIfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.CallableIface. 643s # */ 643s # 643s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectCallableIface::handle-simple-method: 643s # * @object: A #OrgProjectCallableIface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * 643s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-simple-method", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_callable_iface_method_marshal_simple_method, 643s # G_TYPE_BOOLEAN, 643s # 1, 643s # G_TYPE_DBUS_METHOD_INVOCATION); 643s # 643s # } 643s # 643s # /** 643s # * org_project_callable_iface_call_simple_method: 643s # * @proxy: A #OrgProjectCallableIfaceProxy. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 643s # * 643s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_callable_iface_call_simple_method ( 643s # OrgProjectCallableIface *proxy, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SimpleMethod", 643s # g_variant_new ("()"), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_callable_iface_call_simple_method_finish: 643s # * @proxy: A #OrgProjectCallableIfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_callable_iface_call_simple_method_finish ( 643s # OrgProjectCallableIface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_callable_iface_call_simple_method_sync: 643s # * @proxy: A #OrgProjectCallableIfaceProxy. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_callable_iface_call_simple_method_sync ( 643s # OrgProjectCallableIface *proxy, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SimpleMethod", 643s # g_variant_new ("()"), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_callable_iface_complete_simple_method: 643s # * @object: A #OrgProjectCallableIface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_callable_iface_complete_simple_method ( 643s # OrgProjectCallableIface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectCallableIfaceProxy: 643s # * 643s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectCallableIfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectCallableIfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectCallableIfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_callable_iface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 643s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 643s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_callable_iface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_callable_iface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # 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); 643s # } 643s # 643s # /** 643s # * org_project_callable_iface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectCallableIface * 643s # org_project_callable_iface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_CALLABLE_IFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_callable_iface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectCallableIface * 643s # org_project_callable_iface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_CALLABLE_IFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_callable_iface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_callable_iface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # 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); 643s # } 643s # 643s # /** 643s # * org_project_callable_iface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectCallableIface * 643s # org_project_callable_iface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_CALLABLE_IFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_callable_iface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectCallableIface * 643s # org_project_callable_iface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_CALLABLE_IFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectCallableIfaceSkeleton: 643s # * 643s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectCallableIfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectCallableIfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectCallableIfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_callable_iface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_callable_iface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_callable_iface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 643s # { 643s # _org_project_callable_iface_skeleton_handle_method_call, 643s # _org_project_callable_iface_skeleton_handle_get_property, 643s # _org_project_callable_iface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_callable_iface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_callable_iface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_callable_iface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectCallableIface * 643s # org_project_callable_iface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.OtherCallableIface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectOtherCallableIface 643s # * @title: OrgProjectOtherCallableIface 643s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SimpleMethod", 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-simple-method", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 643s # { 643s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.OtherCallableIface", 643s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-other-callable-iface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_other_callable_iface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_other_callable_iface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_other_callable_iface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_other_callable_iface_method_marshal_simple_method ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectOtherCallableIface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 643s # */ 643s # 643s # /** 643s # * OrgProjectOtherCallableIfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 643s # */ 643s # 643s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectOtherCallableIface::handle-simple-method: 643s # * @object: A #OrgProjectOtherCallableIface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * 643s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-simple-method", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_other_callable_iface_method_marshal_simple_method, 643s # G_TYPE_BOOLEAN, 643s # 1, 643s # G_TYPE_DBUS_METHOD_INVOCATION); 643s # 643s # } 643s # 643s # /** 643s # * org_project_other_callable_iface_call_simple_method: 643s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 643s # * 643s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_other_callable_iface_call_simple_method ( 643s # OrgProjectOtherCallableIface *proxy, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SimpleMethod", 643s # g_variant_new ("()"), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_other_callable_iface_call_simple_method_finish: 643s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_other_callable_iface_call_simple_method_finish ( 643s # OrgProjectOtherCallableIface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_other_callable_iface_call_simple_method_sync: 643s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_other_callable_iface_call_simple_method_sync ( 643s # OrgProjectOtherCallableIface *proxy, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SimpleMethod", 643s # g_variant_new ("()"), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_other_callable_iface_complete_simple_method: 643s # * @object: A #OrgProjectOtherCallableIface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_other_callable_iface_complete_simple_method ( 643s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectOtherCallableIfaceProxy: 643s # * 643s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectOtherCallableIfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectOtherCallableIfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_other_callable_iface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 643s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 643s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_other_callable_iface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_other_callable_iface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # 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); 643s # } 643s # 643s # /** 643s # * org_project_other_callable_iface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectOtherCallableIface * 643s # org_project_other_callable_iface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_other_callable_iface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectOtherCallableIface * 643s # org_project_other_callable_iface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_other_callable_iface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_other_callable_iface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # 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); 643s # } 643s # 643s # /** 643s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectOtherCallableIface * 643s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectOtherCallableIface * 643s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectOtherCallableIfaceSkeleton: 643s # * 643s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectOtherCallableIfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_other_callable_iface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_other_callable_iface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_other_callable_iface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 643s # { 643s # _org_project_other_callable_iface_skeleton_handle_method_call, 643s # _org_project_other_callable_iface_skeleton_handle_get_property, 643s # _org_project_other_callable_iface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_other_callable_iface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_other_callable_iface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectOtherCallableIface * 643s # org_project_other_callable_iface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # Executing: glib/codegen.py.test 643s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 643s # gdbus-codegen: /usr/bin/gdbus-codegen 643s # tmpdir: /tmp/tmp3u5zuh73 643s # /tmp/tmp3u5zuh73/tmp8lb39bhg.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmp8lb39bhg.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # gboolean arg_arg_b, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_boolean (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_b", 643s # (gchar *) "b", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodB", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-b", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_b ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_b: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-b", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_b, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_b: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_b: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_b ( 643s # OrgProjectUsefulInterface *proxy, 643s # gboolean arg_arg_b, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodB", 643s # g_variant_new ("(b)", 643s # arg_arg_b), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_b_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_b_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_b_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_b: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_b_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # gboolean arg_arg_b, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodB", 643s # g_variant_new ("(b)", 643s # arg_arg_b), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_b: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_b ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmpe6ndc0xo.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmpe6ndc0xo.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # guchar arg_arg_y, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_uchar (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_y", 643s # (gchar *) "y", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodY", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-y", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_y ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_y: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-y", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_y, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_y: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_y: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_y ( 643s # OrgProjectUsefulInterface *proxy, 643s # guchar arg_arg_y, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodY", 643s # g_variant_new ("(y)", 643s # arg_arg_y), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_y_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_y_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_y_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_y: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_y_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # guchar arg_arg_y, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodY", 643s # g_variant_new ("(y)", 643s # arg_arg_y), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_y: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_y ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmp0hg8t9ud.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmp0hg8t9ud.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # gint16 arg_arg_n, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_int (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_n", 643s # (gchar *) "n", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodN", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-n", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_n ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_n: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-n", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_n, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_n: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_n: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_n ( 643s # OrgProjectUsefulInterface *proxy, 643s # gint16 arg_arg_n, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodN", 643s # g_variant_new ("(n)", 643s # arg_arg_n), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_n_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_n_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_n_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_n: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_n_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # gint16 arg_arg_n, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodN", 643s # g_variant_new ("(n)", 643s # arg_arg_n), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_n: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_n ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmpcslsfgeu.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmpcslsfgeu.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # guint16 arg_arg_q, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_uint (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_q", 643s # (gchar *) "q", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodQ", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-q", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_q ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_q: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-q", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_q, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_q: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_q: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_q ( 643s # OrgProjectUsefulInterface *proxy, 643s # guint16 arg_arg_q, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodQ", 643s # g_variant_new ("(q)", 643s # arg_arg_q), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_q_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_q_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_q_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_q: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_q_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # guint16 arg_arg_q, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodQ", 643s # g_variant_new ("(q)", 643s # arg_arg_q), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_q: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_q ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmp0ahs8xvy.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmp0ahs8xvy.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # gint arg_arg_i, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_int (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_i", 643s # (gchar *) "i", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodI", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-i", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_i ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_i: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-i", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_i, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_i: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_i: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_i ( 643s # OrgProjectUsefulInterface *proxy, 643s # gint arg_arg_i, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodI", 643s # g_variant_new ("(i)", 643s # arg_arg_i), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_i_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_i_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_i_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_i: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_i_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # gint arg_arg_i, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodI", 643s # g_variant_new ("(i)", 643s # arg_arg_i), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_i: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_i ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmp2m9yln4m.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmp2m9yln4m.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # guint arg_arg_u, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_uint (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_u", 643s # (gchar *) "u", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodU", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-u", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_u ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_u: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-u", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_u, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_u: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_u: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_u ( 643s # OrgProjectUsefulInterface *proxy, 643s # guint arg_arg_u, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodU", 643s # g_variant_new ("(u)", 643s # arg_arg_u), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_u_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_u_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_u_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_u: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_u_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # guint arg_arg_u, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodU", 643s # g_variant_new ("(u)", 643s # arg_arg_u), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_u: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_u ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmpfgr2u3nj.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmpfgr2u3nj.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # gint64 arg_arg_x, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_int64 (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_x", 643s # (gchar *) "x", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodX", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-x", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_x ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_x: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-x", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_x, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_x: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_x: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_x ( 643s # OrgProjectUsefulInterface *proxy, 643s # gint64 arg_arg_x, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodX", 643s # g_variant_new ("(x)", 643s # arg_arg_x), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_x_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_x_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_x_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_x: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_x_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # gint64 arg_arg_x, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodX", 643s # g_variant_new ("(x)", 643s # arg_arg_x), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_x: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_x ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmpdeh0t6w3.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmpdeh0t6w3.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # guint64 arg_arg_t, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_uint64 (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_t", 643s # (gchar *) "t", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodT", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-t", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_t ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_t: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-t", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_t, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_t: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_t: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_t ( 643s # OrgProjectUsefulInterface *proxy, 643s # guint64 arg_arg_t, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodT", 643s # g_variant_new ("(t)", 643s # arg_arg_t), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_t_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_t_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_t_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_t: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_t_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # guint64 arg_arg_t, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodT", 643s # g_variant_new ("(t)", 643s # arg_arg_t), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_t: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_t ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmpdvezfubc.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmpdvezfubc.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # gdouble arg_arg_d, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_double (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_d", 643s # (gchar *) "d", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodD", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-d", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_d ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_d: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-d", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_d, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_d: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_d: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_d ( 643s # OrgProjectUsefulInterface *proxy, 643s # gdouble arg_arg_d, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodD", 643s # g_variant_new ("(d)", 643s # arg_arg_d), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_d_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_d_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_d_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_d: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_d_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # gdouble arg_arg_d, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodD", 643s # g_variant_new ("(d)", 643s # arg_arg_d), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_d: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_d ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmpo2a4g5ns.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmpo2a4g5ns.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # const gchar *arg_arg_s, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_string (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_s", 643s # (gchar *) "s", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodS", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-s", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_s ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_s: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-s", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_s, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_s: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_s: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_s ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *arg_arg_s, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodS", 643s # g_variant_new ("(s)", 643s # arg_arg_s), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_s_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_s_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_s_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_s: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_s_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *arg_arg_s, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodS", 643s # g_variant_new ("(s)", 643s # arg_arg_s), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_s: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_s ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmpxgs7kob4.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmpxgs7kob4.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # const gchar *arg_arg_o, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_string (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_o", 643s # (gchar *) "o", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodO", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-o", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_o ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_o: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-o", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_o, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_o: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_o: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_o ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *arg_arg_o, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodO", 643s # g_variant_new ("(o)", 643s # arg_arg_o), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_o_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_o_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_o_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_o: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_o_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *arg_arg_o, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodO", 643s # g_variant_new ("(o)", 643s # arg_arg_o), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_o: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_o ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmp65b3nuyw.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmp65b3nuyw.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # const gchar *arg_arg_g, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_string (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_g", 643s # (gchar *) "g", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodG", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-g", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_g ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_g: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-g", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_g, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_g: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_g: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_g ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *arg_arg_g, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodG", 643s # g_variant_new ("(g)", 643s # arg_arg_g), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_g_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_g_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_g_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_g: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_g_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *arg_arg_g, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodG", 643s # g_variant_new ("(g)", 643s # arg_arg_g), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_g: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_g ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmp4lttw3w4.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmp4lttw3w4.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # GVariant *arg_arg_h, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_variant (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_h", 643s # (gchar *) "h", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodH", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-h", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_h ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_h: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-h", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_h, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_h: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_h: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_h ( 643s # OrgProjectUsefulInterface *proxy, 643s # GVariant *arg_arg_h, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodH", 643s # g_variant_new ("(@h)", 643s # arg_arg_h), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_h_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_h_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_h_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_h: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_h_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # GVariant *arg_arg_h, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodH", 643s # g_variant_new ("(@h)", 643s # arg_arg_h), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_h: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_h ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmp_33k0f2_.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmp_33k0f2_.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # const gchar *arg_arg_ay, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_string (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_ay", 643s # (gchar *) "ay", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodAy", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-ay", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_ay: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-ay", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_ay, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_ay: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_ay: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_ay ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *arg_arg_ay, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodAy", 643s # g_variant_new ("(^ay)", 643s # arg_arg_ay), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_ay_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_ay_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_ay_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_ay: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_ay_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *arg_arg_ay, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodAy", 643s # g_variant_new ("(^ay)", 643s # arg_arg_ay), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_ay: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_ay ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmpjvsqr9tt.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmpjvsqr9tt.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # const gchar *const *arg_arg_as, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_boxed (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_as", 643s # (gchar *) "as", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodAs", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-as", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_as ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_as: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-as", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_as, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_as: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_as: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_as ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *const *arg_arg_as, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodAs", 643s # g_variant_new ("(^as)", 643s # arg_arg_as), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_as_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_as_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_as_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_as: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_as_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *const *arg_arg_as, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodAs", 643s # g_variant_new ("(^as)", 643s # arg_arg_as), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_as: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_as ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmpultpebou.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmpultpebou.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # const gchar *const *arg_arg_ao, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_boxed (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_ao", 643s # (gchar *) "ao", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodAo", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-ao", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_ao: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-ao", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_ao, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_ao: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_ao: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_ao ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *const *arg_arg_ao, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodAo", 643s # g_variant_new ("(^ao)", 643s # arg_arg_ao), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_ao_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_ao_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_ao_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_ao: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_ao_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *const *arg_arg_ao, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodAo", 643s # g_variant_new ("(^ao)", 643s # arg_arg_ao), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_ao: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_ao ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 643s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 643s # g_value_unset (&return_value); 643s # for (n = 0; n < num_params + num_extra; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static GVariant * 643s # _org_project_useful_interface_skeleton_handle_get_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # GVariant *ret; 643s # ret = NULL; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # g_value_init (&value, pspec->value_type); 643s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 643s # g_value_unset (&value); 643s # } 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _org_project_useful_interface_skeleton_handle_set_property ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name G_GNUC_UNUSED, 643s # const gchar *property_name, 643s # GVariant *variant, 643s # GError **error, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # GValue value = G_VALUE_INIT; 643s # GParamSpec *pspec; 643s # _ExtendedGDBusPropertyInfo *info; 643s # gboolean ret; 643s # ret = FALSE; 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 643s # g_assert (info != NULL); 643s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 643s # if (pspec == NULL) 643s # { 643s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 643s # } 643s # else 643s # { 643s # if (info->use_gvariant) 643s # g_value_set_variant (&value, variant); 643s # else 643s # g_dbus_gvariant_to_gvalue (variant, &value); 643s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 643s # g_value_unset (&value); 643s # ret = TRUE; 643s # } 643s # return ret; 643s # } 643s # 643s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 643s # { 643s # _org_project_useful_interface_skeleton_handle_method_call, 643s # _org_project_useful_interface_skeleton_handle_get_property, 643s # _org_project_useful_interface_skeleton_handle_set_property, 643s # {NULL} 643s # }; 643s # 643s # static GDBusInterfaceInfo * 643s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return org_project_useful_interface_interface_info (); 643s # } 643s # 643s # static GDBusInterfaceVTable * 643s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 643s # { 643s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 643s # } 643s # 643s # static GVariant * 643s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 643s # 643s # GVariantBuilder builder; 643s # guint n; 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 643s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #else 643s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 643s # #endif 643s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 643s # goto out; 643s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 643s # { 643s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 643s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 643s # { 643s # GVariant *value; 643s # 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); 643s # if (value != NULL) 643s # { 643s # g_variant_take_ref (value); 643s # g_variant_builder_add (&builder, "{sv}", info->name, value); 643s # g_variant_unref (value); 643s # } 643s # } 643s # } 643s # out: 643s # return g_variant_builder_end (&builder); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_skeleton_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 643s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 643s # if (skeleton->priv->changed_properties_idle_source != NULL) 643s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 643s # g_main_context_unref (skeleton->priv->context); 643s # g_mutex_clear (&skeleton->priv->lock); 643s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 643s # #else 643s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 643s # #endif 643s # 643s # g_mutex_init (&skeleton->priv->lock); 643s # skeleton->priv->context = g_main_context_ref_thread_default (); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusInterfaceSkeletonClass *skeleton_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 643s # 643s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 643s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 643s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 643s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 643s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_skeleton_new: 643s # * 643s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_skeleton_new (void) 643s # { 643s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 643s # } 643s # Error: 643s # 643s # /tmp/tmp3u5zuh73/tmp8s10pugh.xml: 643s # 643s # 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmp8s10pugh.xml', '--output', '-', '--body'] 643s # Return code: 0 643s # Output: 643s # /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifdef HAVE_CONFIG_H 643s # # include "config.h" 643s # #endif 643s # 643s # #include 643s # #ifdef G_OS_UNIX 643s # # include 643s # #endif 643s # 643s # #ifdef G_ENABLE_DEBUG 643s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 643s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 643s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 643s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 643s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 643s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 643s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 643s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 643s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 643s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 643s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 643s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 643s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 643s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 643s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 643s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 643s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 643s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 643s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 643s # #else /* !G_ENABLE_DEBUG */ 643s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 643s # * Do not access GValues directly in your code. Instead, use the 643s # * g_value_get_*() functions 643s # */ 643s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 643s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 643s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 643s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 643s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 643s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 643s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 643s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 643s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 643s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 643s # #endif /* !G_ENABLE_DEBUG */ 643s # 643s # typedef struct 643s # { 643s # GDBusArgInfo parent_struct; 643s # gboolean use_gvariant; 643s # } _ExtendedGDBusArgInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusMethodInfo parent_struct; 643s # const gchar *signal_name; 643s # gboolean pass_fdlist; 643s # } _ExtendedGDBusMethodInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusSignalInfo parent_struct; 643s # const gchar *signal_name; 643s # } _ExtendedGDBusSignalInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusPropertyInfo parent_struct; 643s # const gchar *hyphen_name; 643s # guint use_gvariant : 1; 643s # guint emits_changed_signal : 1; 643s # } _ExtendedGDBusPropertyInfo; 643s # 643s # typedef struct 643s # { 643s # GDBusInterfaceInfo parent_struct; 643s # const gchar *hyphen_name; 643s # } _ExtendedGDBusInterfaceInfo; 643s # 643s # typedef struct 643s # { 643s # const _ExtendedGDBusPropertyInfo *info; 643s # guint prop_id; 643s # GValue orig_value; /* the value before the change */ 643s # } ChangedProperty; 643s # 643s # static void 643s # _changed_property_free (ChangedProperty *data) 643s # { 643s # g_value_unset (&data->orig_value); 643s # g_free (data); 643s # } 643s # 643s # static gboolean 643s # _g_strv_equal0 (gchar **a, gchar **b) 643s # { 643s # gboolean ret = FALSE; 643s # guint n; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # if (g_strv_length (a) != g_strv_length (b)) 643s # goto out; 643s # for (n = 0; a[n] != NULL; n++) 643s # if (g_strcmp0 (a[n], b[n]) != 0) 643s # goto out; 643s # ret = TRUE; 643s # out: 643s # return ret; 643s # } 643s # 643s # static gboolean 643s # _g_variant_equal0 (GVariant *a, GVariant *b) 643s # { 643s # gboolean ret = FALSE; 643s # if (a == NULL && b == NULL) 643s # { 643s # ret = TRUE; 643s # goto out; 643s # } 643s # if (a == NULL || b == NULL) 643s # goto out; 643s # ret = g_variant_equal (a, b); 643s # out: 643s # return ret; 643s # } 643s # 643s # G_GNUC_UNUSED static gboolean 643s # _g_value_equal (const GValue *a, const GValue *b) 643s # { 643s # gboolean ret = FALSE; 643s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 643s # switch (G_VALUE_TYPE (a)) 643s # { 643s # case G_TYPE_BOOLEAN: 643s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 643s # break; 643s # case G_TYPE_UCHAR: 643s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 643s # break; 643s # case G_TYPE_INT: 643s # ret = (g_value_get_int (a) == g_value_get_int (b)); 643s # break; 643s # case G_TYPE_UINT: 643s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 643s # break; 643s # case G_TYPE_INT64: 643s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 643s # break; 643s # case G_TYPE_UINT64: 643s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 643s # break; 643s # case G_TYPE_DOUBLE: 643s # { 643s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 643s # gdouble da = g_value_get_double (a); 643s # gdouble db = g_value_get_double (b); 643s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 643s # } 643s # break; 643s # case G_TYPE_STRING: 643s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 643s # break; 643s # case G_TYPE_VARIANT: 643s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 643s # break; 643s # default: 643s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 643s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 643s # else 643s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 643s # break; 643s # } 643s # return ret; 643s # } 643s # 643s # static void 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint G_GNUC_UNUSED, 643s # void *marshal_data) 643s # { 643s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 643s # (void *data1, 643s # GDBusMethodInvocation *arg_method_invocation, 643s # const gchar *const *arg_arg_aay, 643s # void *data2); 643s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 643s # GCClosure *cc = (GCClosure*) closure; 643s # void *data1, *data2; 643s # gboolean v_return; 643s # 643s # g_return_if_fail (return_value != NULL); 643s # g_return_if_fail (n_param_values == 3); 643s # 643s # if (G_CCLOSURE_SWAP_DATA (closure)) 643s # { 643s # data1 = closure->data; 643s # data2 = g_value_peek_pointer (param_values + 0); 643s # } 643s # else 643s # { 643s # data1 = g_value_peek_pointer (param_values + 0); 643s # data2 = closure->data; 643s # } 643s # 643s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 643s # (marshal_data ? marshal_data : cc->callback); 643s # 643s # v_return = 643s # callback (data1, 643s # g_marshal_value_peek_object (param_values + 1), 643s # g_marshal_value_peek_boxed (param_values + 2), 643s # data2); 643s # 643s # g_value_set_boolean (return_value, v_return); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ 643s # * Code for interface org.project.UsefulInterface 643s # * ------------------------------------------------------------------------ 643s # */ 643s # 643s # /** 643s # * SECTION:OrgProjectUsefulInterface 643s # * @title: OrgProjectUsefulInterface 643s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 643s # * 643s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 643s # */ 643s # 643s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 643s # 643s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 643s # { 643s # { 643s # -1, 643s # (gchar *) "arg_aay", 643s # (gchar *) "aay", 643s # NULL 643s # }, 643s # FALSE 643s # }; 643s # 643s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 643s # { 643s # { 643s # -1, 643s # (gchar *) "SingleArgMethodAay", 643s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 643s # NULL, 643s # NULL 643s # }, 643s # "handle-single-arg-method-aay", 643s # FALSE 643s # }; 643s # 643s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 643s # { 643s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 643s # NULL 643s # }; 643s # 643s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 643s # { 643s # { 643s # -1, 643s # (gchar *) "org.project.UsefulInterface", 643s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 643s # NULL, 643s # NULL, 643s # NULL 643s # }, 643s # "org-project-useful-interface", 643s # }; 643s # 643s # 643s # /** 643s # * org_project_useful_interface_interface_info: 643s # * 643s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 643s # * 643s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 643s # */ 643s # GDBusInterfaceInfo * 643s # org_project_useful_interface_interface_info (void) 643s # { 643s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_override_properties: 643s # * @klass: The class structure for a #GObject derived class. 643s # * @property_id_begin: The property id to assign to the first overridden property. 643s # * 643s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 643s # * The properties are overridden in the order they are defined. 643s # * 643s # * Returns: The last property id. 643s # */ 643s # guint 643s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 643s # { 643s # return property_id_begin - 1; 643s # } 643s # 643s # 643s # inline static void 643s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 643s # GClosure *closure, 643s # GValue *return_value, 643s # unsigned int n_param_values, 643s # const GValue *param_values, 643s # void *invocation_hint, 643s # void *marshal_data) 643s # { 643s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 643s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 643s # } 643s # 643s # 643s # /** 643s # * OrgProjectUsefulInterface: 643s # * 643s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceIface: 643s # * @parent_iface: The parent interface. 643s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 643s # * 643s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 643s # */ 643s # 643s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 643s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 643s # 643s # static void 643s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 643s # { 643s # /* GObject signals for incoming D-Bus method calls: */ 643s # /** 643s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: A #GDBusMethodInvocation. 643s # * @arg_arg_aay: Argument passed by remote caller. 643s # * 643s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 643s # * 643s # * 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. 643s # * 643s # * 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. 643s # */ 643s # g_signal_new ("handle-single-arg-method-aay", 643s # G_TYPE_FROM_INTERFACE (iface), 643s # G_SIGNAL_RUN_LAST, 643s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 643s # g_signal_accumulator_true_handled, 643s # NULL, 643s # org_project_useful_interface_method_marshal_single_arg_method_aay, 643s # G_TYPE_BOOLEAN, 643s # 2, 643s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 643s # 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_aay: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_aay: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 643s # */ 643s # void 643s # org_project_useful_interface_call_single_arg_method_aay ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *const *arg_arg_aay, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodAay", 643s # g_variant_new ("(^aay)", 643s # arg_arg_aay), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # callback, 643s # user_data); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_aay_finish: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_aay_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_call_single_arg_method_aay_sync: 643s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 643s # * @arg_arg_aay: Argument to pass with the method invocation. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL. 643s # * 643s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 643s # * 643s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 643s # */ 643s # gboolean 643s # org_project_useful_interface_call_single_arg_method_aay_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # const gchar *const *arg_arg_aay, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GVariant *_ret; 643s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 643s # "SingleArgMethodAay", 643s # g_variant_new ("(^aay)", 643s # arg_arg_aay), 643s # G_DBUS_CALL_FLAGS_NONE, 643s # -1, 643s # cancellable, 643s # error); 643s # if (_ret == NULL) 643s # goto _out; 643s # g_variant_get (_ret, 643s # "()"); 643s # g_variant_unref (_ret); 643s # _out: 643s # return _ret != NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_complete_single_arg_method_aay: 643s # * @object: A #OrgProjectUsefulInterface. 643s # * @invocation: (transfer full): A #GDBusMethodInvocation. 643s # * 643s # * 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. 643s # * 643s # * This method will free @invocation, you cannot use it afterwards. 643s # */ 643s # void 643s # org_project_useful_interface_complete_single_arg_method_aay ( 643s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 643s # GDBusMethodInvocation *invocation) 643s # { 643s # g_dbus_method_invocation_return_value (invocation, 643s # g_variant_new ("()")); 643s # } 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxy: 643s # * 643s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceProxyClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceProxy. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceProxyPrivate 643s # { 643s # GData *qdata; 643s # }; 643s # 643s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #else 643s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 643s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 643s # 643s # #endif 643s # static void 643s # org_project_useful_interface_proxy_finalize (GObject *object) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 643s # g_datalist_clear (&proxy->priv->qdata); 643s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 643s # guint prop_id G_GNUC_UNUSED, 643s # const GValue *value G_GNUC_UNUSED, 643s # GParamSpec *pspec G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 643s # const gchar *sender_name G_GNUC_UNUSED, 643s # const gchar *signal_name, 643s # GVariant *parameters) 643s # { 643s # _ExtendedGDBusSignalInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # gsize n; 643s # guint signal_id; 643s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 643s # if (info == NULL) 643s # return; 643s # num_params = g_variant_n_children (parameters); 643s # paramv = g_new0 (GValue, num_params + 1); 643s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[0], proxy); 643s # g_variant_iter_init (&iter, parameters); 643s # n = 1; 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_signal_emitv (paramv, signal_id, 0, NULL); 643s # for (n = 0; n < num_params + 1; n++) 643s # g_value_unset (¶mv[n]); 643s # g_free (paramv); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 643s # GVariant *changed_properties, 643s # const gchar *const *invalidated_properties) 643s # { 643s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 643s # guint n; 643s # const gchar *key; 643s # GVariantIter *iter; 643s # _ExtendedGDBusPropertyInfo *info; 643s # g_variant_get (changed_properties, "a{sv}", &iter); 643s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 643s # g_datalist_remove_data (&proxy->priv->qdata, key); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # g_variant_iter_free (iter); 643s # for (n = 0; invalidated_properties[n] != NULL; n++) 643s # { 643s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 643s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 643s # if (info != NULL) 643s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 643s # } 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 643s # { 643s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 643s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 643s # #else 643s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 643s # #endif 643s # 643s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 643s # { 643s # GObjectClass *gobject_class; 643s # GDBusProxyClass *proxy_class; 643s # 643s # gobject_class = G_OBJECT_CLASS (klass); 643s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 643s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 643s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 643s # 643s # proxy_class = G_DBUS_PROXY_CLASS (klass); 643s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 643s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 643s # 643s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 643s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 643s # #endif 643s # } 643s # 643s # static void 643s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 643s # { 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_sync: 643s # * @connection: A #GDBusConnection. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 643s # * @user_data: User data to pass to @callback. 643s # * 643s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 643s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 643s # */ 643s # void 643s # org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data) 643s # { 643s # g_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); 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_finish: 643s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 643s # * @error: Return location for error or %NULL 643s # * 643s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error) 643s # { 643s # GObject *ret; 643s # GObject *source_object; 643s # source_object = g_async_result_get_source_object (res); 643s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 643s # g_object_unref (source_object); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # /** 643s # * org_project_useful_interface_proxy_new_for_bus_sync: 643s # * @bus_type: A #GBusType. 643s # * @flags: Flags from the #GDBusProxyFlags enumeration. 643s # * @name: A bus name (well-known or unique). 643s # * @object_path: An object path. 643s # * @cancellable: (nullable): A #GCancellable or %NULL. 643s # * @error: Return location for error or %NULL 643s # * 643s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 643s # * 643s # * The calling thread is blocked until a reply is received. 643s # * 643s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 643s # * 643s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 643s # */ 643s # OrgProjectUsefulInterface * 643s # org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error) 643s # { 643s # GInitable *ret; 643s # 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); 643s # if (ret != NULL) 643s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 643s # else 643s # return NULL; 643s # } 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeleton: 643s # * 643s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 643s # */ 643s # 643s # /** 643s # * OrgProjectUsefulInterfaceSkeletonClass: 643s # * @parent_class: The parent class. 643s # * 643s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 643s # */ 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 643s # { 643s # GValue *properties; 643s # GList *changed_properties; 643s # GSource *changed_properties_idle_source; 643s # GMainContext *context; 643s # GMutex lock; 643s # }; 643s # 643s # static void 643s # _org_project_useful_interface_skeleton_handle_method_call ( 643s # GDBusConnection *connection G_GNUC_UNUSED, 643s # const gchar *sender G_GNUC_UNUSED, 643s # const gchar *object_path G_GNUC_UNUSED, 643s # const gchar *interface_name, 643s # const gchar *method_name, 643s # GVariant *parameters, 643s # GDBusMethodInvocation *invocation, 643s # gpointer user_data) 643s # { 643s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 643s # _ExtendedGDBusMethodInfo *info; 643s # GVariantIter iter; 643s # GVariant *child; 643s # GValue *paramv; 643s # gsize num_params; 643s # guint num_extra; 643s # gsize n; 643s # guint signal_id; 643s # GValue return_value = G_VALUE_INIT; 643s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 643s # g_assert (info != NULL); 643s # num_params = g_variant_n_children (parameters); 643s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 643s # n = 0; 643s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_set_object (¶mv[n++], skeleton); 643s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 643s # g_value_set_object (¶mv[n++], invocation); 643s # if (info->pass_fdlist) 643s # { 643s # #ifdef G_OS_UNIX 643s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 643s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 643s # #else 643s # g_assert_not_reached (); 643s # #endif 643s # } 643s # g_variant_iter_init (&iter, parameters); 643s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 643s # { 643s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 643s # if (arg_info->use_gvariant) 643s # { 643s # g_value_init (¶mv[n], G_TYPE_VARIANT); 643s # g_value_set_variant (¶mv[n], child); 643s # n++; 643s # } 643s # else 643s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 643s # g_variant_unref (child); 643s # } 643s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 643s # g_value_init (&return_value, G_TYPE_BOOLEAN); 643s # g_signal_emitv (paramv, signal_id, 0, &return_value); 643s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmp3u5zuh73/tmpbelabigx.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u5zuh73/tmpbelabigx.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # GVariant *arg_arg_asv, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 3); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # g_marshal_value_peek_variant (param_values + 2), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_asv", 644s # (gchar *) "a{sv}", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodAsv", 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 644s # NULL, 644s # NULL 644s # }, 644s # "handle-single-arg-method-asv", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * @arg_arg_asv: Argument passed by remote caller. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-asv", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_asv, 644s # G_TYPE_BOOLEAN, 644s # 2, 644s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_asv: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @arg_arg_asv: Argument to pass with the method invocation. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_asv ( 644s # OrgProjectUsefulInterface *proxy, 644s # GVariant *arg_arg_asv, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodAsv", 644s # g_variant_new ("(@a{sv})", 644s # arg_arg_asv), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_asv_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_asv_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "()"); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_asv_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @arg_arg_asv: Argument to pass with the method invocation. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_asv_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # GVariant *arg_arg_asv, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodAsv", 644s # g_variant_new ("(@a{sv})", 644s # arg_arg_asv), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "()"); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_asv: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_asv ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("()")); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 644s # gdbus-codegen: /usr/bin/gdbus-codegen 644s # tmpdir: /tmp/tmpfdlhbx6c 644s # /tmp/tmpfdlhbx6c/tmph8ng_8cq.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmph8ng_8cq.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_b", 644s # (gchar *) "b", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodB", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-b", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_b ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-b", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_b, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_b: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_b ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodB", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_b_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_b_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # gboolean *out_arg_b, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(b)", 644s # out_arg_b); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_b_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_b_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # gboolean *out_arg_b, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodB", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(b)", 644s # out_arg_b); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_b: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_b: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_b ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # gboolean arg_b) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(b)", 644s # arg_b)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmpfa8_8f45.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmpfa8_8f45.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_y", 644s # (gchar *) "y", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodY", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-y", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_y ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-y", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_y, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_y: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_y ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodY", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_y_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_y_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # guchar *out_arg_y, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(y)", 644s # out_arg_y); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_y_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_y_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # guchar *out_arg_y, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodY", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(y)", 644s # out_arg_y); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_y: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_y: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_y ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # guchar arg_y) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(y)", 644s # arg_y)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmps8gk82r0.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmps8gk82r0.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_n", 644s # (gchar *) "n", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodN", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-n", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_n ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-n", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_n, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_n: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_n ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodN", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_n_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_n_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # gint16 *out_arg_n, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(n)", 644s # out_arg_n); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_n_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_n_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # gint16 *out_arg_n, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodN", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(n)", 644s # out_arg_n); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_n: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_n: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_n ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # gint16 arg_n) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(n)", 644s # arg_n)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmpk69v6tyy.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmpk69v6tyy.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_q", 644s # (gchar *) "q", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodQ", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-q", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_q ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-q", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_q, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_q: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_q ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodQ", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_q_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_q_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # guint16 *out_arg_q, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(q)", 644s # out_arg_q); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_q_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_q_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # guint16 *out_arg_q, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodQ", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(q)", 644s # out_arg_q); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_q: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_q: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_q ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # guint16 arg_q) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(q)", 644s # arg_q)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmpmdr5ruds.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmpmdr5ruds.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_i", 644s # (gchar *) "i", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodI", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-i", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_i ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-i", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_i, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_i: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_i ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodI", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_i_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_i_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # gint *out_arg_i, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(i)", 644s # out_arg_i); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_i_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_i_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # gint *out_arg_i, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodI", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(i)", 644s # out_arg_i); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_i: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_i: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_i ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # gint arg_i) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(i)", 644s # arg_i)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmpbaeymmwn.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmpbaeymmwn.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_u", 644s # (gchar *) "u", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodU", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-u", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_u ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-u", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_u, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_u: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_u ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodU", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_u_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_u_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # guint *out_arg_u, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(u)", 644s # out_arg_u); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_u_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_u_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # guint *out_arg_u, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodU", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(u)", 644s # out_arg_u); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_u: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_u: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_u ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # guint arg_u) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(u)", 644s # arg_u)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmpzmwockv0.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmpzmwockv0.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_x", 644s # (gchar *) "x", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodX", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-x", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_x ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-x", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_x, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_x: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_x ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodX", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_x_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_x_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # gint64 *out_arg_x, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(x)", 644s # out_arg_x); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_x_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_x_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # gint64 *out_arg_x, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodX", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(x)", 644s # out_arg_x); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_x: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_x: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_x ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # gint64 arg_x) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(x)", 644s # arg_x)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmpp44_6pto.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmpp44_6pto.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_t", 644s # (gchar *) "t", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodT", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-t", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_t ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-t", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_t, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_t: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_t ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodT", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_t_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_t_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # guint64 *out_arg_t, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(t)", 644s # out_arg_t); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_t_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_t_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # guint64 *out_arg_t, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodT", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(t)", 644s # out_arg_t); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_t: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_t: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_t ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # guint64 arg_t) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(t)", 644s # arg_t)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmpjuth7ixa.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmpjuth7ixa.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_d", 644s # (gchar *) "d", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodD", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-d", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_d ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-d", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_d, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_d: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_d ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodD", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_d_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_d_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # gdouble *out_arg_d, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(d)", 644s # out_arg_d); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_d_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_d_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # gdouble *out_arg_d, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodD", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(d)", 644s # out_arg_d); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_d: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_d: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_d ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # gdouble arg_d) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(d)", 644s # arg_d)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmp5px4_dhp.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmp5px4_dhp.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_s", 644s # (gchar *) "s", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodS", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-s", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_s ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-s", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_s, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_s: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_s ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodS", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_s_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_s_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar **out_arg_s, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(s)", 644s # out_arg_s); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_s_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_s_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar **out_arg_s, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodS", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(s)", 644s # out_arg_s); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_s: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_s: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_s ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # const gchar *arg_s) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(s)", 644s # arg_s)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmp955g9j5m.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmp955g9j5m.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_o", 644s # (gchar *) "o", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodO", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-o", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_o ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-o", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_o, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_o: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_o ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodO", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_o_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_o_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar **out_arg_o, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(o)", 644s # out_arg_o); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_o_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_o_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar **out_arg_o, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodO", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(o)", 644s # out_arg_o); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_o: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_o: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_o ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # const gchar *arg_o) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(o)", 644s # arg_o)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmp4jlw5u8c.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmp4jlw5u8c.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_g", 644s # (gchar *) "g", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodG", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-g", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_g ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-g", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_g, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_g: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_g ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodG", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_g_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_g_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar **out_arg_g, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(g)", 644s # out_arg_g); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_g_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_g_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar **out_arg_g, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodG", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(g)", 644s # out_arg_g); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_g: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_g: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_g ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # const gchar *arg_g) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(g)", 644s # arg_g)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmpk75704bi.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmpk75704bi.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_h", 644s # (gchar *) "h", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodH", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-h", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_h ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-h", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_h, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_h: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_h ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodH", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_h_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_h_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # GVariant **out_arg_h, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(@h)", 644s # out_arg_h); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_h_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_h_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # GVariant **out_arg_h, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodH", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(@h)", 644s # out_arg_h); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_h: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_h: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_h ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # GVariant *arg_h) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(@h)", 644s # arg_h)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmp165oxtsy.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmp165oxtsy.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_ay", 644s # (gchar *) "ay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodAy", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-ay", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-ay", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_ay, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_ay: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_ay ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodAy", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_ay_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_ay_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar **out_arg_ay, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(^ay)", 644s # out_arg_ay); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_ay_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_ay_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar **out_arg_ay, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodAy", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(^ay)", 644s # out_arg_ay); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_ay: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_ay: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_ay ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # const gchar *arg_ay) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(^ay)", 644s # arg_ay)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmp5j3_1xib.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmp5j3_1xib.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_as", 644s # (gchar *) "as", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodAs", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-as", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_as ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-as", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_as, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_as: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_as ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodAs", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_as_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_as_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar ***out_arg_as, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(^as)", 644s # out_arg_as); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_as_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_as_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar ***out_arg_as, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodAs", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(^as)", 644s # out_arg_as); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_as: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_as: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_as ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # const gchar *const *arg_as) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(^as)", 644s # arg_as)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmp181qfjtj.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmp181qfjtj.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_ao", 644s # (gchar *) "ao", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodAo", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-ao", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-ao", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_ao, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_ao: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_ao ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodAo", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_ao_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_ao_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar ***out_arg_ao, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(^ao)", 644s # out_arg_ao); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_ao_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_ao_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar ***out_arg_ao, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodAo", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(^ao)", 644s # out_arg_ao); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_ao: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_ao: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_ao ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # const gchar *const *arg_ao) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(^ao)", 644s # arg_ao)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmpsrdski3c.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmpsrdski3c.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_aay", 644s # (gchar *) "aay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodAay", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-aay", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-aay", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_aay, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_aay: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_aay ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodAay", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_aay_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_aay_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar ***out_arg_aay, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(^aay)", 644s # out_arg_aay); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_aay_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_aay_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # gchar ***out_arg_aay, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodAay", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(^aay)", 644s # out_arg_aay); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_aay: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_aay: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_aay ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # const gchar *const *arg_aay) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(^aay)", 644s # arg_aay)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s # 644s # /tmp/tmpfdlhbx6c/tmpb0yrlmpc.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfdlhbx6c/tmpb0yrlmpc.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 644s # { 644s # { 644s # -1, 644s # (gchar *) "arg_asv", 644s # (gchar *) "a{sv}", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgMethodAsv", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-single-arg-method-asv", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-single-arg-method-asv", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_useful_interface_method_marshal_single_arg_method_asv, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_asv: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_useful_interface_call_single_arg_method_asv ( 644s # OrgProjectUsefulInterface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodAsv", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_asv_finish: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_asv_finish ( 644s # OrgProjectUsefulInterface *proxy, 644s # GVariant **out_arg_asv, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(@a{sv})", 644s # out_arg_asv); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_call_single_arg_method_asv_sync: 644s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 644s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_useful_interface_call_single_arg_method_asv_sync ( 644s # OrgProjectUsefulInterface *proxy, 644s # GVariant **out_arg_asv, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SingleArgMethodAsv", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(@a{sv})", 644s # out_arg_asv); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_complete_single_arg_method_asv: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @arg_asv: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_useful_interface_complete_single_arg_method_asv ( 644s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # GVariant *arg_asv) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(@a{sv})", 644s # arg_asv)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 644s # gdbus-codegen: /usr/bin/gdbus-codegen 644s # tmpdir: /tmp/tmpyn3k3jzd 644s # /tmp/tmpyn3k3jzd/tmpxysa5ikx.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyn3k3jzd/tmpxysa5ikx.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # gboolean arg_an_b, 644s # guchar arg_an_y, 644s # gint16 arg_an_n, 644s # guint16 arg_an_q, 644s # gint arg_an_i, 644s # guint arg_an_u, 644s # gint64 arg_an_x, 644s # guint64 arg_an_t, 644s # gdouble arg_an_d, 644s # const gchar *arg_an_s, 644s # const gchar *arg_an_o, 644s # const gchar *arg_an_g, 644s # GVariant *arg_an_h, 644s # const gchar *arg_an_ay, 644s # const gchar *const *arg_an_as, 644s # const gchar *const *arg_an_ao, 644s # const gchar *const *arg_an_aay, 644s # GVariant *arg_an_asv, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 20); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # g_marshal_value_peek_boolean (param_values + 2), 644s # g_marshal_value_peek_uchar (param_values + 3), 644s # g_marshal_value_peek_int (param_values + 4), 644s # g_marshal_value_peek_uint (param_values + 5), 644s # g_marshal_value_peek_int (param_values + 6), 644s # g_marshal_value_peek_uint (param_values + 7), 644s # g_marshal_value_peek_int64 (param_values + 8), 644s # g_marshal_value_peek_uint64 (param_values + 9), 644s # g_marshal_value_peek_double (param_values + 10), 644s # g_marshal_value_peek_string (param_values + 11), 644s # g_marshal_value_peek_string (param_values + 12), 644s # g_marshal_value_peek_string (param_values + 13), 644s # g_marshal_value_peek_variant (param_values + 14), 644s # g_marshal_value_peek_string (param_values + 15), 644s # g_marshal_value_peek_boxed (param_values + 16), 644s # g_marshal_value_peek_boxed (param_values + 17), 644s # g_marshal_value_peek_boxed (param_values + 18), 644s # g_marshal_value_peek_variant (param_values + 19), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.CallableIface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectCallableIface 644s # * @title: OrgProjectCallableIface 644s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.CallableIface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_b", 644s # (gchar *) "b", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_y", 644s # (gchar *) "y", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_n", 644s # (gchar *) "n", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_q", 644s # (gchar *) "q", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_i", 644s # (gchar *) "i", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_u", 644s # (gchar *) "u", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_x", 644s # (gchar *) "x", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_t", 644s # (gchar *) "t", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_d", 644s # (gchar *) "d", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_s", 644s # (gchar *) "s", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_o", 644s # (gchar *) "o", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_g", 644s # (gchar *) "g", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_h", 644s # (gchar *) "h", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_ay", 644s # (gchar *) "ay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_as", 644s # (gchar *) "as", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_ao", 644s # (gchar *) "ao", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_aay", 644s # (gchar *) "aay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_asv", 644s # (gchar *) "a{sv}", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 644s # { 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 644s # { 644s # { 644s # -1, 644s # (gchar *) "MethodWithManyArgs", 644s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 644s # NULL, 644s # NULL 644s # }, 644s # "handle-method-with-many-args", 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_b", 644s # (gchar *) "b", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_y", 644s # (gchar *) "y", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_n", 644s # (gchar *) "n", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_q", 644s # (gchar *) "q", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_i", 644s # (gchar *) "i", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_u", 644s # (gchar *) "u", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_x", 644s # (gchar *) "x", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_t", 644s # (gchar *) "t", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_d", 644s # (gchar *) "d", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_s", 644s # (gchar *) "s", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_o", 644s # (gchar *) "o", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_g", 644s # (gchar *) "g", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_h", 644s # (gchar *) "h", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_ay", 644s # (gchar *) "ay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_as", 644s # (gchar *) "as", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_ao", 644s # (gchar *) "ao", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_aay", 644s # (gchar *) "aay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_asv", 644s # (gchar *) "a{sv}", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 644s # { 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SameMethodWithManyArgs", 644s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 644s # NULL, 644s # NULL 644s # }, 644s # "handle-same-method-with-many-args", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 644s # { 644s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 644s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.CallableIface", 644s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-callable-iface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_callable_iface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_callable_iface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_callable_iface_method_marshal_method_with_many_args ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _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, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _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, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectCallableIface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 644s # */ 644s # 644s # /** 644s # * OrgProjectCallableIfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 644s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.CallableIface. 644s # */ 644s # 644s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectCallableIface::handle-method-with-many-args: 644s # * @object: A #OrgProjectCallableIface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * @arg_an_b: Argument passed by remote caller. 644s # * @arg_an_y: Argument passed by remote caller. 644s # * @arg_an_n: Argument passed by remote caller. 644s # * @arg_an_q: Argument passed by remote caller. 644s # * @arg_an_i: Argument passed by remote caller. 644s # * @arg_an_u: Argument passed by remote caller. 644s # * @arg_an_x: Argument passed by remote caller. 644s # * @arg_an_t: Argument passed by remote caller. 644s # * @arg_an_d: Argument passed by remote caller. 644s # * @arg_an_s: Argument passed by remote caller. 644s # * @arg_an_o: Argument passed by remote caller. 644s # * @arg_an_g: Argument passed by remote caller. 644s # * @arg_an_h: Argument passed by remote caller. 644s # * @arg_an_ay: Argument passed by remote caller. 644s # * @arg_an_as: Argument passed by remote caller. 644s # * @arg_an_ao: Argument passed by remote caller. 644s # * @arg_an_aay: Argument passed by remote caller. 644s # * @arg_an_asv: Argument passed by remote caller. 644s # * 644s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-method-with-many-args", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_callable_iface_method_marshal_method_with_many_args, 644s # G_TYPE_BOOLEAN, 644s # 19, 644s # 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); 644s # 644s # /** 644s # * OrgProjectCallableIface::handle-same-method-with-many-args: 644s # * @object: A #OrgProjectCallableIface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * @arg_an_b: Argument passed by remote caller. 644s # * @arg_an_y: Argument passed by remote caller. 644s # * @arg_an_n: Argument passed by remote caller. 644s # * @arg_an_q: Argument passed by remote caller. 644s # * @arg_an_i: Argument passed by remote caller. 644s # * @arg_an_u: Argument passed by remote caller. 644s # * @arg_an_x: Argument passed by remote caller. 644s # * @arg_an_t: Argument passed by remote caller. 644s # * @arg_an_d: Argument passed by remote caller. 644s # * @arg_an_s: Argument passed by remote caller. 644s # * @arg_an_o: Argument passed by remote caller. 644s # * @arg_an_g: Argument passed by remote caller. 644s # * @arg_an_h: Argument passed by remote caller. 644s # * @arg_an_ay: Argument passed by remote caller. 644s # * @arg_an_as: Argument passed by remote caller. 644s # * @arg_an_ao: Argument passed by remote caller. 644s # * @arg_an_aay: Argument passed by remote caller. 644s # * @arg_an_asv: Argument passed by remote caller. 644s # * 644s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-same-method-with-many-args", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_callable_iface_method_marshal_same_method_with_many_args, 644s # G_TYPE_BOOLEAN, 644s # 19, 644s # 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); 644s # 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_call_method_with_many_args: 644s # * @proxy: A #OrgProjectCallableIfaceProxy. 644s # * @arg_an_b: Argument to pass with the method invocation. 644s # * @arg_an_y: Argument to pass with the method invocation. 644s # * @arg_an_n: Argument to pass with the method invocation. 644s # * @arg_an_q: Argument to pass with the method invocation. 644s # * @arg_an_i: Argument to pass with the method invocation. 644s # * @arg_an_u: Argument to pass with the method invocation. 644s # * @arg_an_x: Argument to pass with the method invocation. 644s # * @arg_an_t: Argument to pass with the method invocation. 644s # * @arg_an_d: Argument to pass with the method invocation. 644s # * @arg_an_s: Argument to pass with the method invocation. 644s # * @arg_an_o: Argument to pass with the method invocation. 644s # * @arg_an_g: Argument to pass with the method invocation. 644s # * @arg_an_h: Argument to pass with the method invocation. 644s # * @arg_an_ay: Argument to pass with the method invocation. 644s # * @arg_an_as: Argument to pass with the method invocation. 644s # * @arg_an_ao: Argument to pass with the method invocation. 644s # * @arg_an_aay: Argument to pass with the method invocation. 644s # * @arg_an_asv: Argument to pass with the method invocation. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 644s # * 644s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_callable_iface_call_method_with_many_args ( 644s # OrgProjectCallableIface *proxy, 644s # gboolean arg_an_b, 644s # guchar arg_an_y, 644s # gint16 arg_an_n, 644s # guint16 arg_an_q, 644s # gint arg_an_i, 644s # guint arg_an_u, 644s # gint64 arg_an_x, 644s # guint64 arg_an_t, 644s # gdouble arg_an_d, 644s # const gchar *arg_an_s, 644s # const gchar *arg_an_o, 644s # const gchar *arg_an_g, 644s # GVariant *arg_an_h, 644s # const gchar *arg_an_ay, 644s # const gchar *const *arg_an_as, 644s # const gchar *const *arg_an_ao, 644s # const gchar *const *arg_an_aay, 644s # GVariant *arg_an_asv, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "MethodWithManyArgs", 644s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 644s # arg_an_b, 644s # arg_an_y, 644s # arg_an_n, 644s # arg_an_q, 644s # arg_an_i, 644s # arg_an_u, 644s # arg_an_x, 644s # arg_an_t, 644s # arg_an_d, 644s # arg_an_s, 644s # arg_an_o, 644s # arg_an_g, 644s # arg_an_h, 644s # arg_an_ay, 644s # arg_an_as, 644s # arg_an_ao, 644s # arg_an_aay, 644s # arg_an_asv), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_call_method_with_many_args_finish: 644s # * @proxy: A #OrgProjectCallableIfaceProxy. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_callable_iface_call_method_with_many_args_finish ( 644s # OrgProjectCallableIface *proxy, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "()"); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_call_method_with_many_args_sync: 644s # * @proxy: A #OrgProjectCallableIfaceProxy. 644s # * @arg_an_b: Argument to pass with the method invocation. 644s # * @arg_an_y: Argument to pass with the method invocation. 644s # * @arg_an_n: Argument to pass with the method invocation. 644s # * @arg_an_q: Argument to pass with the method invocation. 644s # * @arg_an_i: Argument to pass with the method invocation. 644s # * @arg_an_u: Argument to pass with the method invocation. 644s # * @arg_an_x: Argument to pass with the method invocation. 644s # * @arg_an_t: Argument to pass with the method invocation. 644s # * @arg_an_d: Argument to pass with the method invocation. 644s # * @arg_an_s: Argument to pass with the method invocation. 644s # * @arg_an_o: Argument to pass with the method invocation. 644s # * @arg_an_g: Argument to pass with the method invocation. 644s # * @arg_an_h: Argument to pass with the method invocation. 644s # * @arg_an_ay: Argument to pass with the method invocation. 644s # * @arg_an_as: Argument to pass with the method invocation. 644s # * @arg_an_ao: Argument to pass with the method invocation. 644s # * @arg_an_aay: Argument to pass with the method invocation. 644s # * @arg_an_asv: Argument to pass with the method invocation. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_callable_iface_call_method_with_many_args_sync ( 644s # OrgProjectCallableIface *proxy, 644s # gboolean arg_an_b, 644s # guchar arg_an_y, 644s # gint16 arg_an_n, 644s # guint16 arg_an_q, 644s # gint arg_an_i, 644s # guint arg_an_u, 644s # gint64 arg_an_x, 644s # guint64 arg_an_t, 644s # gdouble arg_an_d, 644s # const gchar *arg_an_s, 644s # const gchar *arg_an_o, 644s # const gchar *arg_an_g, 644s # GVariant *arg_an_h, 644s # const gchar *arg_an_ay, 644s # const gchar *const *arg_an_as, 644s # const gchar *const *arg_an_ao, 644s # const gchar *const *arg_an_aay, 644s # GVariant *arg_an_asv, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "MethodWithManyArgs", 644s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 644s # arg_an_b, 644s # arg_an_y, 644s # arg_an_n, 644s # arg_an_q, 644s # arg_an_i, 644s # arg_an_u, 644s # arg_an_x, 644s # arg_an_t, 644s # arg_an_d, 644s # arg_an_s, 644s # arg_an_o, 644s # arg_an_g, 644s # arg_an_h, 644s # arg_an_ay, 644s # arg_an_as, 644s # arg_an_ao, 644s # arg_an_aay, 644s # arg_an_asv), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "()"); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_call_same_method_with_many_args: 644s # * @proxy: A #OrgProjectCallableIfaceProxy. 644s # * @arg_an_b: Argument to pass with the method invocation. 644s # * @arg_an_y: Argument to pass with the method invocation. 644s # * @arg_an_n: Argument to pass with the method invocation. 644s # * @arg_an_q: Argument to pass with the method invocation. 644s # * @arg_an_i: Argument to pass with the method invocation. 644s # * @arg_an_u: Argument to pass with the method invocation. 644s # * @arg_an_x: Argument to pass with the method invocation. 644s # * @arg_an_t: Argument to pass with the method invocation. 644s # * @arg_an_d: Argument to pass with the method invocation. 644s # * @arg_an_s: Argument to pass with the method invocation. 644s # * @arg_an_o: Argument to pass with the method invocation. 644s # * @arg_an_g: Argument to pass with the method invocation. 644s # * @arg_an_h: Argument to pass with the method invocation. 644s # * @arg_an_ay: Argument to pass with the method invocation. 644s # * @arg_an_as: Argument to pass with the method invocation. 644s # * @arg_an_ao: Argument to pass with the method invocation. 644s # * @arg_an_aay: Argument to pass with the method invocation. 644s # * @arg_an_asv: Argument to pass with the method invocation. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 644s # * 644s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_callable_iface_call_same_method_with_many_args ( 644s # OrgProjectCallableIface *proxy, 644s # gboolean arg_an_b, 644s # guchar arg_an_y, 644s # gint16 arg_an_n, 644s # guint16 arg_an_q, 644s # gint arg_an_i, 644s # guint arg_an_u, 644s # gint64 arg_an_x, 644s # guint64 arg_an_t, 644s # gdouble arg_an_d, 644s # const gchar *arg_an_s, 644s # const gchar *arg_an_o, 644s # const gchar *arg_an_g, 644s # GVariant *arg_an_h, 644s # const gchar *arg_an_ay, 644s # const gchar *const *arg_an_as, 644s # const gchar *const *arg_an_ao, 644s # const gchar *const *arg_an_aay, 644s # GVariant *arg_an_asv, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SameMethodWithManyArgs", 644s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 644s # arg_an_b, 644s # arg_an_y, 644s # arg_an_n, 644s # arg_an_q, 644s # arg_an_i, 644s # arg_an_u, 644s # arg_an_x, 644s # arg_an_t, 644s # arg_an_d, 644s # arg_an_s, 644s # arg_an_o, 644s # arg_an_g, 644s # arg_an_h, 644s # arg_an_ay, 644s # arg_an_as, 644s # arg_an_ao, 644s # arg_an_aay, 644s # arg_an_asv), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_call_same_method_with_many_args_finish: 644s # * @proxy: A #OrgProjectCallableIfaceProxy. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_callable_iface_call_same_method_with_many_args_finish ( 644s # OrgProjectCallableIface *proxy, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "()"); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_call_same_method_with_many_args_sync: 644s # * @proxy: A #OrgProjectCallableIfaceProxy. 644s # * @arg_an_b: Argument to pass with the method invocation. 644s # * @arg_an_y: Argument to pass with the method invocation. 644s # * @arg_an_n: Argument to pass with the method invocation. 644s # * @arg_an_q: Argument to pass with the method invocation. 644s # * @arg_an_i: Argument to pass with the method invocation. 644s # * @arg_an_u: Argument to pass with the method invocation. 644s # * @arg_an_x: Argument to pass with the method invocation. 644s # * @arg_an_t: Argument to pass with the method invocation. 644s # * @arg_an_d: Argument to pass with the method invocation. 644s # * @arg_an_s: Argument to pass with the method invocation. 644s # * @arg_an_o: Argument to pass with the method invocation. 644s # * @arg_an_g: Argument to pass with the method invocation. 644s # * @arg_an_h: Argument to pass with the method invocation. 644s # * @arg_an_ay: Argument to pass with the method invocation. 644s # * @arg_an_as: Argument to pass with the method invocation. 644s # * @arg_an_ao: Argument to pass with the method invocation. 644s # * @arg_an_aay: Argument to pass with the method invocation. 644s # * @arg_an_asv: Argument to pass with the method invocation. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_callable_iface_call_same_method_with_many_args_sync ( 644s # OrgProjectCallableIface *proxy, 644s # gboolean arg_an_b, 644s # guchar arg_an_y, 644s # gint16 arg_an_n, 644s # guint16 arg_an_q, 644s # gint arg_an_i, 644s # guint arg_an_u, 644s # gint64 arg_an_x, 644s # guint64 arg_an_t, 644s # gdouble arg_an_d, 644s # const gchar *arg_an_s, 644s # const gchar *arg_an_o, 644s # const gchar *arg_an_g, 644s # GVariant *arg_an_h, 644s # const gchar *arg_an_ay, 644s # const gchar *const *arg_an_as, 644s # const gchar *const *arg_an_ao, 644s # const gchar *const *arg_an_aay, 644s # GVariant *arg_an_asv, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SameMethodWithManyArgs", 644s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 644s # arg_an_b, 644s # arg_an_y, 644s # arg_an_n, 644s # arg_an_q, 644s # arg_an_i, 644s # arg_an_u, 644s # arg_an_x, 644s # arg_an_t, 644s # arg_an_d, 644s # arg_an_s, 644s # arg_an_o, 644s # arg_an_g, 644s # arg_an_h, 644s # arg_an_ay, 644s # arg_an_as, 644s # arg_an_ao, 644s # arg_an_aay, 644s # arg_an_asv), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "()"); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_complete_method_with_many_args: 644s # * @object: A #OrgProjectCallableIface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_callable_iface_complete_method_with_many_args ( 644s # OrgProjectCallableIface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("()")); 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_complete_same_method_with_many_args: 644s # * @object: A #OrgProjectCallableIface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_callable_iface_complete_same_method_with_many_args ( 644s # OrgProjectCallableIface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("()")); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectCallableIfaceProxy: 644s # * 644s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectCallableIfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectCallableIfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectCallableIfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_callable_iface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 644s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 644s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_callable_iface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectCallableIface * 644s # org_project_callable_iface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_CALLABLE_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectCallableIface * 644s # org_project_callable_iface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_CALLABLE_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_callable_iface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_callable_iface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectCallableIface * 644s # org_project_callable_iface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_CALLABLE_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectCallableIface * 644s # org_project_callable_iface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_CALLABLE_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectCallableIfaceSkeleton: 644s # * 644s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectCallableIfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectCallableIfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectCallableIfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_callable_iface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_callable_iface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_callable_iface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 644s # { 644s # _org_project_callable_iface_skeleton_handle_method_call, 644s # _org_project_callable_iface_skeleton_handle_get_property, 644s # _org_project_callable_iface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_callable_iface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_callable_iface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectCallableIface * 644s # org_project_callable_iface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.OtherCallableIface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectOtherCallableIface 644s # * @title: OrgProjectOtherCallableIface 644s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_b", 644s # (gchar *) "b", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_y", 644s # (gchar *) "y", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_n", 644s # (gchar *) "n", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_q", 644s # (gchar *) "q", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_i", 644s # (gchar *) "i", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_u", 644s # (gchar *) "u", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_x", 644s # (gchar *) "x", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_t", 644s # (gchar *) "t", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_d", 644s # (gchar *) "d", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_s", 644s # (gchar *) "s", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_o", 644s # (gchar *) "o", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_g", 644s # (gchar *) "g", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_h", 644s # (gchar *) "h", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_ay", 644s # (gchar *) "ay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_as", 644s # (gchar *) "as", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_ao", 644s # (gchar *) "ao", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_aay", 644s # (gchar *) "aay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_asv", 644s # (gchar *) "a{sv}", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 644s # { 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 644s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 644s # { 644s # { 644s # -1, 644s # (gchar *) "MethodWithManyArgs", 644s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 644s # NULL, 644s # NULL 644s # }, 644s # "handle-method-with-many-args", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 644s # { 644s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.OtherCallableIface", 644s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-other-callable-iface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_other_callable_iface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_other_callable_iface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_other_callable_iface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _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, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectOtherCallableIface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 644s # */ 644s # 644s # /** 644s # * OrgProjectOtherCallableIfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 644s # */ 644s # 644s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 644s # * @object: A #OrgProjectOtherCallableIface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * @arg_an_b: Argument passed by remote caller. 644s # * @arg_an_y: Argument passed by remote caller. 644s # * @arg_an_n: Argument passed by remote caller. 644s # * @arg_an_q: Argument passed by remote caller. 644s # * @arg_an_i: Argument passed by remote caller. 644s # * @arg_an_u: Argument passed by remote caller. 644s # * @arg_an_x: Argument passed by remote caller. 644s # * @arg_an_t: Argument passed by remote caller. 644s # * @arg_an_d: Argument passed by remote caller. 644s # * @arg_an_s: Argument passed by remote caller. 644s # * @arg_an_o: Argument passed by remote caller. 644s # * @arg_an_g: Argument passed by remote caller. 644s # * @arg_an_h: Argument passed by remote caller. 644s # * @arg_an_ay: Argument passed by remote caller. 644s # * @arg_an_as: Argument passed by remote caller. 644s # * @arg_an_ao: Argument passed by remote caller. 644s # * @arg_an_aay: Argument passed by remote caller. 644s # * @arg_an_asv: Argument passed by remote caller. 644s # * 644s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-method-with-many-args", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_other_callable_iface_method_marshal_method_with_many_args, 644s # G_TYPE_BOOLEAN, 644s # 19, 644s # 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); 644s # 644s # } 644s # 644s # /** 644s # * org_project_other_callable_iface_call_method_with_many_args: 644s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 644s # * @arg_an_b: Argument to pass with the method invocation. 644s # * @arg_an_y: Argument to pass with the method invocation. 644s # * @arg_an_n: Argument to pass with the method invocation. 644s # * @arg_an_q: Argument to pass with the method invocation. 644s # * @arg_an_i: Argument to pass with the method invocation. 644s # * @arg_an_u: Argument to pass with the method invocation. 644s # * @arg_an_x: Argument to pass with the method invocation. 644s # * @arg_an_t: Argument to pass with the method invocation. 644s # * @arg_an_d: Argument to pass with the method invocation. 644s # * @arg_an_s: Argument to pass with the method invocation. 644s # * @arg_an_o: Argument to pass with the method invocation. 644s # * @arg_an_g: Argument to pass with the method invocation. 644s # * @arg_an_h: Argument to pass with the method invocation. 644s # * @arg_an_ay: Argument to pass with the method invocation. 644s # * @arg_an_as: Argument to pass with the method invocation. 644s # * @arg_an_ao: Argument to pass with the method invocation. 644s # * @arg_an_aay: Argument to pass with the method invocation. 644s # * @arg_an_asv: Argument to pass with the method invocation. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 644s # * 644s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_other_callable_iface_call_method_with_many_args ( 644s # OrgProjectOtherCallableIface *proxy, 644s # gboolean arg_an_b, 644s # guchar arg_an_y, 644s # gint16 arg_an_n, 644s # guint16 arg_an_q, 644s # gint arg_an_i, 644s # guint arg_an_u, 644s # gint64 arg_an_x, 644s # guint64 arg_an_t, 644s # gdouble arg_an_d, 644s # const gchar *arg_an_s, 644s # const gchar *arg_an_o, 644s # const gchar *arg_an_g, 644s # GVariant *arg_an_h, 644s # const gchar *arg_an_ay, 644s # const gchar *const *arg_an_as, 644s # const gchar *const *arg_an_ao, 644s # const gchar *const *arg_an_aay, 644s # GVariant *arg_an_asv, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "MethodWithManyArgs", 644s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 644s # arg_an_b, 644s # arg_an_y, 644s # arg_an_n, 644s # arg_an_q, 644s # arg_an_i, 644s # arg_an_u, 644s # arg_an_x, 644s # arg_an_t, 644s # arg_an_d, 644s # arg_an_s, 644s # arg_an_o, 644s # arg_an_g, 644s # arg_an_h, 644s # arg_an_ay, 644s # arg_an_as, 644s # arg_an_ao, 644s # arg_an_aay, 644s # arg_an_asv), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_other_callable_iface_call_method_with_many_args_finish: 644s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_other_callable_iface_call_method_with_many_args_finish ( 644s # OrgProjectOtherCallableIface *proxy, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "()"); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_other_callable_iface_call_method_with_many_args_sync: 644s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 644s # * @arg_an_b: Argument to pass with the method invocation. 644s # * @arg_an_y: Argument to pass with the method invocation. 644s # * @arg_an_n: Argument to pass with the method invocation. 644s # * @arg_an_q: Argument to pass with the method invocation. 644s # * @arg_an_i: Argument to pass with the method invocation. 644s # * @arg_an_u: Argument to pass with the method invocation. 644s # * @arg_an_x: Argument to pass with the method invocation. 644s # * @arg_an_t: Argument to pass with the method invocation. 644s # * @arg_an_d: Argument to pass with the method invocation. 644s # * @arg_an_s: Argument to pass with the method invocation. 644s # * @arg_an_o: Argument to pass with the method invocation. 644s # * @arg_an_g: Argument to pass with the method invocation. 644s # * @arg_an_h: Argument to pass with the method invocation. 644s # * @arg_an_ay: Argument to pass with the method invocation. 644s # * @arg_an_as: Argument to pass with the method invocation. 644s # * @arg_an_ao: Argument to pass with the method invocation. 644s # * @arg_an_aay: Argument to pass with the method invocation. 644s # * @arg_an_asv: Argument to pass with the method invocation. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_other_callable_iface_call_method_with_many_args_sync ( 644s # OrgProjectOtherCallableIface *proxy, 644s # gboolean arg_an_b, 644s # guchar arg_an_y, 644s # gint16 arg_an_n, 644s # guint16 arg_an_q, 644s # gint arg_an_i, 644s # guint arg_an_u, 644s # gint64 arg_an_x, 644s # guint64 arg_an_t, 644s # gdouble arg_an_d, 644s # const gchar *arg_an_s, 644s # const gchar *arg_an_o, 644s # const gchar *arg_an_g, 644s # GVariant *arg_an_h, 644s # const gchar *arg_an_ay, 644s # const gchar *const *arg_an_as, 644s # const gchar *const *arg_an_ao, 644s # const gchar *const *arg_an_aay, 644s # GVariant *arg_an_asv, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "MethodWithManyArgs", 644s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 644s # arg_an_b, 644s # arg_an_y, 644s # arg_an_n, 644s # arg_an_q, 644s # arg_an_i, 644s # arg_an_u, 644s # arg_an_x, 644s # arg_an_t, 644s # arg_an_d, 644s # arg_an_s, 644s # arg_an_o, 644s # arg_an_g, 644s # arg_an_h, 644s # arg_an_ay, 644s # arg_an_as, 644s # arg_an_ao, 644s # arg_an_aay, 644s # arg_an_asv), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "()"); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_other_callable_iface_complete_method_with_many_args: 644s # * @object: A #OrgProjectOtherCallableIface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_other_callable_iface_complete_method_with_many_args ( 644s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("()")); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectOtherCallableIfaceProxy: 644s # * 644s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectOtherCallableIfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectOtherCallableIfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_other_callable_iface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 644s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 644s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_other_callable_iface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_other_callable_iface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_other_callable_iface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectOtherCallableIface * 644s # org_project_other_callable_iface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_other_callable_iface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectOtherCallableIface * 644s # org_project_other_callable_iface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_other_callable_iface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_other_callable_iface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectOtherCallableIface * 644s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectOtherCallableIface * 644s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectOtherCallableIfaceSkeleton: 644s # * 644s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectOtherCallableIfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_other_callable_iface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_other_callable_iface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_other_callable_iface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 644s # { 644s # _org_project_other_callable_iface_skeleton_handle_method_call, 644s # _org_project_other_callable_iface_skeleton_handle_get_property, 644s # _org_project_other_callable_iface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_other_callable_iface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_other_callable_iface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectOtherCallableIface * 644s # org_project_other_callable_iface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 644s # gdbus-codegen: /usr/bin/gdbus-codegen 644s # tmpdir: /tmp/tmph0dofj2u 644s # /tmp/tmph0dofj2u/tmplk6l1ap_.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph0dofj2u/tmplk6l1ap_.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.CallableIface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectCallableIface 644s # * @title: OrgProjectCallableIface 644s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.CallableIface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_b", 644s # (gchar *) "b", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_y", 644s # (gchar *) "y", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_n", 644s # (gchar *) "n", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_q", 644s # (gchar *) "q", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_i", 644s # (gchar *) "i", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_u", 644s # (gchar *) "u", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_x", 644s # (gchar *) "x", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_t", 644s # (gchar *) "t", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_d", 644s # (gchar *) "d", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_s", 644s # (gchar *) "s", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_o", 644s # (gchar *) "o", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_g", 644s # (gchar *) "g", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_h", 644s # (gchar *) "h", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_ay", 644s # (gchar *) "ay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_as", 644s # (gchar *) "as", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_ao", 644s # (gchar *) "ao", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_aay", 644s # (gchar *) "aay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_asv", 644s # (gchar *) "a{sv}", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 644s # { 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 644s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 644s # { 644s # { 644s # -1, 644s # (gchar *) "MethodWithManyArgs", 644s # NULL, 644s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-method-with-many-args", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 644s # { 644s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.CallableIface", 644s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-callable-iface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_callable_iface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_callable_iface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_callable_iface_method_marshal_method_with_many_args ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectCallableIface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 644s # */ 644s # 644s # /** 644s # * OrgProjectCallableIfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.CallableIface. 644s # */ 644s # 644s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectCallableIface::handle-method-with-many-args: 644s # * @object: A #OrgProjectCallableIface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-method-with-many-args", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_callable_iface_method_marshal_method_with_many_args, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_call_method_with_many_args: 644s # * @proxy: A #OrgProjectCallableIfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 644s # * 644s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_callable_iface_call_method_with_many_args ( 644s # OrgProjectCallableIface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "MethodWithManyArgs", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_call_method_with_many_args_finish: 644s # * @proxy: A #OrgProjectCallableIfaceProxy. 644s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 644s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 644s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 644s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_callable_iface_call_method_with_many_args_finish ( 644s # OrgProjectCallableIface *proxy, 644s # gboolean *out_an_b, 644s # guchar *out_an_y, 644s # gint16 *out_an_n, 644s # guint16 *out_an_q, 644s # gint *out_an_i, 644s # guint *out_an_u, 644s # gint64 *out_an_x, 644s # guint64 *out_an_t, 644s # gdouble *out_an_d, 644s # gchar **out_an_s, 644s # gchar **out_an_o, 644s # gchar **out_an_g, 644s # GVariant **out_an_h, 644s # gchar **out_an_ay, 644s # gchar ***out_an_as, 644s # gchar ***out_an_ao, 644s # gchar ***out_an_aay, 644s # GVariant **out_an_asv, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 644s # out_an_b, 644s # out_an_y, 644s # out_an_n, 644s # out_an_q, 644s # out_an_i, 644s # out_an_u, 644s # out_an_x, 644s # out_an_t, 644s # out_an_d, 644s # out_an_s, 644s # out_an_o, 644s # out_an_g, 644s # out_an_h, 644s # out_an_ay, 644s # out_an_as, 644s # out_an_ao, 644s # out_an_aay, 644s # out_an_asv); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_call_method_with_many_args_sync: 644s # * @proxy: A #OrgProjectCallableIfaceProxy. 644s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 644s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 644s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 644s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_callable_iface_call_method_with_many_args_sync ( 644s # OrgProjectCallableIface *proxy, 644s # gboolean *out_an_b, 644s # guchar *out_an_y, 644s # gint16 *out_an_n, 644s # guint16 *out_an_q, 644s # gint *out_an_i, 644s # guint *out_an_u, 644s # gint64 *out_an_x, 644s # guint64 *out_an_t, 644s # gdouble *out_an_d, 644s # gchar **out_an_s, 644s # gchar **out_an_o, 644s # gchar **out_an_g, 644s # GVariant **out_an_h, 644s # gchar **out_an_ay, 644s # gchar ***out_an_as, 644s # gchar ***out_an_ao, 644s # gchar ***out_an_aay, 644s # GVariant **out_an_asv, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "MethodWithManyArgs", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 644s # out_an_b, 644s # out_an_y, 644s # out_an_n, 644s # out_an_q, 644s # out_an_i, 644s # out_an_u, 644s # out_an_x, 644s # out_an_t, 644s # out_an_d, 644s # out_an_s, 644s # out_an_o, 644s # out_an_g, 644s # out_an_h, 644s # out_an_ay, 644s # out_an_as, 644s # out_an_ao, 644s # out_an_aay, 644s # out_an_asv); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_complete_method_with_many_args: 644s # * @object: A #OrgProjectCallableIface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @an_b: Parameter to return. 644s # * @an_y: Parameter to return. 644s # * @an_n: Parameter to return. 644s # * @an_q: Parameter to return. 644s # * @an_i: Parameter to return. 644s # * @an_u: Parameter to return. 644s # * @an_x: Parameter to return. 644s # * @an_t: Parameter to return. 644s # * @an_d: Parameter to return. 644s # * @an_s: Parameter to return. 644s # * @an_o: Parameter to return. 644s # * @an_g: Parameter to return. 644s # * @an_h: Parameter to return. 644s # * @an_ay: Parameter to return. 644s # * @an_as: Parameter to return. 644s # * @an_ao: Parameter to return. 644s # * @an_aay: Parameter to return. 644s # * @an_asv: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_callable_iface_complete_method_with_many_args ( 644s # OrgProjectCallableIface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # gboolean an_b, 644s # guchar an_y, 644s # gint16 an_n, 644s # guint16 an_q, 644s # gint an_i, 644s # guint an_u, 644s # gint64 an_x, 644s # guint64 an_t, 644s # gdouble an_d, 644s # const gchar *an_s, 644s # const gchar *an_o, 644s # const gchar *an_g, 644s # GVariant *an_h, 644s # const gchar *an_ay, 644s # const gchar *const *an_as, 644s # const gchar *const *an_ao, 644s # const gchar *const *an_aay, 644s # GVariant *an_asv) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 644s # an_b, 644s # an_y, 644s # an_n, 644s # an_q, 644s # an_i, 644s # an_u, 644s # an_x, 644s # an_t, 644s # an_d, 644s # an_s, 644s # an_o, 644s # an_g, 644s # an_h, 644s # an_ay, 644s # an_as, 644s # an_ao, 644s # an_aay, 644s # an_asv)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectCallableIfaceProxy: 644s # * 644s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectCallableIfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectCallableIfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectCallableIfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_callable_iface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 644s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 644s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_callable_iface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectCallableIface * 644s # org_project_callable_iface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_CALLABLE_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectCallableIface * 644s # org_project_callable_iface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_CALLABLE_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_callable_iface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_callable_iface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectCallableIface * 644s # org_project_callable_iface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_CALLABLE_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectCallableIface * 644s # org_project_callable_iface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_CALLABLE_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectCallableIfaceSkeleton: 644s # * 644s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectCallableIfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectCallableIfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectCallableIfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_callable_iface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_callable_iface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_callable_iface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 644s # { 644s # _org_project_callable_iface_skeleton_handle_method_call, 644s # _org_project_callable_iface_skeleton_handle_get_property, 644s # _org_project_callable_iface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_callable_iface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_callable_iface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectCallableIface * 644s # org_project_callable_iface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 644s # gdbus-codegen: /usr/bin/gdbus-codegen 644s # tmpdir: /tmp/tmp_iupcc6v 644s # /tmp/tmp_iupcc6v/tmp21ozvg8s.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_iupcc6v/tmp21ozvg8s.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # GUnixFDList *arg_fd_list, 644s # const gchar *arg_greeting, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 4); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # g_marshal_value_peek_object (param_values + 2), 644s # g_marshal_value_peek_string (param_values + 3), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface test.FDPassing 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:TestFDPassing 644s # * @title: TestFDPassing 644s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 644s # * 644s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for test.FDPassing ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 644s # { 644s # { 644s # -1, 644s # (gchar *) "greeting", 644s # (gchar *) "s", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 644s # { 644s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 644s # { 644s # { 644s # -1, 644s # (gchar *) "response", 644s # (gchar *) "s", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 644s # { 644s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 644s # { 644s # { 644s # -1, 644s # (gchar *) "HelloFD", 644s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 644s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 644s # NULL 644s # }, 644s # "handle-hello-fd", 644s # TRUE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 644s # { 644s # &_test_fdpassing_method_info_hello_fd.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "test.FDPassing", 644s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "test-fdpassing", 644s # }; 644s # 644s # 644s # /** 644s # * test_fdpassing_interface_info: 644s # * 644s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # test_fdpassing_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * test_fdpassing_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # test_fdpassing_method_marshal_hello_fd ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * TestFDPassing: 644s # * 644s # * Abstract interface type for the D-Bus interface test.FDPassing. 644s # */ 644s # 644s # /** 644s # * TestFDPassingIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 644s # * 644s # * Virtual table for the D-Bus interface test.FDPassing. 644s # */ 644s # 644s # typedef TestFDPassingIface TestFDPassingInterface; 644s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 644s # 644s # static void 644s # test_fdpassing_default_init (TestFDPassingIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * TestFDPassing::handle-hello-fd: 644s # * @object: A #TestFDPassing. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 644s # * @arg_greeting: Argument passed by remote caller. 644s # * 644s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-hello-fd", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # test_fdpassing_method_marshal_hello_fd, 644s # G_TYPE_BOOLEAN, 644s # 3, 644s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 644s # 644s # } 644s # 644s # /** 644s # * test_fdpassing_call_hello_fd: 644s # * @proxy: A #TestFDPassingProxy. 644s # * @arg_greeting: Argument to pass with the method invocation. 644s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 644s # * 644s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # test_fdpassing_call_hello_fd ( 644s # TestFDPassing *proxy, 644s # const gchar *arg_greeting, 644s # GUnixFDList *fd_list, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 644s # "HelloFD", 644s # g_variant_new ("(s)", 644s # arg_greeting), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # fd_list, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * test_fdpassing_call_hello_fd_finish: 644s # * @proxy: A #TestFDPassingProxy. 644s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # test_fdpassing_call_hello_fd_finish ( 644s # TestFDPassing *proxy, 644s # gchar **out_response, 644s # GUnixFDList **out_fd_list, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(s)", 644s # out_response); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * test_fdpassing_call_hello_fd_sync: 644s # * @proxy: A #TestFDPassingProxy. 644s # * @arg_greeting: Argument to pass with the method invocation. 644s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 644s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 644s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # test_fdpassing_call_hello_fd_sync ( 644s # TestFDPassing *proxy, 644s # const gchar *arg_greeting, 644s # GUnixFDList *fd_list, 644s # gchar **out_response, 644s # GUnixFDList **out_fd_list, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 644s # "HelloFD", 644s # g_variant_new ("(s)", 644s # arg_greeting), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # fd_list, 644s # out_fd_list, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "(s)", 644s # out_response); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * test_fdpassing_complete_hello_fd: 644s # * @object: A #TestFDPassing. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 644s # * @response: Parameter to return. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # test_fdpassing_complete_hello_fd ( 644s # TestFDPassing *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation, 644s # GUnixFDList *fd_list, 644s # const gchar *response) 644s # { 644s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 644s # g_variant_new ("(s)", 644s # response), 644s # fd_list); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * TestFDPassingProxy: 644s # * 644s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * TestFDPassingProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #TestFDPassingProxy. 644s # */ 644s # 644s # struct _TestFDPassingProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (TestFDPassingProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # test_fdpassing_proxy_finalize (GObject *object) 644s # { 644s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 644s # } 644s # 644s # static void 644s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = test_fdpassing_proxy_finalize; 644s # gobject_class->get_property = test_fdpassing_proxy_get_property; 644s # gobject_class->set_property = test_fdpassing_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 644s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * test_fdpassing_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # test_fdpassing_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * test_fdpassing_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with test_fdpassing_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # TestFDPassing * 644s # test_fdpassing_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return TEST_FDPASSING (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * test_fdpassing_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # TestFDPassing * 644s # test_fdpassing_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return TEST_FDPASSING (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * test_fdpassing_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # test_fdpassing_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * test_fdpassing_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # TestFDPassing * 644s # test_fdpassing_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return TEST_FDPASSING (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * test_fdpassing_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # TestFDPassing * 644s # test_fdpassing_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return TEST_FDPASSING (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * TestFDPassingSkeleton: 644s # * 644s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * TestFDPassingSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #TestFDPassingSkeleton. 644s # */ 644s # 644s # struct _TestFDPassingSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _test_fdpassing_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _test_fdpassing_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _test_fdpassing_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 644s # { 644s # _test_fdpassing_skeleton_handle_method_call, 644s # _test_fdpassing_skeleton_handle_get_property, 644s # _test_fdpassing_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return test_fdpassing_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (TestFDPassingSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # test_fdpassing_skeleton_finalize (GObject *object) 644s # { 644s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * test_fdpassing_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 644s # * 644s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 644s # */ 644s # TestFDPassing * 644s # test_fdpassing_skeleton_new (void) 644s # { 644s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 644s # } 644s # Error: 644s ok 15 __main__.TestCodegen.test_generate_rst 644s # gdbus-codegen: /usr/bin/gdbus-codegen 644s # tmpdir: /tmp/tmpaz61_hzg 644s # /tmp/tmpaz61_hzg/tmpw8_uveer.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaz61_hzg/tmpw8_uveer.xml', '--generate-rst', 'test'] 644s # Return code: 0 644s # Output: 644s # 644s # Error: 644s ok 16 __main__.TestCodegen.test_generate_rst_method 644s # gdbus-codegen: /usr/bin/gdbus-codegen 644s # tmpdir: /tmp/tmpt2_v7o0x 644s # /tmp/tmpt2_v7o0x/tmp44rklp55.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt2_v7o0x/tmp44rklp55.xml', '--generate-rst', 'test'] 644s # Return code: 0 644s # Output: 644s # 644s # Error: 644s ok 17 __main__.TestCodegen.test_generate_rst_property 644s # gdbus-codegen: /usr/bin/gdbus-codegen 644s # tmpdir: /tmp/tmp7opxl9ye 644s # /tmp/tmp7opxl9ye/tmpo6pzzn9r.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7opxl9ye/tmpo6pzzn9r.xml', '--generate-rst', 'test'] 644s # Return code: 0 644s # Output: 644s # 644s # Error: 644s ok 18 __main__.TestCodegen.test_generate_rst_signal 644s # gdbus-codegen: /usr/bin/gdbus-codegen 644s # tmpdir: /tmp/tmpxi3_nfgc 644s # /tmp/tmpxi3_nfgc/tmpvmwhsyn2.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxi3_nfgc/tmpvmwhsyn2.xml', '--generate-rst', 'test'] 644s # Return code: 0 644s # Output: 644s # 644s # Error: 644s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 644s # gdbus-codegen: /usr/bin/gdbus-codegen 644s # tmpdir: /tmp/tmpcyd1ufm8 644s # /tmp/tmpcyd1ufm8/tmpxzcd0n2v.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyd1ufm8/tmpxzcd0n2v.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 644s # GClosure *closure, 644s # GValue *return_value G_GNUC_UNUSED, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 644s # (void *data1, 644s # gboolean arg_an_b, 644s # guchar arg_an_y, 644s # gint16 arg_an_n, 644s # guint16 arg_an_q, 644s # gint arg_an_i, 644s # guint arg_an_u, 644s # gint64 arg_an_x, 644s # guint64 arg_an_t, 644s # gdouble arg_an_d, 644s # const gchar *arg_an_s, 644s # const gchar *arg_an_o, 644s # const gchar *arg_an_g, 644s # GVariant *arg_an_h, 644s # const gchar *arg_an_ay, 644s # const gchar *const *arg_an_as, 644s # const gchar *const *arg_an_ao, 644s # const gchar *const *arg_an_aay, 644s # GVariant *arg_an_asv, 644s # void *data2); 644s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # 644s # g_return_if_fail (n_param_values == 19); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # callback (data1, 644s # g_marshal_value_peek_boolean (param_values + 1), 644s # g_marshal_value_peek_uchar (param_values + 2), 644s # g_marshal_value_peek_int (param_values + 3), 644s # g_marshal_value_peek_uint (param_values + 4), 644s # g_marshal_value_peek_int (param_values + 5), 644s # g_marshal_value_peek_uint (param_values + 6), 644s # g_marshal_value_peek_int64 (param_values + 7), 644s # g_marshal_value_peek_uint64 (param_values + 8), 644s # g_marshal_value_peek_double (param_values + 9), 644s # g_marshal_value_peek_string (param_values + 10), 644s # g_marshal_value_peek_string (param_values + 11), 644s # g_marshal_value_peek_string (param_values + 12), 644s # g_marshal_value_peek_variant (param_values + 13), 644s # g_marshal_value_peek_string (param_values + 14), 644s # g_marshal_value_peek_boxed (param_values + 15), 644s # g_marshal_value_peek_boxed (param_values + 16), 644s # g_marshal_value_peek_boxed (param_values + 17), 644s # g_marshal_value_peek_variant (param_values + 18), 644s # data2); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.SignalingIface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectSignalingIface 644s # * @title: OrgProjectSignalingIface 644s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 644s # */ 644s # 644s # enum 644s # { 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 644s # }; 644s # 644s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 644s # 644s # /* ---- Introspection data for org.project.SignalingIface ---- */ 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_b", 644s # (gchar *) "b", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_y", 644s # (gchar *) "y", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_n", 644s # (gchar *) "n", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_q", 644s # (gchar *) "q", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_i", 644s # (gchar *) "i", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_u", 644s # (gchar *) "u", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_x", 644s # (gchar *) "x", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_t", 644s # (gchar *) "t", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_d", 644s # (gchar *) "d", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_s", 644s # (gchar *) "s", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_o", 644s # (gchar *) "o", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_g", 644s # (gchar *) "g", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_h", 644s # (gchar *) "h", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_ay", 644s # (gchar *) "ay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_as", 644s # (gchar *) "as", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_ao", 644s # (gchar *) "ao", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_aay", 644s # (gchar *) "aay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_asv", 644s # (gchar *) "a{sv}", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SignalWithManyArgs", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 644s # NULL 644s # }, 644s # "signal-with-many-args" 644s # }; 644s # 644s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.SignalingIface", 644s # NULL, 644s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-signaling-iface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_signaling_iface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_signaling_iface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectSignalingIface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 644s # */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.SignalingIface. 644s # */ 644s # 644s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 644s # { 644s # /* GObject signals for received D-Bus signals: */ 644s # /** 644s # * OrgProjectSignalingIface::signal-with-many-args: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_b: Argument. 644s # * @arg_an_y: Argument. 644s # * @arg_an_n: Argument. 644s # * @arg_an_q: Argument. 644s # * @arg_an_i: Argument. 644s # * @arg_an_u: Argument. 644s # * @arg_an_x: Argument. 644s # * @arg_an_t: Argument. 644s # * @arg_an_d: Argument. 644s # * @arg_an_s: Argument. 644s # * @arg_an_o: Argument. 644s # * @arg_an_g: Argument. 644s # * @arg_an_h: Argument. 644s # * @arg_an_ay: Argument. 644s # * @arg_an_as: Argument. 644s # * @arg_an_ao: Argument. 644s # * @arg_an_aay: Argument. 644s # * @arg_an_asv: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 644s # g_signal_new ("signal-with-many-args", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 644s # G_TYPE_NONE, 644s # 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); 644s # 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_signal_with_many_args: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_b: Argument to pass with the signal. 644s # * @arg_an_y: Argument to pass with the signal. 644s # * @arg_an_n: Argument to pass with the signal. 644s # * @arg_an_q: Argument to pass with the signal. 644s # * @arg_an_i: Argument to pass with the signal. 644s # * @arg_an_u: Argument to pass with the signal. 644s # * @arg_an_x: Argument to pass with the signal. 644s # * @arg_an_t: Argument to pass with the signal. 644s # * @arg_an_d: Argument to pass with the signal. 644s # * @arg_an_s: Argument to pass with the signal. 644s # * @arg_an_o: Argument to pass with the signal. 644s # * @arg_an_g: Argument to pass with the signal. 644s # * @arg_an_h: Argument to pass with the signal. 644s # * @arg_an_ay: Argument to pass with the signal. 644s # * @arg_an_as: Argument to pass with the signal. 644s # * @arg_an_ao: Argument to pass with the signal. 644s # * @arg_an_aay: Argument to pass with the signal. 644s # * @arg_an_asv: Argument to pass with the signal. 644s # * 644s # * Emits the "SignalWithManyArgs" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_signal_with_many_args ( 644s # OrgProjectSignalingIface *object, 644s # gboolean arg_an_b, 644s # guchar arg_an_y, 644s # gint16 arg_an_n, 644s # guint16 arg_an_q, 644s # gint arg_an_i, 644s # guint arg_an_u, 644s # gint64 arg_an_x, 644s # guint64 arg_an_t, 644s # gdouble arg_an_d, 644s # const gchar *arg_an_s, 644s # const gchar *arg_an_o, 644s # const gchar *arg_an_g, 644s # GVariant *arg_an_h, 644s # const gchar *arg_an_ay, 644s # const gchar *const *arg_an_as, 644s # const gchar *const *arg_an_ao, 644s # const gchar *const *arg_an_aay, 644s # GVariant *arg_an_asv) 644s # { 644s # 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); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceProxy: 644s # * 644s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectSignalingIfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectSignalingIfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_signaling_iface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 644s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 644s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_signaling_iface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_signaling_iface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceSkeleton: 644s # * 644s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectSignalingIfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_signaling_iface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_signaling_iface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_signaling_iface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 644s # { 644s # _org_project_signaling_iface_skeleton_handle_method_call, 644s # _org_project_signaling_iface_skeleton_handle_get_property, 644s # _org_project_signaling_iface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_signaling_iface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 644s # OrgProjectSignalingIface *object, 644s # gboolean arg_an_b, 644s # guchar arg_an_y, 644s # gint16 arg_an_n, 644s # guint16 arg_an_q, 644s # gint arg_an_i, 644s # guint arg_an_u, 644s # gint64 arg_an_x, 644s # guint64 arg_an_t, 644s # gdouble arg_an_d, 644s # const gchar *arg_an_s, 644s # const gchar *arg_an_o, 644s # const gchar *arg_an_g, 644s # GVariant *arg_an_h, 644s # const gchar *arg_an_ay, 644s # const gchar *const *arg_an_as, 644s # const gchar *const *arg_an_ao, 644s # const gchar *const *arg_an_aay, 644s # GVariant *arg_an_asv) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 644s # arg_an_b, 644s # arg_an_y, 644s # arg_an_n, 644s # arg_an_q, 644s # arg_an_i, 644s # arg_an_u, 644s # arg_an_x, 644s # arg_an_t, 644s # arg_an_d, 644s # arg_an_s, 644s # arg_an_o, 644s # arg_an_g, 644s # arg_an_h, 644s # arg_an_ay, 644s # arg_an_as, 644s # arg_an_ao, 644s # arg_an_aay, 644s # arg_an_asv)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_signaling_iface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 644s # { 644s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 644s # gdbus-codegen: /usr/bin/gdbus-codegen 644s # tmpdir: /tmp/tmpz9n2gezf 644s # /tmp/tmpz9n2gezf/tmps4t1x6ib.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9n2gezf/tmps4t1x6ib.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_VOID__INT64 ( 644s # GClosure *closure, 644s # GValue *return_value G_GNUC_UNUSED, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 644s # (void *data1, 644s # gint64 arg_an_x, 644s # void *data2); 644s # _GDbusCodegenMarshalVoid_Int64Func callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # callback (data1, 644s # g_marshal_value_peek_int64 (param_values + 1), 644s # data2); 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_VOID__UINT64 ( 644s # GClosure *closure, 644s # GValue *return_value G_GNUC_UNUSED, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 644s # (void *data1, 644s # guint64 arg_an_t, 644s # void *data2); 644s # _GDbusCodegenMarshalVoid_Uint64Func callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # callback (data1, 644s # g_marshal_value_peek_uint64 (param_values + 1), 644s # data2); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.SignalingIface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectSignalingIface 644s # * @title: OrgProjectSignalingIface 644s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 644s # */ 644s # 644s # enum 644s # { 644s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 644s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 644s # }; 644s # 644s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 644s # 644s # /* ---- Introspection data for org.project.SignalingIface ---- */ 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 644s # { 644s # { 644s # -1, 644s # (gchar *) "NoArgSignal", 644s # NULL, 644s # NULL 644s # }, 644s # "no-arg-signal" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_b", 644s # (gchar *) "b", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalB", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-b" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_y", 644s # (gchar *) "y", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalY", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-y" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_n", 644s # (gchar *) "n", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalN", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-n" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_q", 644s # (gchar *) "q", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalQ", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-q" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_i", 644s # (gchar *) "i", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalI", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-i" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_u", 644s # (gchar *) "u", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalU", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-u" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_x", 644s # (gchar *) "x", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalX", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-x" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_t", 644s # (gchar *) "t", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalT", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-t" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_d", 644s # (gchar *) "d", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalD", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-d" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_s", 644s # (gchar *) "s", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalS", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-s" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_o", 644s # (gchar *) "o", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalO", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-o" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_g", 644s # (gchar *) "g", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalG", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-g" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_h", 644s # (gchar *) "h", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalH", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-h" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_ay", 644s # (gchar *) "ay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalAY", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-ay" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_as", 644s # (gchar *) "as", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalAS", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-as" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_ao", 644s # (gchar *) "ao", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalAO", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-ao" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_aay", 644s # (gchar *) "aay", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalAAY", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-aay" 644s # }; 644s # 644s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 644s # { 644s # { 644s # -1, 644s # (gchar *) "an_asv", 644s # (gchar *) "a{sv}", 644s # NULL 644s # }, 644s # FALSE 644s # }; 644s # 644s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SingleArgSignalASV", 644s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 644s # NULL 644s # }, 644s # "single-arg-signal-asv" 644s # }; 644s # 644s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 644s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.SignalingIface", 644s # NULL, 644s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-signaling-iface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_signaling_iface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_signaling_iface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__VOID (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__BOOLEAN (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__UCHAR (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__INT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__UINT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__INT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__UINT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__DOUBLE (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__STRING (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__STRING (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__STRING (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__VARIANT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__STRING (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__BOXED (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__BOXED (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__BOXED (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__VARIANT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectSignalingIface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 644s # */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 644s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 644s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 644s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 644s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 644s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 644s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 644s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 644s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 644s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 644s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 644s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 644s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 644s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 644s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 644s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 644s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 644s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 644s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.SignalingIface. 644s # */ 644s # 644s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 644s # { 644s # /* GObject signals for received D-Bus signals: */ 644s # /** 644s # * OrgProjectSignalingIface::no-arg-signal: 644s # * @object: A #OrgProjectSignalingIface. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 644s # g_signal_new ("no-arg-signal", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_no_arg_signal, 644s # G_TYPE_NONE, 644s # 0); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-b: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_b: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 644s # g_signal_new ("single-arg-signal-b", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_BOOLEAN); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-y: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_y: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 644s # g_signal_new ("single-arg-signal-y", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_UCHAR); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-n: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_n: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 644s # g_signal_new ("single-arg-signal-n", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_INT); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-q: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_q: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 644s # g_signal_new ("single-arg-signal-q", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_UINT); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-i: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_i: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 644s # g_signal_new ("single-arg-signal-i", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_INT); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-u: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_u: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 644s # g_signal_new ("single-arg-signal-u", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_UINT); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-x: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_x: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 644s # g_signal_new ("single-arg-signal-x", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_INT64); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-t: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_t: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 644s # g_signal_new ("single-arg-signal-t", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_UINT64); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-d: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_d: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 644s # g_signal_new ("single-arg-signal-d", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_DOUBLE); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-s: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_s: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 644s # g_signal_new ("single-arg-signal-s", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_STRING); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-o: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_o: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 644s # g_signal_new ("single-arg-signal-o", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_STRING); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-g: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_g: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 644s # g_signal_new ("single-arg-signal-g", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_STRING); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-h: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_h: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 644s # g_signal_new ("single-arg-signal-h", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_VARIANT); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-ay: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_ay: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 644s # g_signal_new ("single-arg-signal-ay", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_STRING); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-as: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_as: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 644s # g_signal_new ("single-arg-signal-as", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_STRV); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-ao: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_ao: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 644s # g_signal_new ("single-arg-signal-ao", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_STRV); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-aay: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_aay: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 644s # g_signal_new ("single-arg-signal-aay", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_STRV); 644s # 644s # /** 644s # * OrgProjectSignalingIface::single-arg-signal-asv: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_asv: Argument. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 644s # g_signal_new ("single-arg-signal-asv", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 644s # G_TYPE_NONE, 644s # 1, G_TYPE_VARIANT); 644s # 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_no_arg_signal: 644s # * @object: A #OrgProjectSignalingIface. 644s # * 644s # * Emits the "NoArgSignal" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_no_arg_signal ( 644s # OrgProjectSignalingIface *object) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_b: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_b: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalB" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_b ( 644s # OrgProjectSignalingIface *object, 644s # gboolean arg_an_b) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_y: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_y: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalY" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_y ( 644s # OrgProjectSignalingIface *object, 644s # guchar arg_an_y) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_n: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_n: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalN" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_n ( 644s # OrgProjectSignalingIface *object, 644s # gint16 arg_an_n) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_q: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_q: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalQ" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_q ( 644s # OrgProjectSignalingIface *object, 644s # guint16 arg_an_q) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_i: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_i: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalI" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_i ( 644s # OrgProjectSignalingIface *object, 644s # gint arg_an_i) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_u: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_u: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalU" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_u ( 644s # OrgProjectSignalingIface *object, 644s # guint arg_an_u) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_x: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_x: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalX" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_x ( 644s # OrgProjectSignalingIface *object, 644s # gint64 arg_an_x) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_t: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_t: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalT" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_t ( 644s # OrgProjectSignalingIface *object, 644s # guint64 arg_an_t) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_d: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_d: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalD" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_d ( 644s # OrgProjectSignalingIface *object, 644s # gdouble arg_an_d) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_s: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_s: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalS" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_s ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *arg_an_s) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_o: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_o: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalO" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_o ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *arg_an_o) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_g: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_g: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalG" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_g ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *arg_an_g) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_h: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_h: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalH" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_h ( 644s # OrgProjectSignalingIface *object, 644s # GVariant *arg_an_h) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_ay: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_ay: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalAY" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_ay ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *arg_an_ay) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_as: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_as: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalAS" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_as ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *const *arg_an_as) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_ao: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_ao: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalAO" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_ao ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *const *arg_an_ao) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_aay: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_aay: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalAAY" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_aay ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *const *arg_an_aay) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_single_arg_signal_asv: 644s # * @object: A #OrgProjectSignalingIface. 644s # * @arg_an_asv: Argument to pass with the signal. 644s # * 644s # * Emits the "SingleArgSignalASV" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_single_arg_signal_asv ( 644s # OrgProjectSignalingIface *object, 644s # GVariant *arg_an_asv) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceProxy: 644s # * 644s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectSignalingIfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectSignalingIfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_signaling_iface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 644s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 644s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_signaling_iface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_signaling_iface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceSkeleton: 644s # * 644s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectSignalingIfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_signaling_iface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_signaling_iface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_signaling_iface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 644s # { 644s # _org_project_signaling_iface_skeleton_handle_method_call, 644s # _org_project_signaling_iface_skeleton_handle_get_property, 644s # _org_project_signaling_iface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_signaling_iface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_no_arg_signal ( 644s # OrgProjectSignalingIface *object) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 644s # OrgProjectSignalingIface *object, 644s # gboolean arg_an_b) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 644s # arg_an_b)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 644s # OrgProjectSignalingIface *object, 644s # guchar arg_an_y) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 644s # arg_an_y)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 644s # OrgProjectSignalingIface *object, 644s # gint16 arg_an_n) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 644s # arg_an_n)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 644s # OrgProjectSignalingIface *object, 644s # guint16 arg_an_q) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 644s # arg_an_q)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 644s # OrgProjectSignalingIface *object, 644s # gint arg_an_i) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 644s # arg_an_i)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 644s # OrgProjectSignalingIface *object, 644s # guint arg_an_u) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 644s # arg_an_u)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 644s # OrgProjectSignalingIface *object, 644s # gint64 arg_an_x) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 644s # arg_an_x)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 644s # OrgProjectSignalingIface *object, 644s # guint64 arg_an_t) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 644s # arg_an_t)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 644s # OrgProjectSignalingIface *object, 644s # gdouble arg_an_d) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 644s # arg_an_d)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *arg_an_s) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 644s # arg_an_s)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *arg_an_o) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 644s # arg_an_o)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *arg_an_g) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 644s # arg_an_g)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 644s # OrgProjectSignalingIface *object, 644s # GVariant *arg_an_h) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 644s # arg_an_h)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *arg_an_ay) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 644s # arg_an_ay)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *const *arg_an_as) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 644s # arg_an_as)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *const *arg_an_ao) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 644s # arg_an_ao)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 644s # OrgProjectSignalingIface *object, 644s # const gchar *const *arg_an_aay) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 644s # arg_an_aay)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 644s # OrgProjectSignalingIface *object, 644s # GVariant *arg_an_asv) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 644s # arg_an_asv)); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_signaling_iface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 644s # { 644s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 644s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 644s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 644s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 644s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 644s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 644s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 644s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 644s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 644s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 644s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 644s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 644s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 644s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 644s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 644s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 644s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 644s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 644s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 644s # gdbus-codegen: /usr/bin/gdbus-codegen 644s # tmpdir: /tmp/tmpj3zrif0x 644s # /tmp/tmpj3zrif0x/tmpoofb3nxi.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3zrif0x/tmpoofb3nxi.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.UsefulInterface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectUsefulInterface 644s # * @title: OrgProjectUsefulInterface 644s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 644s # */ 644s # 644s # enum 644s # { 644s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 644s # }; 644s # 644s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 644s # 644s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SimpleSignal", 644s # NULL, 644s # NULL 644s # }, 644s # "simple-signal" 644s # }; 644s # 644s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 644s # { 644s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.UsefulInterface", 644s # NULL, 644s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-useful-interface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_useful_interface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_useful_interface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_useful_interface_signal_marshal_simple_signal ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__VOID (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectUsefulInterface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 644s # */ 644s # 644s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # /* GObject signals for received D-Bus signals: */ 644s # /** 644s # * OrgProjectUsefulInterface::simple-signal: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 644s # g_signal_new ("simple-signal", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 644s # NULL, 644s # NULL, 644s # org_project_useful_interface_signal_marshal_simple_signal, 644s # G_TYPE_NONE, 644s # 0); 644s # 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_emit_simple_signal: 644s # * @object: A #OrgProjectUsefulInterface. 644s # * 644s # * Emits the "SimpleSignal" D-Bus signal. 644s # */ 644s # void 644s # org_project_useful_interface_emit_simple_signal ( 644s # OrgProjectUsefulInterface *object) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxy: 644s # * 644s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 644s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 644s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_useful_interface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_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); 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeleton: 644s # * 644s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectUsefulInterfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_useful_interface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_useful_interface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_useful_interface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 644s # { 644s # _org_project_useful_interface_skeleton_handle_method_call, 644s # _org_project_useful_interface_skeleton_handle_get_property, 644s # _org_project_useful_interface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_useful_interface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # _org_project_useful_interface_on_signal_simple_signal ( 644s # OrgProjectUsefulInterface *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_useful_interface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 644s # { 644s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 644s # } 644s # 644s # /** 644s # * org_project_useful_interface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectUsefulInterface * 644s # org_project_useful_interface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.OtherIface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectOtherIface 644s # * @title: OrgProjectOtherIface 644s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 644s # */ 644s # 644s # enum 644s # { 644s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 644s # }; 644s # 644s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 644s # 644s # /* ---- Introspection data for org.project.OtherIface ---- */ 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SimpleSignal", 644s # NULL, 644s # NULL 644s # }, 644s # "simple-signal" 644s # }; 644s # 644s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 644s # { 644s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.OtherIface", 644s # NULL, 644s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-other-iface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_other_iface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_other_iface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_other_iface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_other_iface_signal_marshal_simple_signal ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__VOID (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectOtherIface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 644s # */ 644s # 644s # /** 644s # * OrgProjectOtherIfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.OtherIface. 644s # */ 644s # 644s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 644s # { 644s # /* GObject signals for received D-Bus signals: */ 644s # /** 644s # * OrgProjectOtherIface::simple-signal: 644s # * @object: A #OrgProjectOtherIface. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 644s # g_signal_new ("simple-signal", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 644s # NULL, 644s # NULL, 644s # org_project_other_iface_signal_marshal_simple_signal, 644s # G_TYPE_NONE, 644s # 0); 644s # 644s # } 644s # 644s # /** 644s # * org_project_other_iface_emit_simple_signal: 644s # * @object: A #OrgProjectOtherIface. 644s # * 644s # * Emits the "SimpleSignal" D-Bus signal. 644s # */ 644s # void 644s # org_project_other_iface_emit_simple_signal ( 644s # OrgProjectOtherIface *object) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectOtherIfaceProxy: 644s # * 644s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectOtherIfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectOtherIfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectOtherIfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_other_iface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 644s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 644s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_other_iface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_other_iface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_other_iface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_other_iface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectOtherIface * 644s # org_project_other_iface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_OTHER_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_other_iface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectOtherIface * 644s # org_project_other_iface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_OTHER_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_other_iface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_other_iface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_other_iface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectOtherIface * 644s # org_project_other_iface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_OTHER_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_other_iface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectOtherIface * 644s # org_project_other_iface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_OTHER_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectOtherIfaceSkeleton: 644s # * 644s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectOtherIfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectOtherIfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectOtherIfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_other_iface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_other_iface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_other_iface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 644s # { 644s # _org_project_other_iface_skeleton_handle_method_call, 644s # _org_project_other_iface_skeleton_handle_get_property, 644s # _org_project_other_iface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_other_iface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # _org_project_other_iface_on_signal_simple_signal ( 644s # OrgProjectOtherIface *object) 644s # { 644s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_other_iface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 644s # { 644s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 644s # } 644s # 644s # /** 644s # * org_project_other_iface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectOtherIface * 644s # org_project_other_iface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 644s # } 644s # Error: 644s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 644s # gdbus-codegen: /usr/bin/gdbus-codegen 644s # tmpdir: /tmp/tmp44b_eyzr 644s # /tmp/tmp44b_eyzr/tmpg44vwaa9.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp44b_eyzr/tmpg44vwaa9.xml', '--output', '-', '--body'] 644s # Return code: 0 644s # Output: 644s # /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.SignalingIface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectSignalingIface 644s # * @title: OrgProjectSignalingIface 644s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 644s # */ 644s # 644s # enum 644s # { 644s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 644s # }; 644s # 644s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 644s # 644s # /* ---- Introspection data for org.project.SignalingIface ---- */ 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SimpleSignal", 644s # NULL, 644s # NULL 644s # }, 644s # "simple-signal" 644s # }; 644s # 644s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 644s # { 644s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.SignalingIface", 644s # NULL, 644s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-signaling-iface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_signaling_iface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_signaling_iface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_signaling_iface_signal_marshal_simple_signal ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__VOID (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectSignalingIface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 644s # */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.SignalingIface. 644s # */ 644s # 644s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 644s # { 644s # /* GObject signals for received D-Bus signals: */ 644s # /** 644s # * OrgProjectSignalingIface::simple-signal: 644s # * @object: A #OrgProjectSignalingIface. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 644s # g_signal_new ("simple-signal", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 644s # NULL, 644s # NULL, 644s # org_project_signaling_iface_signal_marshal_simple_signal, 644s # G_TYPE_NONE, 644s # 0); 644s # 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_emit_simple_signal: 644s # * @object: A #OrgProjectSignalingIface. 644s # * 644s # * Emits the "SimpleSignal" D-Bus signal. 644s # */ 644s # void 644s # org_project_signaling_iface_emit_simple_signal ( 644s # OrgProjectSignalingIface *object) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceProxy: 644s # * 644s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectSignalingIfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectSignalingIfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_signaling_iface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 644s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 644s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_signaling_iface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_signaling_iface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceSkeleton: 644s # * 644s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectSignalingIfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectSignalingIfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_signaling_iface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_signaling_iface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_signaling_iface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 644s # { 644s # _org_project_signaling_iface_skeleton_handle_method_call, 644s # _org_project_signaling_iface_skeleton_handle_get_property, 644s # _org_project_signaling_iface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_signaling_iface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # _org_project_signaling_iface_on_signal_simple_signal ( 644s # OrgProjectSignalingIface *object) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_signaling_iface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 644s # { 644s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 644s # } 644s # 644s # /** 644s # * org_project_signaling_iface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectSignalingIface * 644s # org_project_signaling_iface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.OtherSignalingIface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectOtherSignalingIface 644s # * @title: OrgProjectOtherSignalingIface 644s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 644s # */ 644s # 644s # enum 644s # { 644s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 644s # }; 644s # 644s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 644s # 644s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 644s # 644s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SimpleSignal", 644s # NULL, 644s # NULL 644s # }, 644s # "simple-signal" 644s # }; 644s # 644s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 644s # { 644s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.OtherSignalingIface", 644s # NULL, 644s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-other-signaling-iface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_other_signaling_iface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_other_signaling_iface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_other_signaling_iface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # g_cclosure_marshal_VOID__VOID (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectOtherSignalingIface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 644s # */ 644s # 644s # /** 644s # * OrgProjectOtherSignalingIfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 644s # */ 644s # 644s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 644s # { 644s # /* GObject signals for received D-Bus signals: */ 644s # /** 644s # * OrgProjectOtherSignalingIface::simple-signal: 644s # * @object: A #OrgProjectOtherSignalingIface. 644s # * 644s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 644s # * 644s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 644s # */ 644s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 644s # g_signal_new ("simple-signal", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 644s # NULL, 644s # NULL, 644s # org_project_other_signaling_iface_signal_marshal_simple_signal, 644s # G_TYPE_NONE, 644s # 0); 644s # 644s # } 644s # 644s # /** 644s # * org_project_other_signaling_iface_emit_simple_signal: 644s # * @object: A #OrgProjectOtherSignalingIface. 644s # * 644s # * Emits the "SimpleSignal" D-Bus signal. 644s # */ 644s # void 644s # org_project_other_signaling_iface_emit_simple_signal ( 644s # OrgProjectOtherSignalingIface *object) 644s # { 644s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectOtherSignalingIfaceProxy: 644s # * 644s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectOtherSignalingIfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static void 644s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 644s # } 644s # 644s # static void 644s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 644s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 644s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 644s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # /** 644s # * org_project_other_signaling_iface_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_other_signaling_iface_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_other_signaling_iface_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectOtherSignalingIface * 644s # org_project_other_signaling_iface_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_other_signaling_iface_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectOtherSignalingIface * 644s # org_project_other_signaling_iface_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * org_project_other_signaling_iface_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # org_project_other_signaling_iface_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectOtherSignalingIface * 644s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # OrgProjectOtherSignalingIface * 644s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectOtherSignalingIfaceSkeleton: 644s # * 644s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectOtherSignalingIfaceSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 644s # */ 644s # 644s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 644s # { 644s # _org_project_other_signaling_iface_skeleton_handle_method_call, 644s # _org_project_other_signaling_iface_skeleton_handle_get_property, 644s # _org_project_other_signaling_iface_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return org_project_other_signaling_iface_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 644s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #else 644s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 644s # #endif 644s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static void 644s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # _org_project_other_signaling_iface_on_signal_simple_signal ( 644s # OrgProjectOtherSignalingIface *object) 644s # { 644s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 644s # 644s # GList *connections, *l; 644s # GVariant *signal_variant; 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # 644s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 644s # for (l = connections; l != NULL; l = l->next) 644s # { 644s # GDBusConnection *connection = l->data; 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 644s # signal_variant, NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # 644s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 644s # { 644s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # } 644s # 644s # static void 644s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 644s # { 644s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 644s # } 644s # 644s # /** 644s # * org_project_other_signaling_iface_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 644s # * 644s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 644s # */ 644s # OrgProjectOtherSignalingIface * 644s # org_project_other_signaling_iface_skeleton_new (void) 644s # { 644s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 644s # } 644s # Error: 645s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 645s # gdbus-codegen: /usr/bin/gdbus-codegen 645s # tmpdir: /tmp/tmpkdm8ak3v 645s # /tmp/tmpkdm8ak3v/tmpyj9p9aso.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmpyj9p9aso.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_b", 645s # (gchar *) "b", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalB", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-b" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__BOOLEAN (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-b: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_b: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 645s # g_signal_new ("single-arg-signal-b", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_BOOLEAN); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_b: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_b: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalB" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_b ( 645s # OrgProjectSignalingIface *object, 645s # gboolean arg_arg_b) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 645s # OrgProjectSignalingIface *object, 645s # gboolean arg_arg_b) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 645s # arg_arg_b)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmp33dhpph6.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmp33dhpph6.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_y", 645s # (gchar *) "y", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalY", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-y" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__UCHAR (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-y: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_y: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 645s # g_signal_new ("single-arg-signal-y", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_UCHAR); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_y: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_y: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalY" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_y ( 645s # OrgProjectSignalingIface *object, 645s # guchar arg_arg_y) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 645s # OrgProjectSignalingIface *object, 645s # guchar arg_arg_y) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 645s # arg_arg_y)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmpl7b8ldul.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmpl7b8ldul.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_n", 645s # (gchar *) "n", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalN", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-n" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__INT (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-n: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_n: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 645s # g_signal_new ("single-arg-signal-n", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_INT); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_n: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_n: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalN" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_n ( 645s # OrgProjectSignalingIface *object, 645s # gint16 arg_arg_n) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 645s # OrgProjectSignalingIface *object, 645s # gint16 arg_arg_n) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 645s # arg_arg_n)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmpsuq1we9v.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmpsuq1we9v.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_q", 645s # (gchar *) "q", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalQ", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-q" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__UINT (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-q: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_q: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 645s # g_signal_new ("single-arg-signal-q", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_UINT); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_q: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_q: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalQ" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_q ( 645s # OrgProjectSignalingIface *object, 645s # guint16 arg_arg_q) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 645s # OrgProjectSignalingIface *object, 645s # guint16 arg_arg_q) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 645s # arg_arg_q)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmpar79uz77.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmpar79uz77.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_i", 645s # (gchar *) "i", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalI", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-i" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__INT (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-i: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_i: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 645s # g_signal_new ("single-arg-signal-i", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_INT); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_i: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_i: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalI" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_i ( 645s # OrgProjectSignalingIface *object, 645s # gint arg_arg_i) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 645s # OrgProjectSignalingIface *object, 645s # gint arg_arg_i) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 645s # arg_arg_i)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmphauic_06.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmphauic_06.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_u", 645s # (gchar *) "u", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalU", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-u" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__UINT (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-u: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_u: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 645s # g_signal_new ("single-arg-signal-u", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_UINT); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_u: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_u: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalU" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_u ( 645s # OrgProjectSignalingIface *object, 645s # guint arg_arg_u) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 645s # OrgProjectSignalingIface *object, 645s # guint arg_arg_u) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 645s # arg_arg_u)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmpe49q1ggt.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmpe49q1ggt.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # static void 645s # _g_dbus_codegen_marshal_VOID__INT64 ( 645s # GClosure *closure, 645s # GValue *return_value G_GNUC_UNUSED, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint G_GNUC_UNUSED, 645s # void *marshal_data) 645s # { 645s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 645s # (void *data1, 645s # gint64 arg_arg_x, 645s # void *data2); 645s # _GDbusCodegenMarshalVoid_Int64Func callback; 645s # GCClosure *cc = (GCClosure*) closure; 645s # void *data1, *data2; 645s # 645s # g_return_if_fail (n_param_values == 2); 645s # 645s # if (G_CCLOSURE_SWAP_DATA (closure)) 645s # { 645s # data1 = closure->data; 645s # data2 = g_value_peek_pointer (param_values + 0); 645s # } 645s # else 645s # { 645s # data1 = g_value_peek_pointer (param_values + 0); 645s # data2 = closure->data; 645s # } 645s # 645s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 645s # (marshal_data ? marshal_data : cc->callback); 645s # 645s # callback (data1, 645s # g_marshal_value_peek_int64 (param_values + 1), 645s # data2); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_x", 645s # (gchar *) "x", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalX", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-x" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-x: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_x: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 645s # g_signal_new ("single-arg-signal-x", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_INT64); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_x: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_x: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalX" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_x ( 645s # OrgProjectSignalingIface *object, 645s # gint64 arg_arg_x) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 645s # OrgProjectSignalingIface *object, 645s # gint64 arg_arg_x) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 645s # arg_arg_x)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmpcu_awa7w.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmpcu_awa7w.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # static void 645s # _g_dbus_codegen_marshal_VOID__UINT64 ( 645s # GClosure *closure, 645s # GValue *return_value G_GNUC_UNUSED, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint G_GNUC_UNUSED, 645s # void *marshal_data) 645s # { 645s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 645s # (void *data1, 645s # guint64 arg_arg_t, 645s # void *data2); 645s # _GDbusCodegenMarshalVoid_Uint64Func callback; 645s # GCClosure *cc = (GCClosure*) closure; 645s # void *data1, *data2; 645s # 645s # g_return_if_fail (n_param_values == 2); 645s # 645s # if (G_CCLOSURE_SWAP_DATA (closure)) 645s # { 645s # data1 = closure->data; 645s # data2 = g_value_peek_pointer (param_values + 0); 645s # } 645s # else 645s # { 645s # data1 = g_value_peek_pointer (param_values + 0); 645s # data2 = closure->data; 645s # } 645s # 645s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 645s # (marshal_data ? marshal_data : cc->callback); 645s # 645s # callback (data1, 645s # g_marshal_value_peek_uint64 (param_values + 1), 645s # data2); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_t", 645s # (gchar *) "t", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalT", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-t" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-t: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_t: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 645s # g_signal_new ("single-arg-signal-t", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_UINT64); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_t: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_t: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalT" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_t ( 645s # OrgProjectSignalingIface *object, 645s # guint64 arg_arg_t) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 645s # OrgProjectSignalingIface *object, 645s # guint64 arg_arg_t) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 645s # arg_arg_t)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmp17fjvudu.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmp17fjvudu.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_d", 645s # (gchar *) "d", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalD", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-d" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__DOUBLE (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-d: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_d: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 645s # g_signal_new ("single-arg-signal-d", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_DOUBLE); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_d: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_d: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalD" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_d ( 645s # OrgProjectSignalingIface *object, 645s # gdouble arg_arg_d) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 645s # OrgProjectSignalingIface *object, 645s # gdouble arg_arg_d) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 645s # arg_arg_d)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmpdevktaod.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmpdevktaod.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_s", 645s # (gchar *) "s", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalS", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-s" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__STRING (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-s: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_s: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 645s # g_signal_new ("single-arg-signal-s", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_STRING); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_s: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_s: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalS" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_s ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *arg_arg_s) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *arg_arg_s) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 645s # arg_arg_s)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmp7dn5307_.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmp7dn5307_.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_o", 645s # (gchar *) "o", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalO", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-o" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__STRING (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-o: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_o: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 645s # g_signal_new ("single-arg-signal-o", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_STRING); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_o: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_o: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalO" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_o ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *arg_arg_o) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *arg_arg_o) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 645s # arg_arg_o)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmpqyd24gm6.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmpqyd24gm6.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_g", 645s # (gchar *) "g", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalG", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-g" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__STRING (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-g: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_g: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 645s # g_signal_new ("single-arg-signal-g", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_STRING); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_g: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_g: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalG" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_g ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *arg_arg_g) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *arg_arg_g) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 645s # arg_arg_g)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmpob0lai20.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmpob0lai20.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_h", 645s # (gchar *) "h", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalH", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-h" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VARIANT (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-h: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_h: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 645s # g_signal_new ("single-arg-signal-h", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_VARIANT); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_h: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_h: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalH" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_h ( 645s # OrgProjectSignalingIface *object, 645s # GVariant *arg_arg_h) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 645s # OrgProjectSignalingIface *object, 645s # GVariant *arg_arg_h) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 645s # arg_arg_h)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmp1yqji48v.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmp1yqji48v.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_ay", 645s # (gchar *) "ay", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalAy", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-ay" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__STRING (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-ay: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_ay: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 645s # g_signal_new ("single-arg-signal-ay", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_STRING); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_ay: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_ay: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalAy" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_ay ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *arg_arg_ay) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *arg_arg_ay) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 645s # arg_arg_ay)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmpzxjzdbil.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmpzxjzdbil.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_as", 645s # (gchar *) "as", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalAs", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-as" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__BOXED (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-as: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_as: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 645s # g_signal_new ("single-arg-signal-as", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_STRV); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_as: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_as: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalAs" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_as ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *const *arg_arg_as) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *const *arg_arg_as) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 645s # arg_arg_as)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmpy109fu5n.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmpy109fu5n.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_ao", 645s # (gchar *) "ao", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalAo", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-ao" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__BOXED (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-ao: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_ao: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 645s # g_signal_new ("single-arg-signal-ao", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_STRV); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_ao: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_ao: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalAo" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_ao ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *const *arg_arg_ao) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *const *arg_arg_ao) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 645s # arg_arg_ao)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmp7euiaufp.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmp7euiaufp.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_aay", 645s # (gchar *) "aay", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalAay", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-aay" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__BOXED (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-aay: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_aay: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 645s # g_signal_new ("single-arg-signal-aay", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_STRV); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_aay: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_aay: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalAay" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_aay ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *const *arg_arg_aay) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 645s # OrgProjectSignalingIface *object, 645s # const gchar *const *arg_arg_aay) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 645s # arg_arg_aay)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s # 645s # /tmp/tmpkdm8ak3v/tmpk3j3rx2s.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdm8ak3v/tmpk3j3rx2s.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_asv", 645s # (gchar *) "a{sv}", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgSignalAsv", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 645s # NULL 645s # }, 645s # "single-arg-signal-asv" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VARIANT (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::single-arg-signal-asv: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_asv: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 645s # g_signal_new ("single-arg-signal-asv", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 645s # G_TYPE_NONE, 645s # 1, G_TYPE_VARIANT); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_single_arg_signal_asv: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_arg_asv: Argument to pass with the signal. 645s # * 645s # * Emits the "SingleArgSignalAsv" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_single_arg_signal_asv ( 645s # OrgProjectSignalingIface *object, 645s # GVariant *arg_arg_asv) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 645s # OrgProjectSignalingIface *object, 645s # GVariant *arg_arg_asv) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 645s # arg_arg_asv)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 645s # gdbus-codegen: /usr/bin/gdbus-codegen 645s # tmpdir: /tmp/tmpyk_ijr98 645s # /tmp/tmpyk_ijr98/tmpmzrtop39.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyk_ijr98/tmpmzrtop39.xml', '--output', '-', '--body'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # static void 645s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 645s # GClosure *closure, 645s # GValue *return_value G_GNUC_UNUSED, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint G_GNUC_UNUSED, 645s # void *marshal_data) 645s # { 645s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 645s # (void *data1, 645s # gboolean arg_an_b, 645s # guchar arg_an_y, 645s # gint16 arg_an_n, 645s # guint16 arg_an_q, 645s # gint arg_an_i, 645s # guint arg_an_u, 645s # gint64 arg_an_x, 645s # guint64 arg_an_t, 645s # gdouble arg_an_d, 645s # const gchar *arg_an_s, 645s # const gchar *arg_an_o, 645s # const gchar *arg_an_g, 645s # GVariant *arg_an_h, 645s # const gchar *arg_an_ay, 645s # const gchar *const *arg_an_as, 645s # const gchar *const *arg_an_ao, 645s # const gchar *const *arg_an_aay, 645s # GVariant *arg_an_asv, 645s # void *data2); 645s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 645s # GCClosure *cc = (GCClosure*) closure; 645s # void *data1, *data2; 645s # 645s # g_return_if_fail (n_param_values == 19); 645s # 645s # if (G_CCLOSURE_SWAP_DATA (closure)) 645s # { 645s # data1 = closure->data; 645s # data2 = g_value_peek_pointer (param_values + 0); 645s # } 645s # else 645s # { 645s # data1 = g_value_peek_pointer (param_values + 0); 645s # data2 = closure->data; 645s # } 645s # 645s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 645s # (marshal_data ? marshal_data : cc->callback); 645s # 645s # callback (data1, 645s # g_marshal_value_peek_boolean (param_values + 1), 645s # g_marshal_value_peek_uchar (param_values + 2), 645s # g_marshal_value_peek_int (param_values + 3), 645s # g_marshal_value_peek_uint (param_values + 4), 645s # g_marshal_value_peek_int (param_values + 5), 645s # g_marshal_value_peek_uint (param_values + 6), 645s # g_marshal_value_peek_int64 (param_values + 7), 645s # g_marshal_value_peek_uint64 (param_values + 8), 645s # g_marshal_value_peek_double (param_values + 9), 645s # g_marshal_value_peek_string (param_values + 10), 645s # g_marshal_value_peek_string (param_values + 11), 645s # g_marshal_value_peek_string (param_values + 12), 645s # g_marshal_value_peek_variant (param_values + 13), 645s # g_marshal_value_peek_string (param_values + 14), 645s # g_marshal_value_peek_boxed (param_values + 15), 645s # g_marshal_value_peek_boxed (param_values + 16), 645s # g_marshal_value_peek_boxed (param_values + 17), 645s # g_marshal_value_peek_variant (param_values + 18), 645s # data2); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.SignalingIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectSignalingIface 645s # * @title: OrgProjectSignalingIface 645s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 645s # */ 645s # 645s # enum 645s # { 645s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 645s # }; 645s # 645s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 645s # 645s # /* ---- Introspection data for org.project.SignalingIface ---- */ 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleSignal", 645s # NULL, 645s # NULL 645s # }, 645s # "simple-signal" 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_b", 645s # (gchar *) "b", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_y", 645s # (gchar *) "y", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_n", 645s # (gchar *) "n", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_q", 645s # (gchar *) "q", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_i", 645s # (gchar *) "i", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_u", 645s # (gchar *) "u", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_x", 645s # (gchar *) "x", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_t", 645s # (gchar *) "t", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_d", 645s # (gchar *) "d", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_s", 645s # (gchar *) "s", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_o", 645s # (gchar *) "o", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_g", 645s # (gchar *) "g", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_h", 645s # (gchar *) "h", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_ay", 645s # (gchar *) "ay", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_as", 645s # (gchar *) "as", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_ao", 645s # (gchar *) "ao", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_aay", 645s # (gchar *) "aay", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 645s # { 645s # { 645s # -1, 645s # (gchar *) "an_asv", 645s # (gchar *) "a{sv}", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SignalWithManyArgs", 645s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 645s # NULL 645s # }, 645s # "signal-with-many-args" 645s # }; 645s # 645s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 645s # { 645s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 645s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.SignalingIface", 645s # NULL, 645s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-signaling-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_signaling_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_simple_signal ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # g_cclosure_marshal_VOID__VOID (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # inline static void 645s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectSignalingIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 645s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.SignalingIface. 645s # */ 645s # 645s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # /* GObject signals for received D-Bus signals: */ 645s # /** 645s # * OrgProjectSignalingIface::simple-signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 645s # g_signal_new ("simple-signal", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_simple_signal, 645s # G_TYPE_NONE, 645s # 0); 645s # 645s # /** 645s # * OrgProjectSignalingIface::signal-with-many-args: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_an_b: Argument. 645s # * @arg_an_y: Argument. 645s # * @arg_an_n: Argument. 645s # * @arg_an_q: Argument. 645s # * @arg_an_i: Argument. 645s # * @arg_an_u: Argument. 645s # * @arg_an_x: Argument. 645s # * @arg_an_t: Argument. 645s # * @arg_an_d: Argument. 645s # * @arg_an_s: Argument. 645s # * @arg_an_o: Argument. 645s # * @arg_an_g: Argument. 645s # * @arg_an_h: Argument. 645s # * @arg_an_ay: Argument. 645s # * @arg_an_as: Argument. 645s # * @arg_an_ao: Argument. 645s # * @arg_an_aay: Argument. 645s # * @arg_an_asv: Argument. 645s # * 645s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 645s # * 645s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 645s # */ 645s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 645s # g_signal_new ("signal-with-many-args", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 645s # NULL, 645s # NULL, 645s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 645s # G_TYPE_NONE, 645s # 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); 645s # 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_simple_signal: 645s # * @object: A #OrgProjectSignalingIface. 645s # * 645s # * Emits the "SimpleSignal" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_emit_signal_with_many_args: 645s # * @object: A #OrgProjectSignalingIface. 645s # * @arg_an_b: Argument to pass with the signal. 645s # * @arg_an_y: Argument to pass with the signal. 645s # * @arg_an_n: Argument to pass with the signal. 645s # * @arg_an_q: Argument to pass with the signal. 645s # * @arg_an_i: Argument to pass with the signal. 645s # * @arg_an_u: Argument to pass with the signal. 645s # * @arg_an_x: Argument to pass with the signal. 645s # * @arg_an_t: Argument to pass with the signal. 645s # * @arg_an_d: Argument to pass with the signal. 645s # * @arg_an_s: Argument to pass with the signal. 645s # * @arg_an_o: Argument to pass with the signal. 645s # * @arg_an_g: Argument to pass with the signal. 645s # * @arg_an_h: Argument to pass with the signal. 645s # * @arg_an_ay: Argument to pass with the signal. 645s # * @arg_an_as: Argument to pass with the signal. 645s # * @arg_an_ao: Argument to pass with the signal. 645s # * @arg_an_aay: Argument to pass with the signal. 645s # * @arg_an_asv: Argument to pass with the signal. 645s # * 645s # * Emits the "SignalWithManyArgs" D-Bus signal. 645s # */ 645s # void 645s # org_project_signaling_iface_emit_signal_with_many_args ( 645s # OrgProjectSignalingIface *object, 645s # gboolean arg_an_b, 645s # guchar arg_an_y, 645s # gint16 arg_an_n, 645s # guint16 arg_an_q, 645s # gint arg_an_i, 645s # guint arg_an_u, 645s # gint64 arg_an_x, 645s # guint64 arg_an_t, 645s # gdouble arg_an_d, 645s # const gchar *arg_an_s, 645s # const gchar *arg_an_o, 645s # const gchar *arg_an_g, 645s # GVariant *arg_an_h, 645s # const gchar *arg_an_ay, 645s # const gchar *const *arg_an_as, 645s # const gchar *const *arg_an_ao, 645s # const gchar *const *arg_an_aay, 645s # GVariant *arg_an_asv) 645s # { 645s # 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); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxy: 645s # * 645s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_signaling_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_SIGNALING_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeleton: 645s # * 645s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectSignalingIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectSignalingIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_signaling_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_signaling_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_signaling_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 645s # { 645s # _org_project_signaling_iface_skeleton_handle_method_call, 645s # _org_project_signaling_iface_skeleton_handle_get_property, 645s # _org_project_signaling_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_signaling_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 645s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #else 645s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 645s # #endif 645s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_simple_signal ( 645s # OrgProjectSignalingIface *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void 645s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 645s # OrgProjectSignalingIface *object, 645s # gboolean arg_an_b, 645s # guchar arg_an_y, 645s # gint16 arg_an_n, 645s # guint16 arg_an_q, 645s # gint arg_an_i, 645s # guint arg_an_u, 645s # gint64 arg_an_x, 645s # guint64 arg_an_t, 645s # gdouble arg_an_d, 645s # const gchar *arg_an_s, 645s # const gchar *arg_an_o, 645s # const gchar *arg_an_g, 645s # GVariant *arg_an_h, 645s # const gchar *arg_an_ay, 645s # const gchar *const *arg_an_as, 645s # const gchar *const *arg_an_ao, 645s # const gchar *const *arg_an_aay, 645s # GVariant *arg_an_asv) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # 645s # GList *connections, *l; 645s # GVariant *signal_variant; 645s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 645s # 645s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 645s # arg_an_b, 645s # arg_an_y, 645s # arg_an_n, 645s # arg_an_q, 645s # arg_an_i, 645s # arg_an_u, 645s # arg_an_x, 645s # arg_an_t, 645s # arg_an_d, 645s # arg_an_s, 645s # arg_an_o, 645s # arg_an_g, 645s # arg_an_h, 645s # arg_an_ay, 645s # arg_an_as, 645s # arg_an_ao, 645s # arg_an_aay, 645s # arg_an_asv)); 645s # for (l = connections; l != NULL; l = l->next) 645s # { 645s # GDBusConnection *connection = l->data; 645s # g_dbus_connection_emit_signal (connection, 645s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 645s # signal_variant, NULL); 645s # } 645s # g_variant_unref (signal_variant); 645s # g_list_free_full (connections, g_object_unref); 645s # } 645s # 645s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_signaling_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 645s # { 645s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 645s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 645s # } 645s # 645s # /** 645s # * org_project_signaling_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectSignalingIface * 645s # org_project_signaling_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 645s # } 645s # Error: 645s ok 25 __main__.TestCodegen.test_generate_valid_docbook 645s # gdbus-codegen: /usr/bin/gdbus-codegen 645s # tmpdir: /tmp/tmpf6pim8ct 645s # /tmp/tmpf6pim8ct/tmpz3ljf114.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf6pim8ct/tmpz3ljf114.xml', '--generate-docbook', 'test'] 645s # Return code: 0 645s # Output: 645s # 645s # Error: 645s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 645s # gdbus-codegen: /usr/bin/gdbus-codegen 645s # tmpdir: /tmp/tmpag660bx8 645s # /tmp/tmpag660bx8/tmpguyb1by8.xml: 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpag660bx8/tmpguyb1by8.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 645s # Return code: 1 645s # Output: 645s # 645s # Error: 645s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 645s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 645s # gdbus-codegen: /usr/bin/gdbus-codegen 645s # tmpdir: /tmp/tmp__1ya4k1 645s # /tmp/tmp__1ya4k1/tmpbzmu14v2.xml: 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp__1ya4k1/tmpbzmu14v2.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifndef __STDOUT__ 645s # #define __STDOUT__ 645s # 645s # #include 645s # 645s # G_BEGIN_DECLS 645s # 645s # 645s # G_END_DECLS 645s # 645s # #endif /* __STDOUT__ */ 645s # Error: 645s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 645s # gdbus-codegen: /usr/bin/gdbus-codegen 645s # tmpdir: /tmp/tmp0ung_j76 645s # /tmp/tmp0ung_j76/tmp5658mubu.xml: 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0ung_j76/tmp5658mubu.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 645s # Return code: 1 645s # Output: 645s # 645s # Error: 645s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 645s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 645s # gdbus-codegen: /usr/bin/gdbus-codegen 645s # tmpdir: /tmp/tmpjwfksg74 645s # /tmp/tmpjwfksg74/tmpk77eghqc.xml: 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjwfksg74/tmpk77eghqc.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifndef __STDOUT__ 645s # #define __STDOUT__ 645s # 645s # #include 645s # 645s # G_BEGIN_DECLS 645s # 645s # 645s # G_END_DECLS 645s # 645s # #endif /* __STDOUT__ */ 645s # Error: 645s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 645s # gdbus-codegen: /usr/bin/gdbus-codegen 645s # tmpdir: /tmp/tmp3hazf8o2 645s # /tmp/tmp3hazf8o2/tmp9vkbo4q5.xml: 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3hazf8o2/tmp9vkbo4q5.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifndef __STDOUT__ 645s # #define __STDOUT__ 645s # 645s # #include 645s # 645s # G_BEGIN_DECLS 645s # 645s # 645s # G_END_DECLS 645s # 645s # #endif /* __STDOUT__ */ 645s # Error: 645s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 645s # gdbus-codegen: /usr/bin/gdbus-codegen 645s # tmpdir: /tmp/tmpx49a94yn 645s # /tmp/tmpx49a94yn/tmp0ljs03i9.xml: 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx49a94yn/tmp0ljs03i9.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 645s # Return code: 1 645s # Output: 645s # 645s # Error: 645s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 645s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 645s # gdbus-codegen: /usr/bin/gdbus-codegen 645s # tmpdir: /tmp/tmp67_khily 645s # /tmp/tmp67_khily/tmp3jasoa8z.xml: 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp67_khily/tmp3jasoa8z.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifndef __STDOUT__ 645s # #define __STDOUT__ 645s # 645s # #include 645s # 645s # G_BEGIN_DECLS 645s # 645s # 645s # G_END_DECLS 645s # 645s # #endif /* __STDOUT__ */ 645s # Error: 645s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 645s # gdbus-codegen: /usr/bin/gdbus-codegen 645s # tmpdir: /tmp/tmppq3f1p6x 645s # /tmp/tmppq3f1p6x/tmpydk72buc.xml: 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppq3f1p6x/tmpydk72buc.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 645s # Return code: 1 645s # Output: 645s # 645s # Error: 645s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 645s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 645s # gdbus-codegen: /usr/bin/gdbus-codegen 645s # tmpdir: /tmp/tmpnpslr6v3 645s # /tmp/tmpnpslr6v3/tmpsk489f44.xml: 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnpslr6v3/tmpsk489f44.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 645s # Return code: 0 645s # Output: 645s # /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifndef __STDOUT__ 645s # #define __STDOUT__ 645s # 645s # #include 645s # 645s # G_BEGIN_DECLS 645s # 645s # 645s # G_END_DECLS 645s # 645s # #endif /* __STDOUT__ */ 645s # Error: 646s ok 35 __main__.TestCodegen.test_help 646s # gdbus-codegen: /usr/bin/gdbus-codegen 646s # tmpdir: /tmp/tmp4y4_d3h6 646s # Running: ['/usr/bin/gdbus-codegen', '--help'] 646s # Return code: 0 646s # Output: 646s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 646s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 646s # [--c-generate-autocleanup {none,objects,all}] 646s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 646s # [--generate-rst OUTFILES] [--pragma-once] 646s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 646s # [--glib-min-required VERSION] 646s # [--glib-max-allowed VERSION] 646s # [--symbol-decorator SYMBOL_DECORATOR] 646s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 646s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 646s # [--generate-c-code OUTFILES | --header | --body | 646s # --interface-info-header | --interface-info-body] 646s # [--output FILE | --output-directory OUTDIR] 646s # FILE [FILE ...] 646s # 646s # D-Bus code and documentation generator 646s # 646s # positional arguments: 646s # FILE D-Bus introspection XML file 646s # 646s # options: 646s # -h, --help show this help message and exit 646s # --interface-prefix PREFIX 646s # String to strip from D-Bus interface names for code 646s # and docs 646s # --c-namespace NAMESPACE 646s # The namespace to use for generated C code 646s # --c-generate-object-manager 646s # Generate a GDBusObjectManagerClient subclass when 646s # generating C code 646s # --c-generate-autocleanup {none,objects,all} 646s # Generate autocleanup support 646s # --generate-docbook OUTFILES 646s # Generate Docbook in OUTFILES-org.Project.IFace.xml 646s # --generate-md OUTFILES 646s # Generate Markdown in OUTFILES-org.Project.IFace.md 646s # --generate-rst OUTFILES 646s # Generate reStructuredText in OUTFILES- 646s # org.Project.IFace.rst 646s # --pragma-once Use "pragma once" as the inclusion guard 646s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 646s # Add annotation (may be used several times) 646s # --glib-min-required VERSION 646s # Minimum version of GLib to be supported by the 646s # outputted code (default: 2.30) 646s # --glib-max-allowed VERSION 646s # Maximum version of GLib to be used by the outputted 646s # code (default: current GLib version) 646s # --symbol-decorator SYMBOL_DECORATOR 646s # Macro used to decorate a symbol in the outputted 646s # header, possibly to export symbols 646s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 646s # Additional header required for decorator specified by 646s # --symbol-decorator 646s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 646s # Additional define required for decorator specified by 646s # --symbol-decorator 646s # --generate-c-code OUTFILES 646s # Generate C code in OUTFILES.[ch] 646s # --header Generate C headers 646s # --body Generate C code 646s # --interface-info-header 646s # Generate GDBusInterfaceInfo C header 646s # --interface-info-body 646s # Generate GDBusInterfaceInfo C code 646s # --output FILE Write output into the specified file 646s # --output-directory OUTDIR 646s # Location to output generated files 646s # Error: 646s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 646s # gdbus-codegen: /usr/bin/gdbus-codegen 646s # tmpdir: /tmp/tmpb9hs9p4t 646s # /tmp/tmpb9hs9p4t/tmpfn4n8zo9.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb9hs9p4t/tmpfn4n8zo9.xml', '--generate-rst', 'test'] 646s # Return code: 0 646s # Output: 646s # 646s # Error: 646s # 646s # /tmp/tmpb9hs9p4t/tmp_tv60dn2.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb9hs9p4t/tmp_tv60dn2.xml', '--generate-md', 'test'] 646s # Return code: 0 646s # Output: 646s # 646s # Error: 646s # 646s # /tmp/tmpb9hs9p4t/tmphsizi_df.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb9hs9p4t/tmphsizi_df.xml', '--generate-docbook', 'test'] 646s # Return code: 0 646s # Output: 646s # 646s # Error: 646s ok 37 __main__.TestCodegen.test_no_args 646s # gdbus-codegen: /usr/bin/gdbus-codegen 646s # tmpdir: /tmp/tmpwm3wn_qg 646s # Running: ['/usr/bin/gdbus-codegen'] 646s # Return code: 2 646s # Output: 646s # 646s # Error: 646s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 646s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 646s # [--c-generate-autocleanup {none,objects,all}] 646s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 646s # [--generate-rst OUTFILES] [--pragma-once] 646s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 646s # [--glib-min-required VERSION] 646s # [--glib-max-allowed VERSION] 646s # [--symbol-decorator SYMBOL_DECORATOR] 646s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 646s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 646s # [--generate-c-code OUTFILES | --header | --body | 646s # --interface-info-header | --interface-info-body] 646s # [--output FILE | --output-directory OUTDIR] 646s # FILE [FILE ...] 646s # gdbus-codegen: error: the following arguments are required: FILE 646s ok 38 __main__.TestCodegen.test_reproducible 646s # gdbus-codegen: /usr/bin/gdbus-codegen 646s # tmpdir: /tmp/tmpz1cd6aln 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz1cd6aln/tmpc887fi_o1.xml', '/tmp/tmpz1cd6aln/tmp0mq5_5tu2.xml', '--output', '-', '--header'] 646s # Return code: 0 646s # Output: 646s # /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifndef __STDOUT__ 646s # #define __STDOUT__ 646s # 646s # #include 646s # 646s # G_BEGIN_DECLS 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # /* Declarations for org.project.Bar.Frobnicator */ 646s # 646s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 646s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 646s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 646s # 646s # struct _OrgProjectBarFrobnicator; 646s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 646s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 646s # 646s # struct _OrgProjectBarFrobnicatorIface 646s # { 646s # GTypeInterface parent_iface; 646s # 646s # gboolean (*handle_random_method) ( 646s # OrgProjectBarFrobnicator *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # }; 646s # 646s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 646s # 646s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 646s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 646s # 646s # 646s # /* D-Bus method call completion functions: */ 646s # void org_project_bar_frobnicator_complete_random_method ( 646s # OrgProjectBarFrobnicator *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # 646s # 646s # /* D-Bus method calls: */ 646s # void org_project_bar_frobnicator_call_random_method ( 646s # OrgProjectBarFrobnicator *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 646s # OrgProjectBarFrobnicator *proxy, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 646s # OrgProjectBarFrobnicator *proxy, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 646s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 646s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 646s # 646s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 646s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 646s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 646s # 646s # struct _OrgProjectBarFrobnicatorProxy 646s # { 646s # /*< private >*/ 646s # GDBusProxy parent_instance; 646s # OrgProjectBarFrobnicatorProxyPrivate *priv; 646s # }; 646s # 646s # struct _OrgProjectBarFrobnicatorProxyClass 646s # { 646s # GDBusProxyClass parent_class; 646s # }; 646s # 646s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 646s # #endif 646s # 646s # void org_project_bar_frobnicator_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void org_project_bar_frobnicator_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 646s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 646s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 646s # 646s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 646s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 646s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 646s # 646s # struct _OrgProjectBarFrobnicatorSkeleton 646s # { 646s # /*< private >*/ 646s # GDBusInterfaceSkeleton parent_instance; 646s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 646s # }; 646s # 646s # struct _OrgProjectBarFrobnicatorSkeletonClass 646s # { 646s # GDBusInterfaceSkeletonClass parent_class; 646s # }; 646s # 646s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 646s # #endif 646s # 646s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # /* Declarations for com.acme.Coyote */ 646s # 646s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 646s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 646s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 646s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 646s # 646s # struct _ComAcmeCoyote; 646s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 646s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 646s # 646s # struct _ComAcmeCoyoteIface 646s # { 646s # GTypeInterface parent_iface; 646s # 646s # 646s # 646s # gboolean (*handle_attack) ( 646s # ComAcmeCoyote *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # gboolean (*handle_run) ( 646s # ComAcmeCoyote *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # gboolean (*handle_sleep) ( 646s # ComAcmeCoyote *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # const gchar * (*get_mood) (ComAcmeCoyote *object); 646s # 646s # void (*surprised) ( 646s # ComAcmeCoyote *object); 646s # 646s # }; 646s # 646s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 646s # 646s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 646s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 646s # 646s # 646s # /* D-Bus method call completion functions: */ 646s # void com_acme_coyote_complete_run ( 646s # ComAcmeCoyote *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # void com_acme_coyote_complete_sleep ( 646s # ComAcmeCoyote *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # void com_acme_coyote_complete_attack ( 646s # ComAcmeCoyote *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # 646s # 646s # /* D-Bus signal emissions functions: */ 646s # void com_acme_coyote_emit_surprised ( 646s # ComAcmeCoyote *object); 646s # 646s # 646s # 646s # /* D-Bus method calls: */ 646s # void com_acme_coyote_call_run ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean com_acme_coyote_call_run_finish ( 646s # ComAcmeCoyote *proxy, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean com_acme_coyote_call_run_sync ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void com_acme_coyote_call_sleep ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean com_acme_coyote_call_sleep_finish ( 646s # ComAcmeCoyote *proxy, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean com_acme_coyote_call_sleep_sync ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void com_acme_coyote_call_attack ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean com_acme_coyote_call_attack_finish ( 646s # ComAcmeCoyote *proxy, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean com_acme_coyote_call_attack_sync ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # 646s # /* D-Bus property accessors: */ 646s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 646s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 646s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 646s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 646s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 646s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 646s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 646s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 646s # 646s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 646s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 646s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 646s # 646s # struct _ComAcmeCoyoteProxy 646s # { 646s # /*< private >*/ 646s # GDBusProxy parent_instance; 646s # ComAcmeCoyoteProxyPrivate *priv; 646s # }; 646s # 646s # struct _ComAcmeCoyoteProxyClass 646s # { 646s # GDBusProxyClass parent_class; 646s # }; 646s # 646s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 646s # #endif 646s # 646s # void com_acme_coyote_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void com_acme_coyote_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 646s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 646s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 646s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 646s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 646s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 646s # 646s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 646s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 646s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 646s # 646s # struct _ComAcmeCoyoteSkeleton 646s # { 646s # /*< private >*/ 646s # GDBusInterfaceSkeleton parent_instance; 646s # ComAcmeCoyoteSkeletonPrivate *priv; 646s # }; 646s # 646s # struct _ComAcmeCoyoteSkeletonClass 646s # { 646s # GDBusInterfaceSkeletonClass parent_class; 646s # }; 646s # 646s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 646s # #endif 646s # 646s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 646s # 646s # 646s # G_END_DECLS 646s # 646s # #endif /* __STDOUT__ */ 646s # Error: 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz1cd6aln/tmp0mq5_5tu2.xml', '/tmp/tmpz1cd6aln/tmpc887fi_o1.xml', '--output', '-', '--header'] 646s # Return code: 0 646s # Output: 646s # /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifndef __STDOUT__ 646s # #define __STDOUT__ 646s # 646s # #include 646s # 646s # G_BEGIN_DECLS 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # /* Declarations for org.project.Bar.Frobnicator */ 646s # 646s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 646s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 646s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 646s # 646s # struct _OrgProjectBarFrobnicator; 646s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 646s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 646s # 646s # struct _OrgProjectBarFrobnicatorIface 646s # { 646s # GTypeInterface parent_iface; 646s # 646s # gboolean (*handle_random_method) ( 646s # OrgProjectBarFrobnicator *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # }; 646s # 646s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 646s # 646s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 646s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 646s # 646s # 646s # /* D-Bus method call completion functions: */ 646s # void org_project_bar_frobnicator_complete_random_method ( 646s # OrgProjectBarFrobnicator *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # 646s # 646s # /* D-Bus method calls: */ 646s # void org_project_bar_frobnicator_call_random_method ( 646s # OrgProjectBarFrobnicator *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 646s # OrgProjectBarFrobnicator *proxy, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 646s # OrgProjectBarFrobnicator *proxy, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 646s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 646s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 646s # 646s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 646s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 646s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 646s # 646s # struct _OrgProjectBarFrobnicatorProxy 646s # { 646s # /*< private >*/ 646s # GDBusProxy parent_instance; 646s # OrgProjectBarFrobnicatorProxyPrivate *priv; 646s # }; 646s # 646s # struct _OrgProjectBarFrobnicatorProxyClass 646s # { 646s # GDBusProxyClass parent_class; 646s # }; 646s # 646s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 646s # #endif 646s # 646s # void org_project_bar_frobnicator_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void org_project_bar_frobnicator_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 646s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 646s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 646s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 646s # 646s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 646s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 646s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 646s # 646s # struct _OrgProjectBarFrobnicatorSkeleton 646s # { 646s # /*< private >*/ 646s # GDBusInterfaceSkeleton parent_instance; 646s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 646s # }; 646s # 646s # struct _OrgProjectBarFrobnicatorSkeletonClass 646s # { 646s # GDBusInterfaceSkeletonClass parent_class; 646s # }; 646s # 646s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 646s # #endif 646s # 646s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # /* Declarations for com.acme.Coyote */ 646s # 646s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 646s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 646s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 646s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 646s # 646s # struct _ComAcmeCoyote; 646s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 646s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 646s # 646s # struct _ComAcmeCoyoteIface 646s # { 646s # GTypeInterface parent_iface; 646s # 646s # 646s # 646s # gboolean (*handle_attack) ( 646s # ComAcmeCoyote *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # gboolean (*handle_run) ( 646s # ComAcmeCoyote *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # gboolean (*handle_sleep) ( 646s # ComAcmeCoyote *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # const gchar * (*get_mood) (ComAcmeCoyote *object); 646s # 646s # void (*surprised) ( 646s # ComAcmeCoyote *object); 646s # 646s # }; 646s # 646s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 646s # 646s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 646s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 646s # 646s # 646s # /* D-Bus method call completion functions: */ 646s # void com_acme_coyote_complete_run ( 646s # ComAcmeCoyote *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # void com_acme_coyote_complete_sleep ( 646s # ComAcmeCoyote *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # void com_acme_coyote_complete_attack ( 646s # ComAcmeCoyote *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # 646s # 646s # /* D-Bus signal emissions functions: */ 646s # void com_acme_coyote_emit_surprised ( 646s # ComAcmeCoyote *object); 646s # 646s # 646s # 646s # /* D-Bus method calls: */ 646s # void com_acme_coyote_call_run ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean com_acme_coyote_call_run_finish ( 646s # ComAcmeCoyote *proxy, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean com_acme_coyote_call_run_sync ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void com_acme_coyote_call_sleep ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean com_acme_coyote_call_sleep_finish ( 646s # ComAcmeCoyote *proxy, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean com_acme_coyote_call_sleep_sync ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void com_acme_coyote_call_attack ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean com_acme_coyote_call_attack_finish ( 646s # ComAcmeCoyote *proxy, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean com_acme_coyote_call_attack_sync ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # 646s # /* D-Bus property accessors: */ 646s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 646s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 646s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 646s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 646s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 646s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 646s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 646s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 646s # 646s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 646s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 646s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 646s # 646s # struct _ComAcmeCoyoteProxy 646s # { 646s # /*< private >*/ 646s # GDBusProxy parent_instance; 646s # ComAcmeCoyoteProxyPrivate *priv; 646s # }; 646s # 646s # struct _ComAcmeCoyoteProxyClass 646s # { 646s # GDBusProxyClass parent_class; 646s # }; 646s # 646s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 646s # #endif 646s # 646s # void com_acme_coyote_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void com_acme_coyote_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 646s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 646s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 646s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 646s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 646s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 646s # 646s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 646s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 646s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 646s # 646s # struct _ComAcmeCoyoteSkeleton 646s # { 646s # /*< private >*/ 646s # GDBusInterfaceSkeleton parent_instance; 646s # ComAcmeCoyoteSkeletonPrivate *priv; 646s # }; 646s # 646s # struct _ComAcmeCoyoteSkeletonClass 646s # { 646s # GDBusInterfaceSkeletonClass parent_class; 646s # }; 646s # 646s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 646s # #endif 646s # 646s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 646s # 646s # 646s # G_END_DECLS 646s # 646s # #endif /* __STDOUT__ */ 646s # Error: 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz1cd6aln/tmpc887fi_o1.xml', '/tmp/tmpz1cd6aln/tmp0mq5_5tu2.xml', '--output', '-', '--body'] 646s # Return code: 0 646s # Output: 646s # /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifdef HAVE_CONFIG_H 646s # # include "config.h" 646s # #endif 646s # 646s # #include 646s # #ifdef G_OS_UNIX 646s # # include 646s # #endif 646s # 646s # #ifdef G_ENABLE_DEBUG 646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 646s # #else /* !G_ENABLE_DEBUG */ 646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 646s # * Do not access GValues directly in your code. Instead, use the 646s # * g_value_get_*() functions 646s # */ 646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 646s # #endif /* !G_ENABLE_DEBUG */ 646s # 646s # typedef struct 646s # { 646s # GDBusArgInfo parent_struct; 646s # gboolean use_gvariant; 646s # } _ExtendedGDBusArgInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusMethodInfo parent_struct; 646s # const gchar *signal_name; 646s # gboolean pass_fdlist; 646s # } _ExtendedGDBusMethodInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusSignalInfo parent_struct; 646s # const gchar *signal_name; 646s # } _ExtendedGDBusSignalInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusPropertyInfo parent_struct; 646s # const gchar *hyphen_name; 646s # guint use_gvariant : 1; 646s # guint emits_changed_signal : 1; 646s # } _ExtendedGDBusPropertyInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusInterfaceInfo parent_struct; 646s # const gchar *hyphen_name; 646s # } _ExtendedGDBusInterfaceInfo; 646s # 646s # typedef struct 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # guint prop_id; 646s # GValue orig_value; /* the value before the change */ 646s # } ChangedProperty; 646s # 646s # static void 646s # _changed_property_free (ChangedProperty *data) 646s # { 646s # g_value_unset (&data->orig_value); 646s # g_free (data); 646s # } 646s # 646s # static gboolean 646s # _g_strv_equal0 (gchar **a, gchar **b) 646s # { 646s # gboolean ret = FALSE; 646s # guint n; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # if (g_strv_length (a) != g_strv_length (b)) 646s # goto out; 646s # for (n = 0; a[n] != NULL; n++) 646s # if (g_strcmp0 (a[n], b[n]) != 0) 646s # goto out; 646s # ret = TRUE; 646s # out: 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _g_variant_equal0 (GVariant *a, GVariant *b) 646s # { 646s # gboolean ret = FALSE; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # ret = g_variant_equal (a, b); 646s # out: 646s # return ret; 646s # } 646s # 646s # G_GNUC_UNUSED static gboolean 646s # _g_value_equal (const GValue *a, const GValue *b) 646s # { 646s # gboolean ret = FALSE; 646s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 646s # switch (G_VALUE_TYPE (a)) 646s # { 646s # case G_TYPE_BOOLEAN: 646s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 646s # break; 646s # case G_TYPE_UCHAR: 646s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 646s # break; 646s # case G_TYPE_INT: 646s # ret = (g_value_get_int (a) == g_value_get_int (b)); 646s # break; 646s # case G_TYPE_UINT: 646s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 646s # break; 646s # case G_TYPE_INT64: 646s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 646s # break; 646s # case G_TYPE_UINT64: 646s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 646s # break; 646s # case G_TYPE_DOUBLE: 646s # { 646s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 646s # gdouble da = g_value_get_double (a); 646s # gdouble db = g_value_get_double (b); 646s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 646s # } 646s # break; 646s # case G_TYPE_STRING: 646s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 646s # break; 646s # case G_TYPE_VARIANT: 646s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 646s # break; 646s # default: 646s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 646s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 646s # else 646s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 646s # break; 646s # } 646s # return ret; 646s # } 646s # 646s # static void 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint G_GNUC_UNUSED, 646s # void *marshal_data) 646s # { 646s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 646s # (void *data1, 646s # GDBusMethodInvocation *arg_method_invocation, 646s # void *data2); 646s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 646s # GCClosure *cc = (GCClosure*) closure; 646s # void *data1, *data2; 646s # gboolean v_return; 646s # 646s # g_return_if_fail (return_value != NULL); 646s # g_return_if_fail (n_param_values == 2); 646s # 646s # if (G_CCLOSURE_SWAP_DATA (closure)) 646s # { 646s # data1 = closure->data; 646s # data2 = g_value_peek_pointer (param_values + 0); 646s # } 646s # else 646s # { 646s # data1 = g_value_peek_pointer (param_values + 0); 646s # data2 = closure->data; 646s # } 646s # 646s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 646s # (marshal_data ? marshal_data : cc->callback); 646s # 646s # v_return = 646s # callback (data1, 646s # g_marshal_value_peek_object (param_values + 1), 646s # data2); 646s # 646s # g_value_set_boolean (return_value, v_return); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ 646s # * Code for interface org.project.Bar.Frobnicator 646s # * ------------------------------------------------------------------------ 646s # */ 646s # 646s # /** 646s # * SECTION:OrgProjectBarFrobnicator 646s # * @title: OrgProjectBarFrobnicator 646s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 646s # * 646s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 646s # */ 646s # 646s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 646s # 646s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 646s # { 646s # { 646s # -1, 646s # (gchar *) "RandomMethod", 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-random-method", 646s # FALSE 646s # }; 646s # 646s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 646s # { 646s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 646s # { 646s # { 646s # -1, 646s # (gchar *) "org.project.Bar.Frobnicator", 646s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "org-project-bar-frobnicator", 646s # }; 646s # 646s # 646s # /** 646s # * org_project_bar_frobnicator_interface_info: 646s # * 646s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 646s # * 646s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 646s # */ 646s # GDBusInterfaceInfo * 646s # org_project_bar_frobnicator_interface_info (void) 646s # { 646s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_override_properties: 646s # * @klass: The class structure for a #GObject derived class. 646s # * @property_id_begin: The property id to assign to the first overridden property. 646s # * 646s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 646s # * The properties are overridden in the order they are defined. 646s # * 646s # * Returns: The last property id. 646s # */ 646s # guint 646s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 646s # { 646s # return property_id_begin - 1; 646s # } 646s # 646s # 646s # inline static void 646s # org_project_bar_frobnicator_method_marshal_random_method ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # 646s # /** 646s # * OrgProjectBarFrobnicator: 646s # * 646s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 646s # */ 646s # 646s # /** 646s # * OrgProjectBarFrobnicatorIface: 646s # * @parent_iface: The parent interface. 646s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 646s # * 646s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 646s # */ 646s # 646s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 646s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 646s # 646s # static void 646s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 646s # { 646s # /* GObject signals for incoming D-Bus method calls: */ 646s # /** 646s # * OrgProjectBarFrobnicator::handle-random-method: 646s # * @object: A #OrgProjectBarFrobnicator. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * 646s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-random-method", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # org_project_bar_frobnicator_method_marshal_random_method, 646s # G_TYPE_BOOLEAN, 646s # 1, 646s # G_TYPE_DBUS_METHOD_INVOCATION); 646s # 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_call_random_method: 646s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 646s # * 646s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # org_project_bar_frobnicator_call_random_method ( 646s # OrgProjectBarFrobnicator *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "RandomMethod", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_call_random_method_finish: 646s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_bar_frobnicator_call_random_method_finish ( 646s # OrgProjectBarFrobnicator *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_call_random_method_sync: 646s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_bar_frobnicator_call_random_method_sync ( 646s # OrgProjectBarFrobnicator *proxy, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "RandomMethod", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_complete_random_method: 646s # * @object: A #OrgProjectBarFrobnicator. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # org_project_bar_frobnicator_complete_random_method ( 646s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectBarFrobnicatorProxy: 646s # * 646s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectBarFrobnicatorProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectBarFrobnicatorProxy. 646s # */ 646s # 646s # struct _OrgProjectBarFrobnicatorProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 646s # { 646s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # const GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 646s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 646s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 646s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_bar_frobnicator_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # 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); 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectBarFrobnicator * 646s # org_project_bar_frobnicator_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectBarFrobnicator * 646s # org_project_bar_frobnicator_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * org_project_bar_frobnicator_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_bar_frobnicator_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # 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); 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectBarFrobnicator * 646s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectBarFrobnicator * 646s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectBarFrobnicatorSkeleton: 646s # * 646s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectBarFrobnicatorSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 646s # */ 646s # 646s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 646s # { 646s # _org_project_bar_frobnicator_skeleton_handle_method_call, 646s # _org_project_bar_frobnicator_skeleton_handle_get_property, 646s # _org_project_bar_frobnicator_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return org_project_bar_frobnicator_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 646s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # #else 646s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 646s # #endif 646s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 646s # { 646s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 646s # * 646s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 646s # */ 646s # OrgProjectBarFrobnicator * 646s # org_project_bar_frobnicator_skeleton_new (void) 646s # { 646s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ 646s # * Code for interface com.acme.Coyote 646s # * ------------------------------------------------------------------------ 646s # */ 646s # 646s # /** 646s # * SECTION:ComAcmeCoyote 646s # * @title: ComAcmeCoyote 646s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 646s # * 646s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 646s # */ 646s # 646s # enum 646s # { 646s # _COM_ACME_COYOTE_SURPRISED, 646s # }; 646s # 646s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 646s # 646s # /* ---- Introspection data for com.acme.Coyote ---- */ 646s # 646s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 646s # { 646s # { 646s # -1, 646s # (gchar *) "Run", 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-run", 646s # FALSE 646s # }; 646s # 646s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 646s # { 646s # { 646s # -1, 646s # (gchar *) "Sleep", 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-sleep", 646s # FALSE 646s # }; 646s # 646s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 646s # { 646s # { 646s # -1, 646s # (gchar *) "Attack", 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-attack", 646s # FALSE 646s # }; 646s # 646s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 646s # { 646s # &_com_acme_coyote_method_info_run.parent_struct, 646s # &_com_acme_coyote_method_info_sleep.parent_struct, 646s # &_com_acme_coyote_method_info_attack.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 646s # { 646s # { 646s # -1, 646s # (gchar *) "Surprised", 646s # NULL, 646s # NULL 646s # }, 646s # "surprised" 646s # }; 646s # 646s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 646s # { 646s # &_com_acme_coyote_signal_info_surprised.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 646s # { 646s # { 646s # -1, 646s # (gchar *) "Mood", 646s # (gchar *) "s", 646s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 646s # NULL 646s # }, 646s # "mood", 646s # FALSE, 646s # TRUE 646s # }; 646s # 646s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 646s # { 646s # &_com_acme_coyote_property_info_mood.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 646s # { 646s # { 646s # -1, 646s # (gchar *) "com.acme.Coyote", 646s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 646s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 646s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 646s # NULL 646s # }, 646s # "com-acme-coyote", 646s # }; 646s # 646s # 646s # /** 646s # * com_acme_coyote_interface_info: 646s # * 646s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 646s # * 646s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 646s # */ 646s # GDBusInterfaceInfo * 646s # com_acme_coyote_interface_info (void) 646s # { 646s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_override_properties: 646s # * @klass: The class structure for a #GObject derived class. 646s # * @property_id_begin: The property id to assign to the first overridden property. 646s # * 646s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 646s # * The properties are overridden in the order they are defined. 646s # * 646s # * Returns: The last property id. 646s # */ 646s # guint 646s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 646s # { 646s # g_object_class_override_property (klass, property_id_begin++, "mood"); 646s # return property_id_begin - 1; 646s # } 646s # 646s # 646s # inline static void 646s # com_acme_coyote_signal_marshal_surprised ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # g_cclosure_marshal_VOID__VOID (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # inline static void 646s # com_acme_coyote_method_marshal_run ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # inline static void 646s # com_acme_coyote_method_marshal_sleep ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # inline static void 646s # com_acme_coyote_method_marshal_attack ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # 646s # /** 646s # * ComAcmeCoyote: 646s # * 646s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 646s # */ 646s # 646s # /** 646s # * ComAcmeCoyoteIface: 646s # * @parent_iface: The parent interface. 646s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 646s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 646s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 646s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 646s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 646s # * 646s # * Virtual table for the D-Bus interface com.acme.Coyote. 646s # */ 646s # 646s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 646s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 646s # 646s # static void 646s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 646s # { 646s # /* GObject signals for incoming D-Bus method calls: */ 646s # /** 646s # * ComAcmeCoyote::handle-run: 646s # * @object: A #ComAcmeCoyote. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * 646s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-run", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # com_acme_coyote_method_marshal_run, 646s # G_TYPE_BOOLEAN, 646s # 1, 646s # G_TYPE_DBUS_METHOD_INVOCATION); 646s # 646s # /** 646s # * ComAcmeCoyote::handle-sleep: 646s # * @object: A #ComAcmeCoyote. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * 646s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-sleep", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # com_acme_coyote_method_marshal_sleep, 646s # G_TYPE_BOOLEAN, 646s # 1, 646s # G_TYPE_DBUS_METHOD_INVOCATION); 646s # 646s # /** 646s # * ComAcmeCoyote::handle-attack: 646s # * @object: A #ComAcmeCoyote. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * 646s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-attack", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # com_acme_coyote_method_marshal_attack, 646s # G_TYPE_BOOLEAN, 646s # 1, 646s # G_TYPE_DBUS_METHOD_INVOCATION); 646s # 646s # /* GObject signals for received D-Bus signals: */ 646s # /** 646s # * ComAcmeCoyote::surprised: 646s # * @object: A #ComAcmeCoyote. 646s # * 646s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 646s # * 646s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 646s # */ 646s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 646s # g_signal_new ("surprised", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 646s # NULL, 646s # NULL, 646s # com_acme_coyote_signal_marshal_surprised, 646s # G_TYPE_NONE, 646s # 0); 646s # 646s # /* GObject properties for D-Bus properties: */ 646s # /** 646s # * ComAcmeCoyote:mood: 646s # * 646s # * Represents the D-Bus property "Mood". 646s # * 646s # * 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. 646s # */ 646s # g_object_interface_install_property (iface, 646s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_get_mood: (skip) 646s # * @object: A #ComAcmeCoyote. 646s # * 646s # * Gets the value of the "Mood" D-Bus property. 646s # * 646s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # const gchar * 646s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 646s # { 646s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 646s # 646s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_dup_mood: (skip) 646s # * @object: A #ComAcmeCoyote. 646s # * 646s # * Gets a copy of the "Mood" D-Bus property. 646s # * 646s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 646s # * 646s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 646s # */ 646s # gchar * 646s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 646s # { 646s # gchar *value; 646s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 646s # return value; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_set_mood: (skip) 646s # * @object: A #ComAcmeCoyote. 646s # * @value: The value to set. 646s # * 646s # * Sets the "Mood" D-Bus property to @value. 646s # * 646s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 646s # */ 646s # void 646s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 646s # { 646s # g_object_set (G_OBJECT (object), "mood", value, NULL); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_emit_surprised: 646s # * @object: A #ComAcmeCoyote. 646s # * 646s # * Emits the "Surprised" D-Bus signal. 646s # */ 646s # void 646s # com_acme_coyote_emit_surprised ( 646s # ComAcmeCoyote *object) 646s # { 646s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_run: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the Run() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 646s # * 646s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # com_acme_coyote_call_run ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "Run", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_run_finish: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with com_acme_coyote_call_run(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # com_acme_coyote_call_run_finish ( 646s # ComAcmeCoyote *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_run_sync: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # com_acme_coyote_call_run_sync ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "Run", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_sleep: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 646s # * 646s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # com_acme_coyote_call_sleep ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "Sleep", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_sleep_finish: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with com_acme_coyote_call_sleep(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # com_acme_coyote_call_sleep_finish ( 646s # ComAcmeCoyote *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_sleep_sync: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # com_acme_coyote_call_sleep_sync ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "Sleep", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_attack: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 646s # * 646s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # com_acme_coyote_call_attack ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "Attack", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_attack_finish: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with com_acme_coyote_call_attack(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # com_acme_coyote_call_attack_finish ( 646s # ComAcmeCoyote *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_attack_sync: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # com_acme_coyote_call_attack_sync ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "Attack", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_complete_run: 646s # * @object: A #ComAcmeCoyote. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # com_acme_coyote_complete_run ( 646s # ComAcmeCoyote *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_complete_sleep: 646s # * @object: A #ComAcmeCoyote. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # com_acme_coyote_complete_sleep ( 646s # ComAcmeCoyote *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_complete_attack: 646s # * @object: A #ComAcmeCoyote. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # com_acme_coyote_complete_attack ( 646s # ComAcmeCoyote *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * ComAcmeCoyoteProxy: 646s # * 646s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * ComAcmeCoyoteProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #ComAcmeCoyoteProxy. 646s # */ 646s # 646s # struct _ComAcmeCoyoteProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # com_acme_coyote_proxy_finalize (GObject *object) 646s # { 646s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_get_property (GObject *object, 646s # guint prop_id, 646s # GValue *value, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # GVariant *variant; 646s # g_assert (prop_id != 0 && prop_id - 1 < 1); 646s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 646s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 646s # if (info->use_gvariant) 646s # { 646s # g_value_set_variant (value, variant); 646s # } 646s # else 646s # { 646s # if (variant != NULL) 646s # g_dbus_gvariant_to_gvalue (variant, value); 646s # } 646s # if (variant != NULL) 646s # g_variant_unref (variant); 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 646s # GAsyncResult *res, 646s # gpointer user_data) 646s # { 646s # const _ExtendedGDBusPropertyInfo *info = user_data; 646s # GError *error; 646s # GVariant *_ret; 646s # error = NULL; 646s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 646s # if (!_ret) 646s # { 646s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 646s # info->parent_struct.name, 646s # error->message, g_quark_to_string (error->domain), error->code); 646s # g_error_free (error); 646s # } 646s # else 646s # { 646s # g_variant_unref (_ret); 646s # } 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_set_property (GObject *object, 646s # guint prop_id, 646s # const GValue *value, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # GVariant *variant; 646s # g_assert (prop_id != 0 && prop_id - 1 < 1); 646s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 646s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_dbus_proxy_call (G_DBUS_PROXY (object), 646s # "org.freedesktop.DBus.Properties.Set", 646s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 646s # g_variant_unref (variant); 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static const gchar * 646s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 646s # { 646s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 646s # GVariant *variant; 646s # const gchar *value = NULL; 646s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 646s # if (variant != NULL) 646s # { 646s # value = g_variant_get_string (variant, NULL); 646s # g_variant_unref (variant); 646s # } 646s # return value; 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 646s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 646s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 646s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 646s # 646s # com_acme_coyote_override_properties (gobject_class, 1); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 646s # { 646s # iface->get_mood = com_acme_coyote_proxy_get_mood; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # com_acme_coyote_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # 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); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with com_acme_coyote_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # ComAcmeCoyote * 646s # com_acme_coyote_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return COM_ACME_COYOTE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # ComAcmeCoyote * 646s # com_acme_coyote_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return COM_ACME_COYOTE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * com_acme_coyote_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # com_acme_coyote_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # 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); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # ComAcmeCoyote * 646s # com_acme_coyote_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return COM_ACME_COYOTE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # ComAcmeCoyote * 646s # com_acme_coyote_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return COM_ACME_COYOTE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * ComAcmeCoyoteSkeleton: 646s # * 646s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * ComAcmeCoyoteSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #ComAcmeCoyoteSkeleton. 646s # */ 646s # 646s # struct _ComAcmeCoyoteSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _com_acme_coyote_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _com_acme_coyote_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _com_acme_coyote_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 646s # { 646s # _com_acme_coyote_skeleton_handle_method_call, 646s # _com_acme_coyote_skeleton_handle_get_property, 646s # _com_acme_coyote_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return com_acme_coyote_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 646s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # #else 646s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 646s # #endif 646s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 646s # 646s # static void 646s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 646s # gboolean emit_changed = FALSE; 646s # 646s # g_mutex_lock (&skeleton->priv->lock); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # { 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # skeleton->priv->changed_properties_idle_source = NULL; 646s # emit_changed = TRUE; 646s # } 646s # g_mutex_unlock (&skeleton->priv->lock); 646s # 646s # if (emit_changed) 646s # _com_acme_coyote_emit_changed (skeleton); 646s # } 646s # 646s # static void 646s # _com_acme_coyote_on_signal_surprised ( 646s # ComAcmeCoyote *object) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 646s # 646s # GList *connections, *l; 646s # GVariant *signal_variant; 646s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 646s # 646s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 646s # for (l = connections; l != NULL; l = l->next) 646s # { 646s # GDBusConnection *connection = l->data; 646s # g_dbus_connection_emit_signal (connection, 646s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 646s # signal_variant, NULL); 646s # } 646s # g_variant_unref (signal_variant); 646s # g_list_free_full (connections, g_object_unref); 646s # } 646s # 646s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # com_acme_coyote_skeleton_finalize (GObject *object) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 646s # guint n; 646s # for (n = 0; n < 1; n++) 646s # g_value_unset (&skeleton->priv->properties[n]); 646s # g_free (skeleton->priv->properties); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # com_acme_coyote_skeleton_get_property (GObject *object, 646s # guint prop_id, 646s # GValue *value, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 646s # g_assert (prop_id != 0 && prop_id - 1 < 1); 646s # g_mutex_lock (&skeleton->priv->lock); 646s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 646s # g_mutex_unlock (&skeleton->priv->lock); 646s # } 646s # 646s # static gboolean 646s # _com_acme_coyote_emit_changed (gpointer user_data) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 646s # GList *l; 646s # GVariantBuilder builder; 646s # GVariantBuilder invalidated_builder; 646s # guint num_changes; 646s # 646s # g_mutex_lock (&skeleton->priv->lock); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 646s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 646s # #else 646s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 646s # #endif 646s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 646s # { 646s # ChangedProperty *cp = l->data; 646s # GVariant *variant; 646s # const GValue *cur_value; 646s # 646s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 646s # if (!_g_value_equal (cur_value, &cp->orig_value)) 646s # { 646s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 646s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 646s # g_variant_unref (variant); 646s # num_changes++; 646s # } 646s # } 646s # if (num_changes > 0) 646s # { 646s # GList *connections, *ll; 646s # GVariant *signal_variant; 646s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 646s # &builder, &invalidated_builder)); 646s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 646s # for (ll = connections; ll != NULL; ll = ll->next) 646s # { 646s # GDBusConnection *connection = ll->data; 646s # 646s # g_dbus_connection_emit_signal (connection, 646s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 646s # "org.freedesktop.DBus.Properties", 646s # "PropertiesChanged", 646s # signal_variant, 646s # NULL); 646s # } 646s # g_variant_unref (signal_variant); 646s # g_list_free_full (connections, g_object_unref); 646s # } 646s # else 646s # { 646s # g_variant_builder_clear (&builder); 646s # g_variant_builder_clear (&invalidated_builder); 646s # } 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # skeleton->priv->changed_properties = NULL; 646s # skeleton->priv->changed_properties_idle_source = NULL; 646s # g_mutex_unlock (&skeleton->priv->lock); 646s # return FALSE; 646s # } 646s # 646s # static void 646s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 646s # { 646s # ChangedProperty *cp; 646s # GList *l; 646s # cp = NULL; 646s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 646s # { 646s # ChangedProperty *i_cp = l->data; 646s # if (i_cp->info == info) 646s # { 646s # cp = i_cp; 646s # break; 646s # } 646s # } 646s # if (cp == NULL) 646s # { 646s # cp = g_new0 (ChangedProperty, 1); 646s # cp->prop_id = prop_id; 646s # cp->info = info; 646s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 646s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 646s # g_value_copy (orig_value, &cp->orig_value); 646s # } 646s # } 646s # 646s # static void 646s # com_acme_coyote_skeleton_notify (GObject *object, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 646s # g_mutex_lock (&skeleton->priv->lock); 646s # if (skeleton->priv->changed_properties != NULL && 646s # skeleton->priv->changed_properties_idle_source == NULL) 646s # { 646s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 646s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 646s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 646s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 646s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 646s # g_source_unref (skeleton->priv->changed_properties_idle_source); 646s # } 646s # g_mutex_unlock (&skeleton->priv->lock); 646s # } 646s # 646s # static void 646s # com_acme_coyote_skeleton_set_property (GObject *object, 646s # guint prop_id, 646s # const GValue *value, 646s # GParamSpec *pspec) 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 646s # g_assert (prop_id != 0 && prop_id - 1 < 1); 646s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 646s # g_mutex_lock (&skeleton->priv->lock); 646s # g_object_freeze_notify (object); 646s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 646s # { 646s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 646s # info->emits_changed_signal) 646s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 646s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 646s # g_object_notify_by_pspec (object, pspec); 646s # } 646s # g_mutex_unlock (&skeleton->priv->lock); 646s # g_object_thaw_notify (object); 646s # } 646s # 646s # static void 646s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # skeleton->priv->properties = g_new0 (GValue, 1); 646s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 646s # } 646s # 646s # static const gchar * 646s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 646s # const gchar *value; 646s # g_mutex_lock (&skeleton->priv->lock); 646s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 646s # g_mutex_unlock (&skeleton->priv->lock); 646s # return value; 646s # } 646s # 646s # static void 646s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 646s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 646s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 646s # gobject_class->notify = com_acme_coyote_skeleton_notify; 646s # 646s # 646s # com_acme_coyote_override_properties (gobject_class, 1); 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 646s # { 646s # iface->surprised = _com_acme_coyote_on_signal_surprised; 646s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 646s # * 646s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 646s # */ 646s # ComAcmeCoyote * 646s # com_acme_coyote_skeleton_new (void) 646s # { 646s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 646s # } 646s # Error: 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz1cd6aln/tmp0mq5_5tu2.xml', '/tmp/tmpz1cd6aln/tmpc887fi_o1.xml', '--output', '-', '--body'] 646s # Return code: 0 646s # Output: 646s # /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifdef HAVE_CONFIG_H 646s # # include "config.h" 646s # #endif 646s # 646s # #include 646s # #ifdef G_OS_UNIX 646s # # include 646s # #endif 646s # 646s # #ifdef G_ENABLE_DEBUG 646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 646s # #else /* !G_ENABLE_DEBUG */ 646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 646s # * Do not access GValues directly in your code. Instead, use the 646s # * g_value_get_*() functions 646s # */ 646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 646s # #endif /* !G_ENABLE_DEBUG */ 646s # 646s # typedef struct 646s # { 646s # GDBusArgInfo parent_struct; 646s # gboolean use_gvariant; 646s # } _ExtendedGDBusArgInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusMethodInfo parent_struct; 646s # const gchar *signal_name; 646s # gboolean pass_fdlist; 646s # } _ExtendedGDBusMethodInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusSignalInfo parent_struct; 646s # const gchar *signal_name; 646s # } _ExtendedGDBusSignalInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusPropertyInfo parent_struct; 646s # const gchar *hyphen_name; 646s # guint use_gvariant : 1; 646s # guint emits_changed_signal : 1; 646s # } _ExtendedGDBusPropertyInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusInterfaceInfo parent_struct; 646s # const gchar *hyphen_name; 646s # } _ExtendedGDBusInterfaceInfo; 646s # 646s # typedef struct 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # guint prop_id; 646s # GValue orig_value; /* the value before the change */ 646s # } ChangedProperty; 646s # 646s # static void 646s # _changed_property_free (ChangedProperty *data) 646s # { 646s # g_value_unset (&data->orig_value); 646s # g_free (data); 646s # } 646s # 646s # static gboolean 646s # _g_strv_equal0 (gchar **a, gchar **b) 646s # { 646s # gboolean ret = FALSE; 646s # guint n; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # if (g_strv_length (a) != g_strv_length (b)) 646s # goto out; 646s # for (n = 0; a[n] != NULL; n++) 646s # if (g_strcmp0 (a[n], b[n]) != 0) 646s # goto out; 646s # ret = TRUE; 646s # out: 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _g_variant_equal0 (GVariant *a, GVariant *b) 646s # { 646s # gboolean ret = FALSE; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # ret = g_variant_equal (a, b); 646s # out: 646s # return ret; 646s # } 646s # 646s # G_GNUC_UNUSED static gboolean 646s # _g_value_equal (const GValue *a, const GValue *b) 646s # { 646s # gboolean ret = FALSE; 646s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 646s # switch (G_VALUE_TYPE (a)) 646s # { 646s # case G_TYPE_BOOLEAN: 646s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 646s # break; 646s # case G_TYPE_UCHAR: 646s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 646s # break; 646s # case G_TYPE_INT: 646s # ret = (g_value_get_int (a) == g_value_get_int (b)); 646s # break; 646s # case G_TYPE_UINT: 646s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 646s # break; 646s # case G_TYPE_INT64: 646s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 646s # break; 646s # case G_TYPE_UINT64: 646s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 646s # break; 646s # case G_TYPE_DOUBLE: 646s # { 646s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 646s # gdouble da = g_value_get_double (a); 646s # gdouble db = g_value_get_double (b); 646s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 646s # } 646s # break; 646s # case G_TYPE_STRING: 646s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 646s # break; 646s # case G_TYPE_VARIANT: 646s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 646s # break; 646s # default: 646s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 646s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 646s # else 646s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 646s # break; 646s # } 646s # return ret; 646s # } 646s # 646s # static void 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint G_GNUC_UNUSED, 646s # void *marshal_data) 646s # { 646s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 646s # (void *data1, 646s # GDBusMethodInvocation *arg_method_invocation, 646s # void *data2); 646s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 646s # GCClosure *cc = (GCClosure*) closure; 646s # void *data1, *data2; 646s # gboolean v_return; 646s # 646s # g_return_if_fail (return_value != NULL); 646s # g_return_if_fail (n_param_values == 2); 646s # 646s # if (G_CCLOSURE_SWAP_DATA (closure)) 646s # { 646s # data1 = closure->data; 646s # data2 = g_value_peek_pointer (param_values + 0); 646s # } 646s # else 646s # { 646s # data1 = g_value_peek_pointer (param_values + 0); 646s # data2 = closure->data; 646s # } 646s # 646s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 646s # (marshal_data ? marshal_data : cc->callback); 646s # 646s # v_return = 646s # callback (data1, 646s # g_marshal_value_peek_object (param_values + 1), 646s # data2); 646s # 646s # g_value_set_boolean (return_value, v_return); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ 646s # * Code for interface org.project.Bar.Frobnicator 646s # * ------------------------------------------------------------------------ 646s # */ 646s # 646s # /** 646s # * SECTION:OrgProjectBarFrobnicator 646s # * @title: OrgProjectBarFrobnicator 646s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 646s # * 646s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 646s # */ 646s # 646s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 646s # 646s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 646s # { 646s # { 646s # -1, 646s # (gchar *) "RandomMethod", 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-random-method", 646s # FALSE 646s # }; 646s # 646s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 646s # { 646s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 646s # { 646s # { 646s # -1, 646s # (gchar *) "org.project.Bar.Frobnicator", 646s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "org-project-bar-frobnicator", 646s # }; 646s # 646s # 646s # /** 646s # * org_project_bar_frobnicator_interface_info: 646s # * 646s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 646s # * 646s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 646s # */ 646s # GDBusInterfaceInfo * 646s # org_project_bar_frobnicator_interface_info (void) 646s # { 646s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_override_properties: 646s # * @klass: The class structure for a #GObject derived class. 646s # * @property_id_begin: The property id to assign to the first overridden property. 646s # * 646s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 646s # * The properties are overridden in the order they are defined. 646s # * 646s # * Returns: The last property id. 646s # */ 646s # guint 646s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 646s # { 646s # return property_id_begin - 1; 646s # } 646s # 646s # 646s # inline static void 646s # org_project_bar_frobnicator_method_marshal_random_method ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # 646s # /** 646s # * OrgProjectBarFrobnicator: 646s # * 646s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 646s # */ 646s # 646s # /** 646s # * OrgProjectBarFrobnicatorIface: 646s # * @parent_iface: The parent interface. 646s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 646s # * 646s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 646s # */ 646s # 646s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 646s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 646s # 646s # static void 646s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 646s # { 646s # /* GObject signals for incoming D-Bus method calls: */ 646s # /** 646s # * OrgProjectBarFrobnicator::handle-random-method: 646s # * @object: A #OrgProjectBarFrobnicator. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * 646s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-random-method", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # org_project_bar_frobnicator_method_marshal_random_method, 646s # G_TYPE_BOOLEAN, 646s # 1, 646s # G_TYPE_DBUS_METHOD_INVOCATION); 646s # 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_call_random_method: 646s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 646s # * 646s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # org_project_bar_frobnicator_call_random_method ( 646s # OrgProjectBarFrobnicator *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "RandomMethod", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_call_random_method_finish: 646s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_bar_frobnicator_call_random_method_finish ( 646s # OrgProjectBarFrobnicator *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_call_random_method_sync: 646s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_bar_frobnicator_call_random_method_sync ( 646s # OrgProjectBarFrobnicator *proxy, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "RandomMethod", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_complete_random_method: 646s # * @object: A #OrgProjectBarFrobnicator. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # org_project_bar_frobnicator_complete_random_method ( 646s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectBarFrobnicatorProxy: 646s # * 646s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectBarFrobnicatorProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectBarFrobnicatorProxy. 646s # */ 646s # 646s # struct _OrgProjectBarFrobnicatorProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 646s # { 646s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # const GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 646s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 646s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 646s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_bar_frobnicator_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # 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); 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectBarFrobnicator * 646s # org_project_bar_frobnicator_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectBarFrobnicator * 646s # org_project_bar_frobnicator_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * org_project_bar_frobnicator_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_bar_frobnicator_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # 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); 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectBarFrobnicator * 646s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectBarFrobnicator * 646s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectBarFrobnicatorSkeleton: 646s # * 646s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectBarFrobnicatorSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 646s # */ 646s # 646s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 646s # { 646s # _org_project_bar_frobnicator_skeleton_handle_method_call, 646s # _org_project_bar_frobnicator_skeleton_handle_get_property, 646s # _org_project_bar_frobnicator_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return org_project_bar_frobnicator_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 646s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # #else 646s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 646s # #endif 646s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 646s # { 646s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_bar_frobnicator_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 646s # * 646s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 646s # */ 646s # OrgProjectBarFrobnicator * 646s # org_project_bar_frobnicator_skeleton_new (void) 646s # { 646s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ 646s # * Code for interface com.acme.Coyote 646s # * ------------------------------------------------------------------------ 646s # */ 646s # 646s # /** 646s # * SECTION:ComAcmeCoyote 646s # * @title: ComAcmeCoyote 646s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 646s # * 646s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 646s # */ 646s # 646s # enum 646s # { 646s # _COM_ACME_COYOTE_SURPRISED, 646s # }; 646s # 646s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 646s # 646s # /* ---- Introspection data for com.acme.Coyote ---- */ 646s # 646s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 646s # { 646s # { 646s # -1, 646s # (gchar *) "Run", 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-run", 646s # FALSE 646s # }; 646s # 646s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 646s # { 646s # { 646s # -1, 646s # (gchar *) "Sleep", 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-sleep", 646s # FALSE 646s # }; 646s # 646s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 646s # { 646s # { 646s # -1, 646s # (gchar *) "Attack", 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-attack", 646s # FALSE 646s # }; 646s # 646s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 646s # { 646s # &_com_acme_coyote_method_info_run.parent_struct, 646s # &_com_acme_coyote_method_info_sleep.parent_struct, 646s # &_com_acme_coyote_method_info_attack.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 646s # { 646s # { 646s # -1, 646s # (gchar *) "Surprised", 646s # NULL, 646s # NULL 646s # }, 646s # "surprised" 646s # }; 646s # 646s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 646s # { 646s # &_com_acme_coyote_signal_info_surprised.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 646s # { 646s # { 646s # -1, 646s # (gchar *) "Mood", 646s # (gchar *) "s", 646s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 646s # NULL 646s # }, 646s # "mood", 646s # FALSE, 646s # TRUE 646s # }; 646s # 646s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 646s # { 646s # &_com_acme_coyote_property_info_mood.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 646s # { 646s # { 646s # -1, 646s # (gchar *) "com.acme.Coyote", 646s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 646s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 646s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 646s # NULL 646s # }, 646s # "com-acme-coyote", 646s # }; 646s # 646s # 646s # /** 646s # * com_acme_coyote_interface_info: 646s # * 646s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 646s # * 646s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 646s # */ 646s # GDBusInterfaceInfo * 646s # com_acme_coyote_interface_info (void) 646s # { 646s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_override_properties: 646s # * @klass: The class structure for a #GObject derived class. 646s # * @property_id_begin: The property id to assign to the first overridden property. 646s # * 646s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 646s # * The properties are overridden in the order they are defined. 646s # * 646s # * Returns: The last property id. 646s # */ 646s # guint 646s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 646s # { 646s # g_object_class_override_property (klass, property_id_begin++, "mood"); 646s # return property_id_begin - 1; 646s # } 646s # 646s # 646s # inline static void 646s # com_acme_coyote_signal_marshal_surprised ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # g_cclosure_marshal_VOID__VOID (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # inline static void 646s # com_acme_coyote_method_marshal_run ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # inline static void 646s # com_acme_coyote_method_marshal_sleep ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # inline static void 646s # com_acme_coyote_method_marshal_attack ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # 646s # /** 646s # * ComAcmeCoyote: 646s # * 646s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 646s # */ 646s # 646s # /** 646s # * ComAcmeCoyoteIface: 646s # * @parent_iface: The parent interface. 646s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 646s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 646s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 646s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 646s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 646s # * 646s # * Virtual table for the D-Bus interface com.acme.Coyote. 646s # */ 646s # 646s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 646s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 646s # 646s # static void 646s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 646s # { 646s # /* GObject signals for incoming D-Bus method calls: */ 646s # /** 646s # * ComAcmeCoyote::handle-run: 646s # * @object: A #ComAcmeCoyote. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * 646s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-run", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # com_acme_coyote_method_marshal_run, 646s # G_TYPE_BOOLEAN, 646s # 1, 646s # G_TYPE_DBUS_METHOD_INVOCATION); 646s # 646s # /** 646s # * ComAcmeCoyote::handle-sleep: 646s # * @object: A #ComAcmeCoyote. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * 646s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-sleep", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # com_acme_coyote_method_marshal_sleep, 646s # G_TYPE_BOOLEAN, 646s # 1, 646s # G_TYPE_DBUS_METHOD_INVOCATION); 646s # 646s # /** 646s # * ComAcmeCoyote::handle-attack: 646s # * @object: A #ComAcmeCoyote. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * 646s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-attack", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # com_acme_coyote_method_marshal_attack, 646s # G_TYPE_BOOLEAN, 646s # 1, 646s # G_TYPE_DBUS_METHOD_INVOCATION); 646s # 646s # /* GObject signals for received D-Bus signals: */ 646s # /** 646s # * ComAcmeCoyote::surprised: 646s # * @object: A #ComAcmeCoyote. 646s # * 646s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 646s # * 646s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 646s # */ 646s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 646s # g_signal_new ("surprised", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 646s # NULL, 646s # NULL, 646s # com_acme_coyote_signal_marshal_surprised, 646s # G_TYPE_NONE, 646s # 0); 646s # 646s # /* GObject properties for D-Bus properties: */ 646s # /** 646s # * ComAcmeCoyote:mood: 646s # * 646s # * Represents the D-Bus property "Mood". 646s # * 646s # * 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. 646s # */ 646s # g_object_interface_install_property (iface, 646s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_get_mood: (skip) 646s # * @object: A #ComAcmeCoyote. 646s # * 646s # * Gets the value of the "Mood" D-Bus property. 646s # * 646s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # const gchar * 646s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 646s # { 646s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 646s # 646s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_dup_mood: (skip) 646s # * @object: A #ComAcmeCoyote. 646s # * 646s # * Gets a copy of the "Mood" D-Bus property. 646s # * 646s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 646s # * 646s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 646s # */ 646s # gchar * 646s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 646s # { 646s # gchar *value; 646s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 646s # return value; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_set_mood: (skip) 646s # * @object: A #ComAcmeCoyote. 646s # * @value: The value to set. 646s # * 646s # * Sets the "Mood" D-Bus property to @value. 646s # * 646s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 646s # */ 646s # void 646s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 646s # { 646s # g_object_set (G_OBJECT (object), "mood", value, NULL); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_emit_surprised: 646s # * @object: A #ComAcmeCoyote. 646s # * 646s # * Emits the "Surprised" D-Bus signal. 646s # */ 646s # void 646s # com_acme_coyote_emit_surprised ( 646s # ComAcmeCoyote *object) 646s # { 646s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_run: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the Run() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 646s # * 646s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # com_acme_coyote_call_run ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "Run", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_run_finish: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with com_acme_coyote_call_run(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # com_acme_coyote_call_run_finish ( 646s # ComAcmeCoyote *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_run_sync: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # com_acme_coyote_call_run_sync ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "Run", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_sleep: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 646s # * 646s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # com_acme_coyote_call_sleep ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "Sleep", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_sleep_finish: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with com_acme_coyote_call_sleep(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # com_acme_coyote_call_sleep_finish ( 646s # ComAcmeCoyote *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_sleep_sync: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # com_acme_coyote_call_sleep_sync ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "Sleep", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_attack: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 646s # * 646s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # com_acme_coyote_call_attack ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "Attack", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_attack_finish: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with com_acme_coyote_call_attack(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # com_acme_coyote_call_attack_finish ( 646s # ComAcmeCoyote *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_call_attack_sync: 646s # * @proxy: A #ComAcmeCoyoteProxy. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # com_acme_coyote_call_attack_sync ( 646s # ComAcmeCoyote *proxy, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "Attack", 646s # g_variant_new ("()"), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_complete_run: 646s # * @object: A #ComAcmeCoyote. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # com_acme_coyote_complete_run ( 646s # ComAcmeCoyote *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_complete_sleep: 646s # * @object: A #ComAcmeCoyote. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # com_acme_coyote_complete_sleep ( 646s # ComAcmeCoyote *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_complete_attack: 646s # * @object: A #ComAcmeCoyote. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # com_acme_coyote_complete_attack ( 646s # ComAcmeCoyote *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * ComAcmeCoyoteProxy: 646s # * 646s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * ComAcmeCoyoteProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #ComAcmeCoyoteProxy. 646s # */ 646s # 646s # struct _ComAcmeCoyoteProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # com_acme_coyote_proxy_finalize (GObject *object) 646s # { 646s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_get_property (GObject *object, 646s # guint prop_id, 646s # GValue *value, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # GVariant *variant; 646s # g_assert (prop_id != 0 && prop_id - 1 < 1); 646s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 646s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 646s # if (info->use_gvariant) 646s # { 646s # g_value_set_variant (value, variant); 646s # } 646s # else 646s # { 646s # if (variant != NULL) 646s # g_dbus_gvariant_to_gvalue (variant, value); 646s # } 646s # if (variant != NULL) 646s # g_variant_unref (variant); 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 646s # GAsyncResult *res, 646s # gpointer user_data) 646s # { 646s # const _ExtendedGDBusPropertyInfo *info = user_data; 646s # GError *error; 646s # GVariant *_ret; 646s # error = NULL; 646s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 646s # if (!_ret) 646s # { 646s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 646s # info->parent_struct.name, 646s # error->message, g_quark_to_string (error->domain), error->code); 646s # g_error_free (error); 646s # } 646s # else 646s # { 646s # g_variant_unref (_ret); 646s # } 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_set_property (GObject *object, 646s # guint prop_id, 646s # const GValue *value, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # GVariant *variant; 646s # g_assert (prop_id != 0 && prop_id - 1 < 1); 646s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 646s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_dbus_proxy_call (G_DBUS_PROXY (object), 646s # "org.freedesktop.DBus.Properties.Set", 646s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 646s # g_variant_unref (variant); 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static const gchar * 646s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 646s # { 646s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 646s # GVariant *variant; 646s # const gchar *value = NULL; 646s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 646s # if (variant != NULL) 646s # { 646s # value = g_variant_get_string (variant, NULL); 646s # g_variant_unref (variant); 646s # } 646s # return value; 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 646s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 646s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 646s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 646s # 646s # com_acme_coyote_override_properties (gobject_class, 1); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 646s # { 646s # iface->get_mood = com_acme_coyote_proxy_get_mood; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # com_acme_coyote_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # 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); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with com_acme_coyote_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # ComAcmeCoyote * 646s # com_acme_coyote_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return COM_ACME_COYOTE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # ComAcmeCoyote * 646s # com_acme_coyote_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return COM_ACME_COYOTE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * com_acme_coyote_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # com_acme_coyote_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # 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); 646s # } 646s # 646s # /** 646s # * com_acme_coyote_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # ComAcmeCoyote * 646s # com_acme_coyote_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return COM_ACME_COYOTE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # ComAcmeCoyote * 646s # com_acme_coyote_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return COM_ACME_COYOTE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * ComAcmeCoyoteSkeleton: 646s # * 646s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * ComAcmeCoyoteSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #ComAcmeCoyoteSkeleton. 646s # */ 646s # 646s # struct _ComAcmeCoyoteSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _com_acme_coyote_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _com_acme_coyote_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _com_acme_coyote_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 646s # { 646s # _com_acme_coyote_skeleton_handle_method_call, 646s # _com_acme_coyote_skeleton_handle_get_property, 646s # _com_acme_coyote_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return com_acme_coyote_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 646s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # #else 646s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 646s # #endif 646s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 646s # 646s # static void 646s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 646s # gboolean emit_changed = FALSE; 646s # 646s # g_mutex_lock (&skeleton->priv->lock); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # { 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # skeleton->priv->changed_properties_idle_source = NULL; 646s # emit_changed = TRUE; 646s # } 646s # g_mutex_unlock (&skeleton->priv->lock); 646s # 646s # if (emit_changed) 646s # _com_acme_coyote_emit_changed (skeleton); 646s # } 646s # 646s # static void 646s # _com_acme_coyote_on_signal_surprised ( 646s # ComAcmeCoyote *object) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 646s # 646s # GList *connections, *l; 646s # GVariant *signal_variant; 646s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 646s # 646s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 646s # for (l = connections; l != NULL; l = l->next) 646s # { 646s # GDBusConnection *connection = l->data; 646s # g_dbus_connection_emit_signal (connection, 646s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 646s # signal_variant, NULL); 646s # } 646s # g_variant_unref (signal_variant); 646s # g_list_free_full (connections, g_object_unref); 646s # } 646s # 646s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # com_acme_coyote_skeleton_finalize (GObject *object) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 646s # guint n; 646s # for (n = 0; n < 1; n++) 646s # g_value_unset (&skeleton->priv->properties[n]); 646s # g_free (skeleton->priv->properties); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # com_acme_coyote_skeleton_get_property (GObject *object, 646s # guint prop_id, 646s # GValue *value, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 646s # g_assert (prop_id != 0 && prop_id - 1 < 1); 646s # g_mutex_lock (&skeleton->priv->lock); 646s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 646s # g_mutex_unlock (&skeleton->priv->lock); 646s # } 646s # 646s # static gboolean 646s # _com_acme_coyote_emit_changed (gpointer user_data) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 646s # GList *l; 646s # GVariantBuilder builder; 646s # GVariantBuilder invalidated_builder; 646s # guint num_changes; 646s # 646s # g_mutex_lock (&skeleton->priv->lock); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 646s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 646s # #else 646s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 646s # #endif 646s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 646s # { 646s # ChangedProperty *cp = l->data; 646s # GVariant *variant; 646s # const GValue *cur_value; 646s # 646s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 646s # if (!_g_value_equal (cur_value, &cp->orig_value)) 646s # { 646s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 646s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 646s # g_variant_unref (variant); 646s # num_changes++; 646s # } 646s # } 646s # if (num_changes > 0) 646s # { 646s # GList *connections, *ll; 646s # GVariant *signal_variant; 646s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 646s # &builder, &invalidated_builder)); 646s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 646s # for (ll = connections; ll != NULL; ll = ll->next) 646s # { 646s # GDBusConnection *connection = ll->data; 646s # 646s # g_dbus_connection_emit_signal (connection, 646s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 646s # "org.freedesktop.DBus.Properties", 646s # "PropertiesChanged", 646s # signal_variant, 646s # NULL); 646s # } 646s # g_variant_unref (signal_variant); 646s # g_list_free_full (connections, g_object_unref); 646s # } 646s # else 646s # { 646s # g_variant_builder_clear (&builder); 646s # g_variant_builder_clear (&invalidated_builder); 646s # } 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # skeleton->priv->changed_properties = NULL; 646s # skeleton->priv->changed_properties_idle_source = NULL; 646s # g_mutex_unlock (&skeleton->priv->lock); 646s # return FALSE; 646s # } 646s # 646s # static void 646s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 646s # { 646s # ChangedProperty *cp; 646s # GList *l; 646s # cp = NULL; 646s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 646s # { 646s # ChangedProperty *i_cp = l->data; 646s # if (i_cp->info == info) 646s # { 646s # cp = i_cp; 646s # break; 646s # } 646s # } 646s # if (cp == NULL) 646s # { 646s # cp = g_new0 (ChangedProperty, 1); 646s # cp->prop_id = prop_id; 646s # cp->info = info; 646s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 646s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 646s # g_value_copy (orig_value, &cp->orig_value); 646s # } 646s # } 646s # 646s # static void 646s # com_acme_coyote_skeleton_notify (GObject *object, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 646s # g_mutex_lock (&skeleton->priv->lock); 646s # if (skeleton->priv->changed_properties != NULL && 646s # skeleton->priv->changed_properties_idle_source == NULL) 646s # { 646s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 646s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 646s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 646s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 646s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 646s # g_source_unref (skeleton->priv->changed_properties_idle_source); 646s # } 646s # g_mutex_unlock (&skeleton->priv->lock); 646s # } 646s # 646s # static void 646s # com_acme_coyote_skeleton_set_property (GObject *object, 646s # guint prop_id, 646s # const GValue *value, 646s # GParamSpec *pspec) 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 646s # g_assert (prop_id != 0 && prop_id - 1 < 1); 646s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 646s # g_mutex_lock (&skeleton->priv->lock); 646s # g_object_freeze_notify (object); 646s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 646s # { 646s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 646s # info->emits_changed_signal) 646s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 646s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 646s # g_object_notify_by_pspec (object, pspec); 646s # } 646s # g_mutex_unlock (&skeleton->priv->lock); 646s # g_object_thaw_notify (object); 646s # } 646s # 646s # static void 646s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # skeleton->priv->properties = g_new0 (GValue, 1); 646s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 646s # } 646s # 646s # static const gchar * 646s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 646s # { 646s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 646s # const gchar *value; 646s # g_mutex_lock (&skeleton->priv->lock); 646s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 646s # g_mutex_unlock (&skeleton->priv->lock); 646s # return value; 646s # } 646s # 646s # static void 646s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 646s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 646s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 646s # gobject_class->notify = com_acme_coyote_skeleton_notify; 646s # 646s # 646s # com_acme_coyote_override_properties (gobject_class, 1); 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 646s # { 646s # iface->surprised = _com_acme_coyote_on_signal_surprised; 646s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 646s # } 646s # 646s # /** 646s # * com_acme_coyote_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 646s # * 646s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 646s # */ 646s # ComAcmeCoyote * 646s # com_acme_coyote_skeleton_new (void) 646s # { 646s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 646s # } 646s # Error: 646s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 646s # gdbus-codegen: /usr/bin/gdbus-codegen 646s # tmpdir: /tmp/tmphtba3of6 646s # /tmp/tmphtba3of6/tmpeip3pqmd.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphtba3of6/tmpeip3pqmd.xml', '--output', '-', '--header'] 646s # Return code: 0 646s # Output: 646s # /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifndef __STDOUT__ 646s # #define __STDOUT__ 646s # 646s # #include 646s # 646s # G_BEGIN_DECLS 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # /* Declarations for FDPassing */ 646s # 646s # #define TYPE_FDPASSING (fdpassing_get_type ()) 646s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 646s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 646s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 646s # 646s # struct _FDPassing; 646s # typedef struct _FDPassing FDPassing; 646s # typedef struct _FDPassingIface FDPassingIface; 646s # 646s # struct _FDPassingIface 646s # { 646s # GTypeInterface parent_iface; 646s # 646s # gboolean (*handle_hello_fd) ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GUnixFDList *fd_list, 646s # const gchar *arg_greeting); 646s # 646s # gboolean (*handle_no_annotation) ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GVariant *arg_greeting, 646s # const gchar *arg_greeting_locale); 646s # 646s # gboolean (*handle_no_annotation_nested) ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GVariant *arg_files); 646s # 646s # }; 646s # 646s # GType fdpassing_get_type (void) G_GNUC_CONST; 646s # 646s # GDBusInterfaceInfo *fdpassing_interface_info (void); 646s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 646s # 646s # 646s # /* D-Bus method call completion functions: */ 646s # void fdpassing_complete_hello_fd ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GUnixFDList *fd_list, 646s # const gchar *response); 646s # 646s # void fdpassing_complete_no_annotation ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GVariant *response, 646s # const gchar *response_locale); 646s # 646s # void fdpassing_complete_no_annotation_nested ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # 646s # 646s # /* D-Bus method calls: */ 646s # void fdpassing_call_hello_fd ( 646s # FDPassing *proxy, 646s # const gchar *arg_greeting, 646s # GUnixFDList *fd_list, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean fdpassing_call_hello_fd_finish ( 646s # FDPassing *proxy, 646s # gchar **out_response, 646s # GUnixFDList **out_fd_list, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean fdpassing_call_hello_fd_sync ( 646s # FDPassing *proxy, 646s # const gchar *arg_greeting, 646s # GUnixFDList *fd_list, 646s # gchar **out_response, 646s # GUnixFDList **out_fd_list, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void fdpassing_call_no_annotation ( 646s # FDPassing *proxy, 646s # GVariant *arg_greeting, 646s # const gchar *arg_greeting_locale, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean fdpassing_call_no_annotation_finish ( 646s # FDPassing *proxy, 646s # GVariant **out_response, 646s # gchar **out_response_locale, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean fdpassing_call_no_annotation_sync ( 646s # FDPassing *proxy, 646s # GVariant *arg_greeting, 646s # const gchar *arg_greeting_locale, 646s # GVariant **out_response, 646s # gchar **out_response_locale, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void fdpassing_call_no_annotation_nested ( 646s # FDPassing *proxy, 646s # GVariant *arg_files, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean fdpassing_call_no_annotation_nested_finish ( 646s # FDPassing *proxy, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean fdpassing_call_no_annotation_nested_sync ( 646s # FDPassing *proxy, 646s # GVariant *arg_files, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 646s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 646s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 646s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 646s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 646s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 646s # 646s # typedef struct _FDPassingProxy FDPassingProxy; 646s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 646s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 646s # 646s # struct _FDPassingProxy 646s # { 646s # /*< private >*/ 646s # GDBusProxy parent_instance; 646s # FDPassingProxyPrivate *priv; 646s # }; 646s # 646s # struct _FDPassingProxyClass 646s # { 646s # GDBusProxyClass parent_class; 646s # }; 646s # 646s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 646s # #endif 646s # 646s # void fdpassing_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # FDPassing *fdpassing_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # FDPassing *fdpassing_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void fdpassing_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 646s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 646s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 646s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 646s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 646s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 646s # 646s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 646s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 646s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 646s # 646s # struct _FDPassingSkeleton 646s # { 646s # /*< private >*/ 646s # GDBusInterfaceSkeleton parent_instance; 646s # FDPassingSkeletonPrivate *priv; 646s # }; 646s # 646s # struct _FDPassingSkeletonClass 646s # { 646s # GDBusInterfaceSkeletonClass parent_class; 646s # }; 646s # 646s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 646s # #endif 646s # 646s # FDPassing *fdpassing_skeleton_new (void); 646s # 646s # 646s # G_END_DECLS 646s # 646s # #endif /* __STDOUT__ */ 646s # Error: 646s # 646s # /tmp/tmphtba3of6/tmpkar7h0x5.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphtba3of6/tmpkar7h0x5.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 646s # Return code: 0 646s # Output: 646s # /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifndef __STDOUT__ 646s # #define __STDOUT__ 646s # 646s # #include 646s # 646s # G_BEGIN_DECLS 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # /* Declarations for FDPassing */ 646s # 646s # #define TYPE_FDPASSING (fdpassing_get_type ()) 646s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 646s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 646s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 646s # 646s # struct _FDPassing; 646s # typedef struct _FDPassing FDPassing; 646s # typedef struct _FDPassingIface FDPassingIface; 646s # 646s # struct _FDPassingIface 646s # { 646s # GTypeInterface parent_iface; 646s # 646s # gboolean (*handle_hello_fd) ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GUnixFDList *fd_list, 646s # const gchar *arg_greeting); 646s # 646s # gboolean (*handle_no_annotation) ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GVariant *arg_greeting, 646s # const gchar *arg_greeting_locale); 646s # 646s # gboolean (*handle_no_annotation_nested) ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GVariant *arg_files); 646s # 646s # }; 646s # 646s # GType fdpassing_get_type (void) G_GNUC_CONST; 646s # 646s # GDBusInterfaceInfo *fdpassing_interface_info (void); 646s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 646s # 646s # 646s # /* D-Bus method call completion functions: */ 646s # void fdpassing_complete_hello_fd ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GUnixFDList *fd_list, 646s # const gchar *response); 646s # 646s # void fdpassing_complete_no_annotation ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GVariant *response, 646s # const gchar *response_locale); 646s # 646s # void fdpassing_complete_no_annotation_nested ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation); 646s # 646s # 646s # 646s # /* D-Bus method calls: */ 646s # void fdpassing_call_hello_fd ( 646s # FDPassing *proxy, 646s # const gchar *arg_greeting, 646s # GUnixFDList *fd_list, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean fdpassing_call_hello_fd_finish ( 646s # FDPassing *proxy, 646s # gchar **out_response, 646s # GUnixFDList **out_fd_list, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean fdpassing_call_hello_fd_sync ( 646s # FDPassing *proxy, 646s # const gchar *arg_greeting, 646s # GUnixFDList *fd_list, 646s # gchar **out_response, 646s # GUnixFDList **out_fd_list, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void fdpassing_call_no_annotation ( 646s # FDPassing *proxy, 646s # GVariant *arg_greeting, 646s # const gchar *arg_greeting_locale, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean fdpassing_call_no_annotation_finish ( 646s # FDPassing *proxy, 646s # GVariant **out_response, 646s # gchar **out_response_locale, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean fdpassing_call_no_annotation_sync ( 646s # FDPassing *proxy, 646s # GVariant *arg_greeting, 646s # const gchar *arg_greeting_locale, 646s # GVariant **out_response, 646s # gchar **out_response_locale, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void fdpassing_call_no_annotation_nested ( 646s # FDPassing *proxy, 646s # GVariant *arg_files, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean fdpassing_call_no_annotation_nested_finish ( 646s # FDPassing *proxy, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean fdpassing_call_no_annotation_nested_sync ( 646s # FDPassing *proxy, 646s # GVariant *arg_files, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 646s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 646s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 646s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 646s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 646s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 646s # 646s # typedef struct _FDPassingProxy FDPassingProxy; 646s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 646s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 646s # 646s # struct _FDPassingProxy 646s # { 646s # /*< private >*/ 646s # GDBusProxy parent_instance; 646s # FDPassingProxyPrivate *priv; 646s # }; 646s # 646s # struct _FDPassingProxyClass 646s # { 646s # GDBusProxyClass parent_class; 646s # }; 646s # 646s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 646s # #endif 646s # 646s # void fdpassing_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # FDPassing *fdpassing_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # FDPassing *fdpassing_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void fdpassing_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 646s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 646s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 646s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 646s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 646s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 646s # 646s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 646s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 646s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 646s # 646s # struct _FDPassingSkeleton 646s # { 646s # /*< private >*/ 646s # GDBusInterfaceSkeleton parent_instance; 646s # FDPassingSkeletonPrivate *priv; 646s # }; 646s # 646s # struct _FDPassingSkeletonClass 646s # { 646s # GDBusInterfaceSkeletonClass parent_class; 646s # }; 646s # 646s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 646s # #endif 646s # 646s # FDPassing *fdpassing_skeleton_new (void); 646s # 646s # 646s # G_END_DECLS 646s # 646s # #endif /* __STDOUT__ */ 646s # Error: 646s # 646s # /tmp/tmphtba3of6/tmp6wbckwus.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphtba3of6/tmp6wbckwus.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 646s # Return code: 0 646s # Output: 646s # /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifndef __STDOUT__ 646s # #define __STDOUT__ 646s # 646s # #include 646s # 646s # G_BEGIN_DECLS 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # /* Declarations for FDPassing */ 646s # 646s # #define TYPE_FDPASSING (fdpassing_get_type ()) 646s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 646s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 646s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 646s # 646s # struct _FDPassing; 646s # typedef struct _FDPassing FDPassing; 646s # typedef struct _FDPassingIface FDPassingIface; 646s # 646s # struct _FDPassingIface 646s # { 646s # GTypeInterface parent_iface; 646s # 646s # gboolean (*handle_hello_fd) ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GUnixFDList *fd_list, 646s # const gchar *arg_greeting); 646s # 646s # gboolean (*handle_no_annotation) ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GUnixFDList *fd_list, 646s # GVariant *arg_greeting, 646s # const gchar *arg_greeting_locale); 646s # 646s # gboolean (*handle_no_annotation_nested) ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GUnixFDList *fd_list, 646s # GVariant *arg_files); 646s # 646s # }; 646s # 646s # GType fdpassing_get_type (void) G_GNUC_CONST; 646s # 646s # GDBusInterfaceInfo *fdpassing_interface_info (void); 646s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 646s # 646s # 646s # /* D-Bus method call completion functions: */ 646s # void fdpassing_complete_hello_fd ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GUnixFDList *fd_list, 646s # const gchar *response); 646s # 646s # void fdpassing_complete_no_annotation ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GUnixFDList *fd_list, 646s # GVariant *response, 646s # const gchar *response_locale); 646s # 646s # void fdpassing_complete_no_annotation_nested ( 646s # FDPassing *object, 646s # GDBusMethodInvocation *invocation, 646s # GUnixFDList *fd_list); 646s # 646s # 646s # 646s # /* D-Bus method calls: */ 646s # void fdpassing_call_hello_fd ( 646s # FDPassing *proxy, 646s # const gchar *arg_greeting, 646s # GDBusCallFlags call_flags, 646s # gint timeout_msec, 646s # GUnixFDList *fd_list, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean fdpassing_call_hello_fd_finish ( 646s # FDPassing *proxy, 646s # gchar **out_response, 646s # GUnixFDList **out_fd_list, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean fdpassing_call_hello_fd_sync ( 646s # FDPassing *proxy, 646s # const gchar *arg_greeting, 646s # GDBusCallFlags call_flags, 646s # gint timeout_msec, 646s # GUnixFDList *fd_list, 646s # gchar **out_response, 646s # GUnixFDList **out_fd_list, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void fdpassing_call_no_annotation ( 646s # FDPassing *proxy, 646s # GVariant *arg_greeting, 646s # const gchar *arg_greeting_locale, 646s # GDBusCallFlags call_flags, 646s # gint timeout_msec, 646s # GUnixFDList *fd_list, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean fdpassing_call_no_annotation_finish ( 646s # FDPassing *proxy, 646s # GVariant **out_response, 646s # gchar **out_response_locale, 646s # GUnixFDList **out_fd_list, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean fdpassing_call_no_annotation_sync ( 646s # FDPassing *proxy, 646s # GVariant *arg_greeting, 646s # const gchar *arg_greeting_locale, 646s # GDBusCallFlags call_flags, 646s # gint timeout_msec, 646s # GUnixFDList *fd_list, 646s # GVariant **out_response, 646s # gchar **out_response_locale, 646s # GUnixFDList **out_fd_list, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void fdpassing_call_no_annotation_nested ( 646s # FDPassing *proxy, 646s # GVariant *arg_files, 646s # GDBusCallFlags call_flags, 646s # gint timeout_msec, 646s # GUnixFDList *fd_list, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # 646s # gboolean fdpassing_call_no_annotation_nested_finish ( 646s # FDPassing *proxy, 646s # GUnixFDList **out_fd_list, 646s # GAsyncResult *res, 646s # GError **error); 646s # 646s # gboolean fdpassing_call_no_annotation_nested_sync ( 646s # FDPassing *proxy, 646s # GVariant *arg_files, 646s # GDBusCallFlags call_flags, 646s # gint timeout_msec, 646s # GUnixFDList *fd_list, 646s # GUnixFDList **out_fd_list, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 646s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 646s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 646s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 646s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 646s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 646s # 646s # typedef struct _FDPassingProxy FDPassingProxy; 646s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 646s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 646s # 646s # struct _FDPassingProxy 646s # { 646s # /*< private >*/ 646s # GDBusProxy parent_instance; 646s # FDPassingProxyPrivate *priv; 646s # }; 646s # 646s # struct _FDPassingProxyClass 646s # { 646s # GDBusProxyClass parent_class; 646s # }; 646s # 646s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 646s # #endif 646s # 646s # void fdpassing_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # FDPassing *fdpassing_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # FDPassing *fdpassing_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # void fdpassing_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data); 646s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error); 646s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error); 646s # 646s # 646s # /* ---- */ 646s # 646s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 646s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 646s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 646s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 646s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 646s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 646s # 646s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 646s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 646s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 646s # 646s # struct _FDPassingSkeleton 646s # { 646s # /*< private >*/ 646s # GDBusInterfaceSkeleton parent_instance; 646s # FDPassingSkeletonPrivate *priv; 646s # }; 646s # 646s # struct _FDPassingSkeletonClass 646s # { 646s # GDBusInterfaceSkeletonClass parent_class; 646s # }; 646s # 646s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 646s # 646s # #if GLIB_CHECK_VERSION(2, 44, 0) 646s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 646s # #endif 646s # 646s # FDPassing *fdpassing_skeleton_new (void); 646s # 646s # 646s # G_END_DECLS 646s # 646s # #endif /* __STDOUT__ */ 646s # Error: 646s 1..39 646s ok - glib/codegen.py.test 646s # Running test: glib/markup-collect.test 646s TAP version 14 646s # random seed: R02Sc7b7714ee9fd0eac38ca0b68b75df978 646s 1..21 646s # Start of markup tests 646s # Start of collect tests 646s ok 1 /markup/collect/0 646s ok 2 /markup/collect/1 646s ok 3 /markup/collect/2 646s ok 4 /markup/collect/3 646s ok 5 /markup/collect/4 646s ok 6 /markup/collect/5 646s ok 7 /markup/collect/6 646s ok 8 /markup/collect/7 646s ok 9 /markup/collect/8 646s ok 10 /markup/collect/9 646s ok 11 /markup/collect/10 646s ok 12 /markup/collect/11 646s ok 13 /markup/collect/12 646s ok 14 /markup/collect/13 646s ok 15 /markup/collect/14 646s ok 16 /markup/collect/15 646s ok 17 /markup/collect/16 646s ok 18 /markup/collect/17 646s ok 19 /markup/collect/18 646s ok 20 /markup/collect/19 646s ok 21 /markup/collect/cleanup 646s # End of collect tests 646s # End of markup tests 646s ok - glib/markup-collect.test 646s # Running test: glib/struct-info.test 646s ok - glib/struct-info.test 646s TAP version 14 646s # random seed: R02Sde4b3c15aff6f67585761ee529d0dc2f 646s 1..4 646s # Start of struct-info tests 646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_NZPC62/struct-info/field-iterators/.dirs/home 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_NZPC62/struct-info/field-iterators/.dirs/cache 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_NZPC62/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_NZPC62/struct-info/field-iterators/.dirs/system-config2 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_NZPC62/struct-info/field-iterators/.dirs/config 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_NZPC62/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_NZPC62/struct-info/field-iterators/.dirs/system-data2 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_NZPC62/struct-info/field-iterators/.dirs/data 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_NZPC62/struct-info/field-iterators/.dirs/state 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_NZPC62/struct-info/field-iterators/.dirs/runtime 646s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 646s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 646s ok 1 /struct-info/field-iterators 646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_NZPC62/struct-info/sizeof-gvalue/.dirs/home 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_NZPC62/struct-info/sizeof-gvalue/.dirs/cache 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_NZPC62/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_NZPC62/struct-info/sizeof-gvalue/.dirs/system-config2 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_NZPC62/struct-info/sizeof-gvalue/.dirs/config 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_NZPC62/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_NZPC62/struct-info/sizeof-gvalue/.dirs/system-data2 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_NZPC62/struct-info/sizeof-gvalue/.dirs/data 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_NZPC62/struct-info/sizeof-gvalue/.dirs/state 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_NZPC62/struct-info/sizeof-gvalue/.dirs/runtime 646s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 646s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 646s ok 2 /struct-info/sizeof-gvalue 646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_NZPC62/struct-info/is-pointer-for-struct-method-arg/.dirs/home 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_NZPC62/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_NZPC62/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_NZPC62/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_NZPC62/struct-info/is-pointer-for-struct-method-arg/.dirs/config 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_NZPC62/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_NZPC62/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_NZPC62/struct-info/is-pointer-for-struct-method-arg/.dirs/data 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_NZPC62/struct-info/is-pointer-for-struct-method-arg/.dirs/state 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_NZPC62/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 646s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 646s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 646s ok 3 /struct-info/is-pointer-for-struct-method-arg 646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_NZPC62/struct-info/boxed/.dirs/home 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_NZPC62/struct-info/boxed/.dirs/cache 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_NZPC62/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_NZPC62/struct-info/boxed/.dirs/system-config2 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_NZPC62/struct-info/boxed/.dirs/config 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_NZPC62/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_NZPC62/struct-info/boxed/.dirs/system-data2 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_NZPC62/struct-info/boxed/.dirs/data 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_NZPC62/struct-info/boxed/.dirs/state 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_NZPC62/struct-info/boxed/.dirs/runtime 646s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 646s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 646s ok 4 /struct-info/boxed 646s # End of struct-info tests 646s # Running test: glib/init.test 646s ok - glib/init.test 646s TAP version 14 646s # random seed: R02S020615f15cf43250e25a78db23cbf4e2 646s 1..2 646s # Start of thread tests 646s # Start of deprecated tests 646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_VIHC62/thread/deprecated/init/.dirs/home 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_VIHC62/thread/deprecated/init/.dirs/cache 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_VIHC62/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_VIHC62/thread/deprecated/init/.dirs/system-config2 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_VIHC62/thread/deprecated/init/.dirs/config 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_VIHC62/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_VIHC62/thread/deprecated/init/.dirs/system-data2 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_VIHC62/thread/deprecated/init/.dirs/data 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_VIHC62/thread/deprecated/init/.dirs/state 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_VIHC62/thread/deprecated/init/.dirs/runtime 646s ok 1 /thread/deprecated/init 646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_VIHC62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_VIHC62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_VIHC62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_VIHC62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_VIHC62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_VIHC62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_VIHC62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_VIHC62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_VIHC62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_VIHC62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 646s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 646s # End of deprecated tests 646s # End of thread tests 646s # Running test: glib/gdatetime.test 646s TAP version 14 646s # random seed: R02Sd92db35678a4c18cbf3ad758bd6070f9 646s 1..68 646s # Start of GDateTime tests 646s # Bug Reference: http://bugzilla.gnome.org/702674 646s ok 1 /GDateTime/invalid 646s ok 2 /GDateTime/add_days 646s ok 3 /GDateTime/add_full 646s ok 4 /GDateTime/add_hours 646s ok 5 /GDateTime/add_minutes 646s ok 6 /GDateTime/add_months 646s ok 7 /GDateTime/add_seconds 646s ok 8 /GDateTime/add_weeks 646s ok 9 /GDateTime/add_years 646s ok 10 /GDateTime/compare 646s ok 11 /GDateTime/diff 646s ok 12 /GDateTime/equal 646s ok 13 /GDateTime/get_day_of_week 646s ok 14 /GDateTime/get_day_of_month 646s ok 15 /GDateTime/get_day_of_year 646s ok 16 /GDateTime/get_hour 646s ok 17 /GDateTime/get_microsecond 646s ok 18 /GDateTime/get_minute 646s ok 19 /GDateTime/get_month 646s ok 20 /GDateTime/get_second 646s ok 21 /GDateTime/get_utc_offset 646s ok 22 /GDateTime/get_year 646s ok 23 /GDateTime/hash 646s ok 24 /GDateTime/new_from_unix 646s ok 25 /GDateTime/new_from_unix_utc 646s ok 26 /GDateTime/new_from_timeval 646s ok 27 /GDateTime/new_from_timeval_utc 646s ok 28 /GDateTime/new_from_iso8601 646s ok 29 /GDateTime/new_full 646s ok 30 /GDateTime/now 646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 646s ok 31 /GDateTime/test-6-days-until-end-of-the-month 646s # %a -> expected: Sat 646s # %a -> actual: Sat 646s # %A -> expected: Saturday 646s # %A -> actual: Saturday 646s # %b -> expected: Oct 646s # %b -> actual: Oct 646s # %B -> expected: October 646s # %B -> actual: October 646s # %d -> expected: 24 646s # %d -> actual: 24 646s # %d -> expected: 01 646s # %d -> actual: 01 646s # %e -> expected: 24 646s # %e -> actual: 24 646s # %e -> expected:  1 646s # %e -> actual:  1 646s # %f -> expected: 001000 646s # %f -> actual: 001000 646s # %h -> expected: Oct 646s # %h -> actual: Oct 646s # %H -> expected: 00 646s # %H -> actual: 00 646s # %H -> expected: 15 646s # %H -> actual: 15 646s # %I -> expected: 12 646s # %I -> actual: 12 646s # %I -> expected: 12 646s # %I -> actual: 12 646s # %I -> expected: 03 646s # %I -> actual: 03 646s # %j -> expected: 297 646s # %j -> actual: 297 646s # %k -> expected:  0 646s # %k -> actual:  0 646s # %k -> expected: 13 646s # %k -> actual: 13 646s # %l -> expected: 12 646s # %l -> actual: 12 646s # %I -> expected: 12 646s # %I -> actual: 12 646s # %l -> expected:  1 646s # %l -> actual:  1 646s # %l -> expected: 10 646s # %l -> actual: 10 646s # %m -> expected: 10 646s # %m -> actual: 10 646s # %M -> expected: 00 646s # %M -> actual: 00 646s # %p -> expected: AM 646s # %p -> actual: AM 646s # %p -> expected: PM 646s # %p -> actual: PM 646s # %P -> expected: am 646s # %P -> actual: am 646s # %P -> expected: pm 646s # %P -> actual: pm 646s # %r -> expected: 12:00:00 AM 646s # %r -> actual: 12:00:00 AM 646s # %r -> expected: 01:13:13 PM 646s # %r -> actual: 01:13:13 PM 646s # %R -> expected: 00:00 646s # %R -> actual: 00:00 646s # %R -> expected: 13:13 646s # %R -> actual: 13:13 646s # %S -> expected: 00 646s # %S -> actual: 00 646s # %t -> expected: 646s # %t -> actual: 646s # %u -> expected: 6 646s # %u -> actual: 6 646s # %x -> expected: 10/24/09 646s # %x -> actual: 10/24/09 646s # %X -> expected: 00:00:00 646s # %X -> actual: 00:00:00 646s # %X -> expected: 13:14:15 646s # %X -> actual: 13:14:15 646s # %y -> expected: 09 646s # %y -> actual: 09 646s # %Y -> expected: 2009 646s # %Y -> actual: 2009 646s # %% -> expected: % 646s # %% -> actual: % 646s # % -> expected: 646s # % -> actual: 646s # %9 -> expected: (null) 646s # %9 -> actual: (null) 646s # %Z -> expected: UTC 646s # %Z -> actual: UTC 646s # %#Z %Z -> expected: utc UTC 646s # %#Z %Z -> actual: utc UTC 646s ok 32 /GDateTime/printf 646s # %a -> expected: ÅÚ 646s # %a -> actual: ÅÚ 646s # %A -> expected: ÅÚÍËÆü 646s # %A -> actual: ÅÚÍËÆü 646s # %b -> expected: 10·î 646s # %b -> actual: 10·î 646s # %B -> expected: 10·î 646s # %B -> actual: 10·î 646s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 646s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 646s # %C -> expected: 20 646s # %C -> actual: 20 646s # %d -> expected: 24 646s # %d -> actual: 24 646s # %d -> expected: 01 646s # %d -> actual: 01 646s # %e -> expected: 24 646s # %e -> actual: 24 646s # %h -> expected: 10·î 646s # %h -> actual: 10·î 646s # %H -> expected: 00 646s # %H -> actual: 00 646s # %H -> expected: 15 646s # %H -> actual: 15 646s # %I -> expected: 12 646s # %I -> actual: 12 646s # %I -> expected: 12 646s # %I -> actual: 12 646s # %I -> expected: 03 646s # %I -> actual: 03 646s # %j -> expected: 297 646s # %j -> actual: 297 646s # %k -> expected: ?0 646s # %k -> actual: ?0 646s # %k -> expected: 13 646s # %k -> actual: 13 646s # %l -> expected: 12 646s # %l -> actual: 12 646s # %I -> expected: 12 646s # %I -> actual: 12 646s # %l -> expected: ?1 646s # %l -> actual: ?1 646s # %l -> expected: 10 646s # %l -> actual: 10 646s # %m -> expected: 10 646s # %m -> actual: 10 646s # %M -> expected: 00 646s # %M -> actual: 00 646s # %p -> expected: ¸áÁ° 646s # %p -> actual: ¸áÁ° 646s # %p -> expected: ¸á¸å 646s # %p -> actual: ¸á¸å 646s # %P -> expected: ¸áÁ° 646s # %P -> actual: ¸áÁ° 646s # %P -> expected: ¸á¸å 646s # %P -> actual: ¸á¸å 646s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 646s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 646s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 646s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 646s # %R -> expected: 00:00 646s # %R -> actual: 00:00 646s # %R -> expected: 13:13 646s # %R -> actual: 13:13 646s # %S -> expected: 00 646s # %S -> actual: 00 646s # %t -> expected: 646s # %t -> actual: 646s # %u -> expected: 6 646s # %u -> actual: 6 646s # %x -> expected: 2009ǯ10·î24Æü 646s # %x -> actual: 2009ǯ10·î24Æü 646s # %X -> expected: 00»þ00ʬ00Éà 646s # %X -> actual: 00»þ00ʬ00Éà 646s # %X -> expected: 13»þ14ʬ15Éà 646s # %X -> actual: 13»þ14ʬ15Éà 646s # %y -> expected: 09 646s # %y -> actual: 09 646s # %Y -> expected: 2009 646s # %Y -> actual: 2009 646s # %% -> expected: % 646s # %% -> actual: % 646s # % -> expected: 646s # % -> actual: 646s # %9 -> expected: (null) 646s # %9 -> actual: (null) 646s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 646s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 646s # %EC -> expected: Ê¿À® 646s # %EC -> actual: Ê¿À® 646s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 646s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 646s # %EX -> expected: 00»þ00ʬ00Éà 646s # %EX -> actual: 00»þ00ʬ00Éà 646s # %Ey -> expected: 21 646s # %Ey -> actual: 21 646s # %EY -> expected: Ê¿À®21ǯ 646s # %EY -> actual: Ê¿À®21ǯ 646s ok 33 /GDateTime/non_utf8_printf 646s # ???? -> expected: ???? 646s # ???? -> actual: ???? 646s # %H?%M -> expected: 23?15 646s # %H?%M -> actual: 23?15 646s # %H?%M -> expected: 23?15 646s # %H?%M -> actual: 23?15 646s ok 34 /GDateTime/format_unrepresentable 646s ok 35 /GDateTime/format_iso8601 646s ok 36 /GDateTime/strftime 646s # %d -> expected: 01 646s # %d -> actual: 01 646s # %_d -> expected: 1 646s # %_d -> actual: 1 646s # %-d -> expected: 1 646s # %-d -> actual: 1 646s # %0d -> expected: 01 646s # %0d -> actual: 01 646s # %d -> expected: 21 646s # %d -> actual: 21 646s # %_d -> expected: 21 646s # %_d -> actual: 21 646s # %-d -> expected: 21 646s # %-d -> actual: 21 646s # %0d -> expected: 21 646s # %0d -> actual: 21 646s # %e -> expected:  1 646s # %e -> actual:  1 646s # %_e -> expected: 1 646s # %_e -> actual: 1 646s # %-e -> expected: 1 646s # %-e -> actual: 1 646s # %0e -> expected: 01 646s # %0e -> actual: 01 646s # %e -> expected: 21 646s # %e -> actual: 21 646s # %_e -> expected: 21 646s # %_e -> actual: 21 646s # %-e -> expected: 21 646s # %-e -> actual: 21 646s # %0e -> expected: 21 646s # %0e -> actual: 21 646s # %a -> expected: Thu 646s # %a -> actual: Thu 646s # %^a -> expected: THU 646s # %^a -> actual: THU 646s # %#a -> expected: THU 646s # %#a -> actual: THU 646s # %A -> expected: Thursday 646s # %A -> actual: Thursday 646s # %^A -> expected: THURSDAY 646s # %^A -> actual: THURSDAY 646s # %#A -> expected: THURSDAY 646s # %#A -> actual: THURSDAY 646s # %b -> expected: Jan 646s # %b -> actual: Jan 646s # %^b -> expected: JAN 646s # %^b -> actual: JAN 646s # %#b -> expected: JAN 646s # %#b -> actual: JAN 646s # %B -> expected: January 646s # %B -> actual: January 646s # %^B -> expected: JANUARY 646s # %^B -> actual: JANUARY 646s # %#B -> expected: JANUARY 646s # %#B -> actual: JANUARY 646s # %h -> expected: Jan 646s # %h -> actual: Jan 646s # %^h -> expected: JAN 646s # %^h -> actual: JAN 646s # %#h -> expected: JAN 646s # %#h -> actual: JAN 646s # %Z -> expected: UTC 646s # %Z -> actual: UTC 646s # %^Z -> expected: UTC 646s # %^Z -> actual: UTC 646s # %#Z -> expected: utc 646s # %#Z -> actual: utc 646s # %H -> expected: 01 646s # %H -> actual: 01 646s # %_H -> expected: 1 646s # %_H -> actual: 1 646s # %-H -> expected: 1 646s # %-H -> actual: 1 646s # %0H -> expected: 01 646s # %0H -> actual: 01 646s # %H -> expected: 21 646s # %H -> actual: 21 646s # %_H -> expected: 21 646s # %_H -> actual: 21 646s # %-H -> expected: 21 646s # %-H -> actual: 21 646s # %0H -> expected: 21 646s # %0H -> actual: 21 646s # %I -> expected: 01 646s # %I -> actual: 01 646s # %_I -> expected: 1 646s # %_I -> actual: 1 646s # %-I -> expected: 1 646s # %-I -> actual: 1 646s # %0I -> expected: 01 646s # %0I -> actual: 01 646s # %I -> expected: 11 646s # %I -> actual: 11 646s # %_I -> expected: 11 646s # %_I -> actual: 11 646s # %-I -> expected: 11 646s # %-I -> actual: 11 646s # %0I -> expected: 11 646s # %0I -> actual: 11 646s # %k -> expected:  1 646s # %k -> actual:  1 646s # %_k -> expected: 1 646s # %_k -> actual: 1 646s # %-k -> expected: 1 646s # %-k -> actual: 1 646s # %0k -> expected: 01 646s # %0k -> actual: 01 646s # %l -> expected:  1 646s # %l -> actual:  1 646s # %_l -> expected: 1 646s # %_l -> actual: 1 646s # %-l -> expected: 1 646s # %-l -> actual: 1 646s # %0l -> expected: 01 646s # %0l -> actual: 01 646s # %l -> expected: 11 646s # %l -> actual: 11 646s # %_l -> expected: 11 646s # %_l -> actual: 11 646s # %-l -> expected: 11 646s # %-l -> actual: 11 646s # %0l -> expected: 11 646s # %0l -> actual: 11 646s # %p -> expected: AM 646s # %p -> actual: AM 646s # %^p -> expected: AM 646s # %^p -> actual: AM 646s # %#p -> expected: am 646s # %#p -> actual: am 646s # %P -> expected: am 646s # %P -> actual: am 646s # %^P -> expected: AM 646s # %^P -> actual: AM 646s # %#P -> expected: am 646s # %#P -> actual: am 646s # %OH -> expected: Û²Û³ 646s # %OH -> actual: Û²Û³ 646s # %OI -> expected: Û±Û± 646s # %OI -> actual: Û±Û± 646s # %OM -> expected: Û°Û° 646s # %OM -> actual: Û°Û° 646s # %Om -> expected: Û°Û· 646s # %Om -> actual: Û°Û· 646s # %0Om -> expected: Û°Û· 646s # %0Om -> actual: Û°Û· 646s # %-Om -> expected: Û· 646s # %-Om -> actual: Û· 646s # %_Om -> expected: Û· 646s # %_Om -> actual: Û· 646s # %c -> expected: thu 01 jan 2009 00:00:00 utc 646s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 646s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 646s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 646s # %C -> expected: 20 646s # %C -> actual: 20 646s # %EC -> expected: 20 646s # %EC -> actual: 20 646s # %x -> expected: 02/01/09 646s # %x -> actual: 02/01/09 646s # %Ex -> expected: 02/01/09 646s # %Ex -> actual: 02/01/09 646s # %X -> expected: 01:02:03 646s # %X -> actual: 01:02:03 646s # %EX -> expected: 01:02:03 646s # %EX -> actual: 01:02:03 646s # %y -> expected: 09 646s # %y -> actual: 09 646s # %Ey -> expected: 09 646s # %Ey -> actual: 09 646s # %Y -> expected: 2009 646s # %Y -> actual: 2009 646s # %EY -> expected: 2009 646s # %EY -> actual: 2009 646s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 646s # Bug Reference: http://bugzilla.gnome.org/749206 646s # %B -> expected: January 646s # %B -> actual: January 646s # %OB -> expected: February 646s # %OB -> actual: February 646s # %b -> expected: Mar 646s # %b -> actual: Mar 646s # %Ob -> expected: Apr 646s # %Ob -> actual: Apr 646s # %h -> expected: May 646s # %h -> actual: May 646s # %Oh -> expected: Jun 646s # %Oh -> actual: Jun 646s # %B -> expected: Juli 646s # %B -> actual: Juli 646s # %OB -> expected: August 646s # %OB -> actual: August 646s # %b -> expected: Sep 646s # %b -> actual: Sep 646s # %Ob -> expected: Okt 646s # %Ob -> actual: Okt 646s # %h -> expected: Nov 646s # %h -> actual: Nov 646s # %Oh -> expected: Dez 646s # %Oh -> actual: Dez 646s # %B -> expected: enero 646s # %B -> actual: enero 646s # %OB -> expected: febrero 646s # %OB -> actual: febrero 646s # %b -> expected: mar 646s # %b -> actual: mar 646s # %Ob -> expected: abr 646s # %Ob -> actual: abr 646s # %h -> expected: may 646s # %h -> actual: may 646s # %Oh -> expected: jun 646s # %Oh -> actual: jun 646s # %B -> expected: juillet 646s # %B -> actual: juillet 646s # %OB -> expected: août 646s # %OB -> actual: août 646s # %b -> expected: sept. 646s # %b -> actual: sept. 646s # %Ob -> expected: oct. 646s # %Ob -> actual: oct. 646s # %h -> expected: nov. 646s # %h -> actual: nov. 646s # %Oh -> expected: déc. 646s # %Oh -> actual: déc. 646s # %B -> expected: ΙανουαÏίου 646s # %B -> actual: ΙανουαÏίου 646s # %B -> expected: ΦεβÏουαÏίου 646s # %B -> actual: ΦεβÏουαÏίου 646s # %B -> expected: ΜαÏτίου 646s # %B -> actual: ΜαÏτίου 646s # %OB -> expected: ΑπÏίλιος 646s # %OB -> actual: ΑπÏίλιος 646s # %OB -> expected: Μάιος 646s # %OB -> actual: Μάιος 646s # %OB -> expected: ΙοÏνιος 646s # %OB -> actual: ΙοÏνιος 646s # %b -> expected: Ιουλ 646s # %b -> actual: Ιουλ 646s # %Ob -> expected: ΑÏγ 646s # %Ob -> actual: ΑÏγ 646s # %B -> expected: svibnja 646s # %B -> actual: svibnja 646s # %B -> expected: lipnja 646s # %B -> actual: lipnja 646s # %B -> expected: srpnja 646s # %B -> actual: srpnja 646s # %OB -> expected: Kolovoz 646s # %OB -> actual: kolovoz 646s # %OB -> expected: Rujan 646s # %OB -> actual: rujan 646s # %OB -> expected: Listopad 646s # %OB -> actual: listopad 646s # %b -> expected: Stu 646s # %b -> actual: stu 646s # %Ob -> expected: Pro 646s # %Ob -> actual: pro 646s # %B -> expected: sausio 646s # %B -> actual: sausio 646s # %B -> expected: vasario 646s # %B -> actual: vasario 646s # %B -> expected: kovo 646s # %B -> actual: kovo 646s # %OB -> expected: balandis 646s # %OB -> actual: balandis 646s # %OB -> expected: gegužė 646s # %OB -> actual: gegužė 646s # %OB -> expected: birželis 646s # %OB -> actual: birželis 646s # %b -> expected: liep. 646s # %b -> actual: liep. 646s # %Ob -> expected: rugp. 646s # %Ob -> actual: rugp. 646s # %B -> expected: maja 646s # %B -> actual: maja 646s # %B -> expected: czerwca 646s # %B -> actual: czerwca 646s # %B -> expected: lipca 646s # %B -> actual: lipca 646s # %OB -> expected: sierpieÅ„ 646s # %OB -> actual: sierpieÅ„ 646s # %OB -> expected: wrzesieÅ„ 646s # %OB -> actual: wrzesieÅ„ 646s # %OB -> expected: październik 646s # %OB -> actual: październik 646s # %b -> expected: lis 646s # %b -> actual: lis 646s # %Ob -> expected: gru 646s # %Ob -> actual: gru 646s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 646s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 646s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 646s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 646s # %B -> expected: марта 646s # %B -> actual: марта 646s # %OB -> expected: Ðпрель 646s # %OB -> actual: Ðпрель 646s # %OB -> expected: Май 646s # %OB -> actual: Май 646s # %OB -> expected: Июнь 646s # %OB -> actual: Июнь 646s # %b -> expected: июл 646s # %b -> actual: июл 646s # %Ob -> expected: авг 646s # %Ob -> actual: авг 646s # %b -> expected: Ð¼Ð°Ñ 646s # %b -> actual: Ð¼Ð°Ñ 646s # %Ob -> expected: май 646s # %Ob -> actual: май 646s ok 38 /GDateTime/month_names 646s ok 39 /GDateTime/to_local 646s ok 40 /GDateTime/to_unix 646s ok 41 /GDateTime/to_timeval 646s ok 42 /GDateTime/to_utc 646s ok 43 /GDateTime/now_utc 646s ok 44 /GDateTime/dst 646s # Bug Reference: http://bugzilla.gnome.org/642935 646s ok 45 /GDateTime/test_z 648s ok 46 /GDateTime/test-all-dates 648s # slow test /GDateTime/test-all-dates executed in 1.33 secs 648s ok 47 /GDateTime/unix_usec 648s # Start of new_from_unix tests 648s # Bug Reference: http://bugzilla.gnome.org/782089 648s ok 48 /GDateTime/new_from_unix/overflow 648s # End of new_from_unix tests 648s # Start of new_from_timeval tests 648s # Bug Reference: http://bugzilla.gnome.org/782089 648s # Maximum supported GTimeVal.tv_sec = 253402300799 648s ok 49 /GDateTime/new_from_timeval/overflow 648s # End of new_from_timeval tests 648s # Start of new_from_iso8601 tests 648s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 648s # Vector 0: 1990-11-01T10:21:17Z 648s # Vector 1: 19901101T102117Z 648s # Vector 2: 1970-01-01T00:00:17.12Z 648s # Vector 3: 1970-01-01T00:00:17.1234Z 648s # Vector 4: 1970-01-01T00:00:17.123456Z 648s # Vector 5: 1980-02-22T12:36:00+02:00 648s # Vector 6: 1990-12-31T15:59:60-08:00 648s # Vector 7: 648s # Vector 8: x 648s # Vector 9: 123x 648s # Vector 10: 2001-10+x 648s # Vector 11: 1980-02-22T 648s # Vector 12: 2001-10-08Tx 648s # Vector 13: 2001-10-08T10:11x 648s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 648s # Vector 15: 1980-02-22T10:36:00Zulu 648s # Vector 16: 2T0+819855292164632335 648s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 648s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 648s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 648s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 648s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 648s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 648s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 648s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 648s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 648s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 648s # Vector 27: 20180803T140805.446178377+0100 648s # Vector 28: 21474836480803T140805.446178377+0100 648s # Vector 29: 20181303T140805.446178377+0100 648s # Vector 30: 20180003T140805.446178377+0100 648s # Vector 31: 20180800T140805.446178377+0100 648s # Vector 32: 20180832T140805.446178377+0100 648s # Vector 33: 20180803T240805.446178377+0100 648s # Vector 34: 20180803T146005.446178377+0100 648s # Vector 35: 20180803T140863.446178377+0100 648s # Vector 36: 20180803T140805.446178377+10000 648s # Vector 37: -0005-01-01T00:00:00Z 648s # Vector 38: 2018-08-06 648s # Vector 39: 20180803T140805,446178377+0100 648s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 648s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 648s # Vector 42: 1990-11-01T10:21:17 648s # Vector 43: 1719W462 407777-07 648s # Vector 44: 4011090 260528Z 648s # Vector 45: 0000W011 228214-22 648s ok 50 /GDateTime/new_from_iso8601/2 648s # End of new_from_iso8601 tests 648s # Start of format_mixed tests 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 648s # %b -> expected: mar 648s # %b -> actual: Mar 648s # %B -> expected: march 648s # %B -> actual: March 648s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 648s # %b -> expected: mar 648s # %b -> actual: Mar 648s # %B -> expected: march 648s # %B -> actual: March 648s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 648s # %b -> expected: Mär 648s # %b -> actual: Mär 648s # %B -> expected: März 648s # %B -> actual: März 648s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 648s # %b -> expected: Mär 648s # %b -> actual: Mär 648s # %B -> expected: März 648s # %B -> actual: März 648s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 648s # End of format_mixed tests 648s # Start of strftime tests 648s # %r -> expected: (null) 648s # %r -> actual: (null) 648s ok 55 /GDateTime/strftime/error_handling 648s # End of strftime tests 648s # Start of eras tests 648s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 648s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 648s # %EC -> expected: 令和 648s # %EC -> actual: 令和 648s # %Ex -> expected: 令和05å¹´06月01æ—¥ 648s # %Ex -> actual: 令和05å¹´06月01æ—¥ 648s # %EX -> expected: 00時00分00ç§’ 648s # %EX -> actual: 00時00分00ç§’ 648s # %Ey -> expected: 05 648s # %Ey -> actual: 05 648s # %EY -> expected: 令和05å¹´ 648s # %EY -> actual: 令和05å¹´ 648s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 648s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 648s # %EC -> expected: å¹³æˆ 648s # %EC -> actual: å¹³æˆ 648s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 648s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 648s # %EX -> expected: 00時00分00ç§’ 648s # %EX -> actual: 00時00分00ç§’ 648s # %Ey -> expected: 31 648s # %Ey -> actual: 31 648s # %EY -> expected: å¹³æˆ31å¹´ 648s # %EY -> actual: å¹³æˆ31å¹´ 648s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00ç§’ 648s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00ç§’ 648s # %EC -> expected: 昭和 648s # %EC -> actual: 昭和 648s # %Ex -> expected: 昭和元年12月25æ—¥ 648s # %Ex -> actual: 昭和元年12月25æ—¥ 648s # %EX -> expected: 00時00分00ç§’ 648s # %EX -> actual: 00時00分00ç§’ 648s # %Ey -> expected: 01 648s # %Ey -> actual: 01 648s # %EY -> expected: 昭和元年 648s # %EY -> actual: 昭和元年 648s ok 56 /GDateTime/eras/japan 648s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 648s # Vector 0: 648s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 648s # 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å¹´ 648s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 648s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 648s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 648s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 648s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 648s # Vector 8: + 648s # Vector 9: +: 648s # Vector 10: +:: 648s # Vector 11: +:200 648s # Vector 12: +:2nonsense 648s # Vector 13: +:2nonsense: 648s # Vector 14: +:2: 648s # Vector 15: +:2:: 648s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 648s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 648s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 648s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 648s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 648s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 648s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 648s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 648s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 648s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 648s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 648s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 648s # Vector 28: +:2:2020/01/01 648s # Vector 29: +:2:2020/01/01: 648s # Vector 30: +:2:2020/01/01:: 648s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 648s # Vector 32: +:2:2020/01/01:+* 648s # Vector 33: +:2:2020/01/01:+*: 648s # Vector 34: +:2:2020/01/01:+*:: 648s # Vector 35: +:2:2020/01/01:+*:令和 648s # Vector 36: +:2:2020/01/01:+*:令和: 648s # Vector 37: +:2:2020/01/01:+*:令和:; 648s ok 58 /GDateTime/eras/parsing 648s # End of eras tests 648s # End of GDateTime tests 648s # Start of GTimeZone tests 648s ok 59 /GTimeZone/find-interval 648s ok 60 /GTimeZone/adjust-time 648s ok 61 /GTimeZone/no-header 648s ok 62 /GTimeZone/no-header-identifier 648s ok 63 /GTimeZone/posix-parse 648s # Bug Reference: http://bugzilla.gnome.org/697715 648s ok 64 /GTimeZone/floating-point 648s # System time zone identifier: Etc/UTC 648s ok 65 /GTimeZone/identifier 648s # Vector 0: -158400 648s # Vector 1: -10000 648s # Vector 2: -3600 648s # Vector 3: -61 648s # Vector 4: -60 648s # Vector 5: -59 648s # Vector 6: 0 648s # Vector 7: 59 648s # Vector 8: 60 648s # Vector 9: 61 648s # Vector 10: 3600 648s # Vector 11: 10000 648s # Vector 12: 158400 648s ok 66 /GTimeZone/new-offset 648s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 648s ok 67 /GTimeZone/parse-rfc8536 648s # /GTimeZone/caching summary: GTimeZone instances are cached 648s ok 68 /GTimeZone/caching 648s # End of GTimeZone tests 648s TAP version 14 648s # random seed: R02S3c43c704b375fdcd7fffd676ebfe0a47 648s 1..1 648s # Start of cache tests 648s ok 1 /cache/basic 648s # End of cache tests 648s TAP version 14 648s # random seed: R02S135951c78750c0a0426f20912b003b87 648s 1..34 648s # Start of hash tests 648s ok 1 /hash/misc 648s ok 2 /hash/one 648s ok 3 /hash/honeyman 648s ok 4 /hash/direct 648s ok 5 /hash/direct2 648s ok 6 /hash/int 648s ok 7 /hash/int64 648s ok 8 /hash/double 648s ok 9 /hash/string 648s ok 10 /hash/set 648s ok 11 /hash/set-ref 648s ok 12 /hash/ref 648s ok 13 /hash/remove-all 648s ok 14 /hash/recursive-remove-all 648s ok 15 /hash/find 648s ok 16 /hash/foreach 648s ok 17 /hash/foreach-steal 648s ok 18 /hash/steal-extended 648s ok 19 /hash/steal-all-keys 648s ok 20 /hash/steal-all-values 648s ok 21 /hash/lookup-extended 648s ok 22 /hash/new-similar 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 648s ok 23 /hash/lookup-null-key 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 648s ok 24 /hash/destroy-modify 648s ok 25 /hash/consistency 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 648s ok 26 /hash/iter-replace 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 648s ok 27 /hash/set-insert-corruption 648s ok 28 /hash/set-to-strv 648s ok 29 /hash/get-keys-as-ptr-array 648s ok 30 /hash/get-values-as-ptr-array 648s ok 31 /hash/primes 648s # Start of int64 tests 648s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 648s ok 32 /hash/int64/collisions 648s # End of int64 tests 648s # Start of double tests 648s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 648s ok 33 /hash/double/collisions 648s # End of double tests 648s # Start of recursive-remove-all tests 648s # End of recursive-remove-all tests 648s # Start of steal-extended tests 648s ok 34 /hash/steal-extended/optional 648s # End of steal-extended tests 648s # End of hash tests 648s TAP version 14 648s # random seed: R02S63775799997753411e30e726687c9a02 648s 1..28 648s # Start of socket tests 648s ok - glib/gdatetime.test 648s # Running test: glib/cache.test 648s ok - glib/cache.test 648s # Running test: glib/hash.test 648s ok - glib/hash.test 648s # Running test: glib/socket.test 648s # Executing: glib/socket.test 649s ok 1 /socket/ipv4_sync 649s # slow test /socket/ipv4_sync executed in 1.00 secs 650s ok 2 /socket/ipv4_async 650s # slow test /socket/ipv4_async executed in 1.00 secs 650s ok 3 /socket/ipv6_sync 650s ok 4 /socket/ipv6_async 650s ok 5 /socket/ipv6_v4mapped 651s ok 6 /socket/close_graceful 651s # slow test /socket/close_graceful executed in 1.00 secs 651s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 651s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 651s ok 8 /socket/fd_reuse 651s ok 9 /socket/address 651s ok 10 /socket/unix-from-fd 651s ok 11 /socket/unix-connection 651s ok 12 /socket/unix-connection-ancillary-data 651s ok 13 /socket/source-postmortem 651s ok 14 /socket/read_write 651s ok 15 /socket/read_writev 651s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 651s ok 16 /socket/receive_bytes 651s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 651s ok 17 /socket/receive_bytes_from 651s # Start of ipv4_sync tests 651s ok 18 /socket/ipv4_sync/datagram 651s # Start of datagram tests 652s ok 19 /socket/ipv4_sync/datagram/timeouts 652s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 652s # End of datagram tests 652s # End of ipv4_sync tests 652s # Start of ipv6_sync tests 652s ok 20 /socket/ipv6_sync/datagram 652s # Start of datagram tests 653s # Executing: glib/socket.test 653s ok 21 /socket/ipv6_sync/datagram/timeouts 653s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 653s # End of datagram tests 653s # End of ipv6_sync tests 653s # Start of reuse tests 653s ok 22 /socket/reuse/tcp 653s ok 23 /socket/reuse/udp 653s # End of reuse tests 653s # Start of get_available tests 653s ok 24 /socket/get_available/datagram 653s ok 25 /socket/get_available/stream 653s # End of get_available tests 653s # Start of credentials tests 653s # Supported on this OS: GCredentials:linux-ucred:pid=0 653s ok 26 /socket/credentials/tcp_client 653s # Supported on this OS: GCredentials:linux-ucred:pid=0 653s ok 27 /socket/credentials/tcp_server 653s # Supported on this OS: GCredentials:linux-ucred:pid=3464,uid=1000,gid=1000 653s ok 28 /socket/credentials/unix_socketpair 653s # End of credentials tests 653s # End of socket tests 653s ok - glib/socket.test 653s # Running test: glib/gdbus-server-auth.test 653s TAP version 14 653s # random seed: R02Sdc5ed324b0edf1feddf9b8e66015cefd 653s 1..9 653s # Start of gdbus tests 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/.dirs/runtime 653s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_JUPB62/gdbus-server-auth-E6PB62 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 653s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_JUPB62/gdbus-server-auth-E6PB62/dbus-LeAbRx6B 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3486 653s ok 1 /gdbus/server-auth 653s # Start of server-auth tests 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/abstract/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/abstract/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/abstract/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/abstract/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/abstract/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/abstract/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/abstract/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/abstract/.dirs/runtime 653s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_JUPB62/gdbus-server-auth-7UWC62 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 653s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_JUPB62/gdbus-server-auth-7UWC62/dbus-to4J4jVx 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 653s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 653s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3486 653s ok 2 /gdbus/server-auth/abstract 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/tcp/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/tcp/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/tcp/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/tcp/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/tcp/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/tcp/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/tcp/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/tcp/.dirs/runtime 653s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 653s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/.dirs/runtime 653s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_JUPB62/gdbus-server-auth-R0HC62 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 653s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_JUPB62/gdbus-server-auth-R0HC62/dbus-GAj4cMI7 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3486 653s ok 4 /gdbus/server-auth/anonymous 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/.dirs/runtime 653s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_JUPB62/gdbus-server-auth-X7D752 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 653s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_JUPB62/gdbus-server-auth-X7D752/dbus-G7Ecjqsj 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3486 653s ok 5 /gdbus/server-auth/external 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/.dirs/runtime 653s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_JUPB62/gdbus-server-auth-8GK852 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 653s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 653s # Start of anonymous tests 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/tcp/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/tcp/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/tcp/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/tcp/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/tcp/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/anonymous/tcp/.dirs/runtime 653s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 653s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 653s # End of anonymous tests 653s # Start of external tests 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/require-same-user/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/require-same-user/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/require-same-user/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/require-same-user/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/require-same-user/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/require-same-user/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/require-same-user/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/external/require-same-user/.dirs/runtime 653s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_JUPB62/gdbus-server-auth-R3K852 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 653s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_JUPB62/gdbus-server-auth-R3K852/dbus-IJMnrWGG 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s ok - glib/gdbus-server-auth.test 653s # Running test: glib/converter-stream.test 653s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3486 653s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 653s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 653s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 653s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3486,uid=1000,gid=1000 653s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3486 653s ok 8 /gdbus/server-auth/external/require-same-user 653s # End of external tests 653s # Start of sha1 tests 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/tcp/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/tcp/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/tcp/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/tcp/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/tcp/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/tcp/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/tcp/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_JUPB62/gdbus/server-auth/sha1/tcp/.dirs/runtime 653s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 653s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 653s # End of sha1 tests 653s # End of server-auth tests 653s # End of gdbus tests 653s TAP version 14 653s # random seed: R02S43e80265206ffdbfce6d9e1c6dd6335d 653s 1..17 653s # Start of converter tests 653s ok 1 /converter/basics 653s # End of converter tests 653s # Start of converter-input-stream tests 653s ok 2 /converter-input-stream/expander 653s ok 3 /converter-input-stream/compressor 653s # Start of truncation tests 653s ok 4 /converter-input-stream/truncation/zlib 653s ok 5 /converter-input-stream/truncation/gzip 654s ok 6 /converter-input-stream/truncation/raw 654s # End of truncation tests 654s # Start of charset tests 654s ok 7 /converter-input-stream/charset/utf8->latin1 654s ok 8 /converter-input-stream/charset/latin1->utf8 654s ok 9 /converter-input-stream/charset/fallbacks 654s # End of charset tests 654s # End of converter-input-stream tests 654s # Start of converter-output-stream tests 654s # Start of roundtrip tests 654s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 654s ok 10 /converter-output-stream/roundtrip/zlib-0 654s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 654s ok 11 /converter-output-stream/roundtrip/zlib-9 654s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 654s ok 12 /converter-output-stream/roundtrip/gzip-0 654s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 654s ok 13 /converter-output-stream/roundtrip/gzip-9 654s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 654s ok 14 /converter-output-stream/roundtrip/raw-0 654s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 655s ok 15 /converter-output-stream/roundtrip/raw-9 655s # End of roundtrip tests 655s # End of converter-output-stream tests 655s # Start of converter-stream tests 655s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 655s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe2ca919f5b0 and GSocketClientAsyncConnectData 0xe2ca919c3e0 655s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 655s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 655s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe2ca8daf9f0 for GSocketClientAsyncConnectData 0xe2ca919c3e0 655s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 655s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 655s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 655s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 655s ok 16 /converter-stream/pollable 655s ok 17 /converter-stream/leftover 655s # End of converter-stream tests 655s ok - glib/converter-stream.test 655s # Running test: glib/charset.test 655s TAP version 14 655s # random seed: R02Sb8b47d56b3da582ce9622f0086c76a5b 655s 1..2 655s # Start of charset tests 655s # Test 0 655s # Test 1 655s # Test 2 655s # Test 3 655s ok 1 /charset/language_names_with_category 655s ok 2 /charset/language_names_with_category_async 655s # End of charset tests 655s ok - glib/charset.test 655s # Running test: glib/regex.test 655s TAP version 14 655s # random seed: R02Sfe368c866acced36a4ed84a083f07353 655s 1..848 655s # Start of regex tests 655s ok 1 /regex/properties 655s ok 2 /regex/class 655s ok 3 /regex/lookahead 655s ok 4 /regex/lookbehind 655s ok 5 /regex/subpattern 655s ok 6 /regex/condition 655s ok 7 /regex/recursion 655s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 655s ok 8 /regex/multiline 655s ok 9 /regex/explicit-crlf 655s ok 10 /regex/max-lookbehind 655s ok 11 /regex/compile-errors 655s ok 12 /regex/jit-unsupported-matching 655s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 655s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 655s ok 13 /regex/unmatched-named-subpattern 655s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 655s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 655s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 655s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 655s ok 14 /regex/compiled-regex-after-jit-failure 655s # Start of new tests 655s ok 15 /regex/new/1 655s ok 16 /regex/new/2 655s ok 17 /regex/new/3 655s ok 18 /regex/new/4 655s ok 19 /regex/new/5 655s ok 20 /regex/new/6 655s ok 21 /regex/new/7 655s ok 22 /regex/new/8 655s ok 23 /regex/new/9 655s ok 24 /regex/new/10 655s ok 25 /regex/new/11 655s ok 26 /regex/new/12 655s ok 27 /regex/new/13 655s ok 28 /regex/new/14 655s ok 29 /regex/new/15 655s ok 30 /regex/new/16 655s ok 31 /regex/new/17 655s ok 32 /regex/new/18 655s ok 33 /regex/new/19 655s ok 34 /regex/new/71 655s ok 35 /regex/new/80 655s ok 36 /regex/new/82 655s # End of new tests 655s # Start of new-check-flags tests 655s ok 37 /regex/new-check-flags/20 655s ok 38 /regex/new-check-flags/21 655s ok 39 /regex/new-check-flags/22 655s ok 40 /regex/new-check-flags/23 655s ok 41 /regex/new-check-flags/24 655s ok 42 /regex/new-check-flags/25 655s ok 43 /regex/new-check-flags/26 655s ok 44 /regex/new-check-flags/27 655s ok 45 /regex/new-check-flags/28 655s ok 46 /regex/new-check-flags/29 655s ok 47 /regex/new-check-flags/30 655s ok 48 /regex/new-check-flags/31 655s ok 49 /regex/new-check-flags/32 655s ok 50 /regex/new-check-flags/33 655s ok 51 /regex/new-check-flags/34 655s ok 52 /regex/new-check-flags/35 655s ok 53 /regex/new-check-flags/36 655s # End of new-check-flags tests 655s # Start of new-fail tests 655s ok 54 /regex/new-fail/37 655s ok 55 /regex/new-fail/38 655s ok 56 /regex/new-fail/39 655s ok 57 /regex/new-fail/40 655s ok 58 /regex/new-fail/41 655s ok 59 /regex/new-fail/42 655s ok 60 /regex/new-fail/43 655s ok 61 /regex/new-fail/44 655s ok 62 /regex/new-fail/45 655s ok 63 /regex/new-fail/46 655s ok 64 /regex/new-fail/47 655s ok 65 /regex/new-fail/48 655s ok 66 /regex/new-fail/49 655s ok 67 /regex/new-fail/50 655s ok 68 /regex/new-fail/51 655s ok 69 /regex/new-fail/52 655s ok 70 /regex/new-fail/53 655s ok 71 /regex/new-fail/54 655s ok 72 /regex/new-fail/55 655s ok 73 /regex/new-fail/56 655s ok 74 /regex/new-fail/57 655s ok 75 /regex/new-fail/58 655s ok 76 /regex/new-fail/59 655s ok 77 /regex/new-fail/60 655s ok 78 /regex/new-fail/61 655s ok 79 /regex/new-fail/62 655s ok 80 /regex/new-fail/63 655s ok 81 /regex/new-fail/64 655s ok 82 /regex/new-fail/65 655s ok 83 /regex/new-fail/66 655s ok 84 /regex/new-fail/67 655s ok 85 /regex/new-fail/68 655s ok 86 /regex/new-fail/69 655s ok 87 /regex/new-fail/70 655s ok 88 /regex/new-fail/72 655s ok 89 /regex/new-fail/73 655s ok 90 /regex/new-fail/74 655s ok 91 /regex/new-fail/75 655s ok 92 /regex/new-fail/76 655s ok 93 /regex/new-fail/77 655s ok 94 /regex/new-fail/78 655s ok 95 /regex/new-fail/79 655s ok 96 /regex/new-fail/81 655s ok 97 /regex/new-fail/83 655s ok 98 /regex/new-fail/84 655s ok 99 /regex/new-fail/85 655s ok 100 /regex/new-fail/86 655s ok 101 /regex/new-fail/87 655s ok 102 /regex/new-fail/88 655s ok 103 /regex/new-fail/89 655s ok 104 /regex/new-fail/90 655s ok 105 /regex/new-fail/91 655s # End of new-fail tests 655s # Start of match-simple tests 655s ok 106 /regex/match-simple/92 655s ok 107 /regex/match-simple/93 655s ok 108 /regex/match-simple/94 655s ok 109 /regex/match-simple/95 655s ok 110 /regex/match-simple/96 655s ok 111 /regex/match-simple/97 655s ok 112 /regex/match-simple/98 655s ok 113 /regex/match-simple/99 655s ok 114 /regex/match-simple/100 655s ok 115 /regex/match-simple/101 655s ok 116 /regex/match-simple/102 655s ok 117 /regex/match-simple/103 655s ok 118 /regex/match-simple/104 655s ok 119 /regex/match-simple/105 655s ok 120 /regex/match-simple/106 655s ok 121 /regex/match-simple/107 655s ok 122 /regex/match-simple/108 655s ok 123 /regex/match-simple/109 655s ok 124 /regex/match-simple/110 655s ok 125 /regex/match-simple/111 655s ok 126 /regex/match-simple/112 655s ok 127 /regex/match-simple/113 655s ok 128 /regex/match-simple/114 655s ok 129 /regex/match-simple/115 655s ok 130 /regex/match-simple/116 655s ok 131 /regex/match-simple/117 655s ok 132 /regex/match-simple/118 655s ok 133 /regex/match-simple/119 655s ok 134 /regex/match-simple/120 655s ok 135 /regex/match-simple/121 655s ok 136 /regex/match-simple/122 655s ok 137 /regex/match-simple/123 655s ok 138 /regex/match-simple/124 655s ok 139 /regex/match-simple/125 655s ok 140 /regex/match-simple/126 655s ok 141 /regex/match-simple/127 655s ok 142 /regex/match-simple/128 655s ok 143 /regex/match-simple/129 655s ok 144 /regex/match-simple/130 655s ok 145 /regex/match-simple/131 655s ok 146 /regex/match-simple/132 655s ok 147 /regex/match-simple/133 655s ok 148 /regex/match-simple/134 655s ok 149 /regex/match-simple/135 655s ok 150 /regex/match-simple/136 655s ok 151 /regex/match-simple/137 655s ok 152 /regex/match-simple/138 655s ok 153 /regex/match-simple/139 655s ok 154 /regex/match-simple/140 655s ok 155 /regex/match-simple/141 655s ok 156 /regex/match-simple/142 655s ok 157 /regex/match-simple/143 655s ok 158 /regex/match-simple/144 655s ok 159 /regex/match-simple/145 655s ok 160 /regex/match-simple/146 655s ok 161 /regex/match-simple/147 655s ok 162 /regex/match-simple/148 655s ok 163 /regex/match-simple/149 655s ok 164 /regex/match-simple/150 655s ok 165 /regex/match-simple/151 655s ok 166 /regex/match-simple/152 655s ok 167 /regex/match-simple/153 655s ok 168 /regex/match-simple/154 655s ok 169 /regex/match-simple/155 655s ok 170 /regex/match-simple/156 655s ok 171 /regex/match-simple/157 655s ok 172 /regex/match-simple/158 655s ok 173 /regex/match-simple/159 655s ok 174 /regex/match-simple/160 655s ok 175 /regex/match-simple/161 655s ok 176 /regex/match-simple/162 655s ok 177 /regex/match-simple/163 655s ok 178 /regex/match-simple/164 655s # End of match-simple tests 655s # Start of match-simple-optimized tests 655s ok 179 /regex/match-simple-optimized/92 655s ok 180 /regex/match-simple-optimized/93 655s ok 181 /regex/match-simple-optimized/94 655s ok 182 /regex/match-simple-optimized/95 655s ok 183 /regex/match-simple-optimized/96 655s ok 184 /regex/match-simple-optimized/97 655s ok 185 /regex/match-simple-optimized/98 655s ok 186 /regex/match-simple-optimized/99 655s ok 187 /regex/match-simple-optimized/100 655s ok 188 /regex/match-simple-optimized/101 655s ok 189 /regex/match-simple-optimized/102 655s ok 190 /regex/match-simple-optimized/103 655s ok 191 /regex/match-simple-optimized/104 655s ok 192 /regex/match-simple-optimized/105 655s ok 193 /regex/match-simple-optimized/106 655s ok 194 /regex/match-simple-optimized/107 655s ok 195 /regex/match-simple-optimized/108 655s ok 196 /regex/match-simple-optimized/109 655s ok 197 /regex/match-simple-optimized/110 655s ok 198 /regex/match-simple-optimized/111 655s ok 199 /regex/match-simple-optimized/112 655s ok 200 /regex/match-simple-optimized/113 655s ok 201 /regex/match-simple-optimized/114 655s ok 202 /regex/match-simple-optimized/115 655s ok 203 /regex/match-simple-optimized/116 655s ok 204 /regex/match-simple-optimized/117 655s ok 205 /regex/match-simple-optimized/118 655s ok 206 /regex/match-simple-optimized/119 655s ok 207 /regex/match-simple-optimized/120 655s ok 208 /regex/match-simple-optimized/121 655s ok 209 /regex/match-simple-optimized/122 655s ok 210 /regex/match-simple-optimized/123 655s ok 211 /regex/match-simple-optimized/124 655s ok 212 /regex/match-simple-optimized/125 655s ok 213 /regex/match-simple-optimized/126 655s ok 214 /regex/match-simple-optimized/127 655s ok 215 /regex/match-simple-optimized/128 655s ok 216 /regex/match-simple-optimized/129 655s ok 217 /regex/match-simple-optimized/130 655s ok 218 /regex/match-simple-optimized/131 655s ok 219 /regex/match-simple-optimized/132 655s ok 220 /regex/match-simple-optimized/133 655s ok 221 /regex/match-simple-optimized/134 655s ok 222 /regex/match-simple-optimized/135 655s ok 223 /regex/match-simple-optimized/136 655s ok 224 /regex/match-simple-optimized/137 655s ok 225 /regex/match-simple-optimized/138 655s ok 226 /regex/match-simple-optimized/139 655s ok 227 /regex/match-simple-optimized/140 655s ok 228 /regex/match-simple-optimized/141 655s ok 229 /regex/match-simple-optimized/142 655s ok 230 /regex/match-simple-optimized/143 655s ok 231 /regex/match-simple-optimized/144 655s ok 232 /regex/match-simple-optimized/145 655s ok 233 /regex/match-simple-optimized/146 655s ok 234 /regex/match-simple-optimized/147 655s ok 235 /regex/match-simple-optimized/148 655s ok 236 /regex/match-simple-optimized/149 655s ok 237 /regex/match-simple-optimized/150 655s ok 238 /regex/match-simple-optimized/151 655s ok 239 /regex/match-simple-optimized/152 655s ok 240 /regex/match-simple-optimized/153 655s ok 241 /regex/match-simple-optimized/154 655s ok 242 /regex/match-simple-optimized/155 655s ok 243 /regex/match-simple-optimized/156 655s ok 244 /regex/match-simple-optimized/157 655s ok 245 /regex/match-simple-optimized/158 655s ok 246 /regex/match-simple-optimized/159 655s ok 247 /regex/match-simple-optimized/160 655s ok 248 /regex/match-simple-optimized/161 655s ok 249 /regex/match-simple-optimized/162 655s ok 250 /regex/match-simple-optimized/163 655s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 655s ok 251 /regex/match-simple-optimized/164 655s # End of match-simple-optimized tests 655s # Start of match tests 655s ok 252 /regex/match/165 655s ok 253 /regex/match/166 655s ok 254 /regex/match/167 655s ok 255 /regex/match/168 655s ok 256 /regex/match/169 655s ok 257 /regex/match/170 655s ok 258 /regex/match/171 655s ok 259 /regex/match/172 655s ok 260 /regex/match/173 655s ok 261 /regex/match/174 655s ok 262 /regex/match/175 655s ok 263 /regex/match/176 655s ok 264 /regex/match/177 655s ok 265 /regex/match/178 655s ok 266 /regex/match/179 655s ok 267 /regex/match/180 655s ok 268 /regex/match/181 655s ok 269 /regex/match/182 655s ok 270 /regex/match/183 655s ok 271 /regex/match/184 655s ok 272 /regex/match/185 655s ok 273 /regex/match/186 655s ok 274 /regex/match/187 655s ok 275 /regex/match/188 655s ok 276 /regex/match/189 655s ok 277 /regex/match/190 655s ok 278 /regex/match/191 655s ok 279 /regex/match/192 655s ok 280 /regex/match/193 655s ok 281 /regex/match/194 655s ok 282 /regex/match/195 655s ok 283 /regex/match/196 655s ok 284 /regex/match/197 655s ok 285 /regex/match/198 655s ok 286 /regex/match/199 655s ok 287 /regex/match/200 655s ok 288 /regex/match/201 655s ok 289 /regex/match/202 655s ok 290 /regex/match/203 655s ok 291 /regex/match/204 655s ok 292 /regex/match/205 655s ok 293 /regex/match/206 655s ok 294 /regex/match/207 655s ok 295 /regex/match/208 655s ok 296 /regex/match/209 655s ok 297 /regex/match/210 655s ok 298 /regex/match/211 655s ok 299 /regex/match/212 655s ok 300 /regex/match/213 655s ok 301 /regex/match/214 655s ok 302 /regex/match/215 655s ok 303 /regex/match/216 655s ok 304 /regex/match/217 655s ok 305 /regex/match/218 655s ok 306 /regex/match/219 655s ok 307 /regex/match/220 655s ok 308 /regex/match/221 655s ok 309 /regex/match/222 655s ok 310 /regex/match/223 655s ok 311 /regex/match/224 655s ok 312 /regex/match/225 655s ok 313 /regex/match/226 655s ok 314 /regex/match/227 655s ok 315 /regex/match/228 655s ok 316 /regex/match/229 655s ok 317 /regex/match/230 655s ok 318 /regex/match/231 655s ok 319 /regex/match/232 655s ok 320 /regex/match/233 655s ok 321 /regex/match/234 655s ok 322 /regex/match/235 655s ok 323 /regex/match/236 655s ok 324 /regex/match/237 655s ok 325 /regex/match/238 655s ok 326 /regex/match/239 655s ok 327 /regex/match/240 655s ok 328 /regex/match/241 655s ok 329 /regex/match/242 655s ok 330 /regex/match/243 655s ok 331 /regex/match/244 655s ok 332 /regex/match/245 655s ok 333 /regex/match/246 655s ok 334 /regex/match/partial281 655s ok 335 /regex/match/partial282 655s ok 336 /regex/match/partial283 655s ok 337 /regex/match/partial284 655s ok 338 /regex/match/partial285 655s ok 339 /regex/match/partial286 655s ok 340 /regex/match/partial287 655s ok 341 /regex/match/partial288 655s ok 342 /regex/match/partial289 655s ok 343 /regex/match/partial290 655s ok 344 /regex/match/partial291 655s ok 345 /regex/match/partial292 655s ok 346 /regex/match/partial293 655s ok 347 /regex/match/partial294 655s ok 348 /regex/match/partial295 655s ok 349 /regex/match/partial296 655s ok 350 /regex/match/partial297 655s ok 351 /regex/match/partial298 655s ok 352 /regex/match/partial299 655s ok 353 /regex/match/partial300 655s ok 354 /regex/match/partial301 655s ok 355 /regex/match/partial302 655s # Start of next0 tests 655s ok 356 /regex/match/next0/247 655s ok 357 /regex/match/next0/248 655s ok 358 /regex/match/next0/249 655s ok 359 /regex/match/next0/250 655s # End of next0 tests 655s # Start of next1 tests 655s ok 360 /regex/match/next1/251 655s ok 361 /regex/match/next1/252 655s ok 362 /regex/match/next1/253 655s ok 363 /regex/match/next1/254 655s ok 364 /regex/match/next1/255 655s # End of next1 tests 655s # Start of next2 tests 655s ok 365 /regex/match/next2/256 655s ok 366 /regex/match/next2/257 655s ok 367 /regex/match/next2/258 655s ok 368 /regex/match/next2/259 655s ok 369 /regex/match/next2/260 655s ok 370 /regex/match/next2/261 655s ok 371 /regex/match/next2/262 655s ok 372 /regex/match/next2/263 655s # End of next2 tests 655s # Start of next3 tests 655s ok 373 /regex/match/next3/264 655s ok 374 /regex/match/next3/265 655s ok 375 /regex/match/next3/266 655s ok 376 /regex/match/next3/267 655s ok 377 /regex/match/next3/268 655s ok 378 /regex/match/next3/269 655s # End of next3 tests 655s # Start of next4 tests 655s ok 379 /regex/match/next4/270 655s # End of next4 tests 655s # Start of count tests 655s ok 380 /regex/match/count/271 655s ok 381 /regex/match/count/272 655s ok 382 /regex/match/count/273 655s ok 383 /regex/match/count/274 655s ok 384 /regex/match/count/275 655s ok 385 /regex/match/count/276 655s ok 386 /regex/match/count/277 655s ok 387 /regex/match/count/278 655s ok 388 /regex/match/count/279 655s ok 389 /regex/match/count/280 655s # End of count tests 655s # Start of count-optimized tests 655s ok 390 /regex/match/count-optimized/271 655s ok 391 /regex/match/count-optimized/272 655s ok 392 /regex/match/count-optimized/273 655s ok 393 /regex/match/count-optimized/274 655s ok 394 /regex/match/count-optimized/275 655s ok 395 /regex/match/count-optimized/276 655s ok 396 /regex/match/count-optimized/277 655s ok 397 /regex/match/count-optimized/278 655s ok 398 /regex/match/count-optimized/279 655s ok 399 /regex/match/count-optimized/280 655s # End of count-optimized tests 655s # Start of partial-optimized tests 655s ok 400 /regex/match/partial-optimized/281 655s ok 401 /regex/match/partial-optimized/282 655s ok 402 /regex/match/partial-optimized/283 655s ok 403 /regex/match/partial-optimized/284 655s ok 404 /regex/match/partial-optimized/285 655s ok 405 /regex/match/partial-optimized/286 655s ok 406 /regex/match/partial-optimized/287 655s ok 407 /regex/match/partial-optimized/288 655s ok 408 /regex/match/partial-optimized/289 655s ok 409 /regex/match/partial-optimized/290 655s ok 410 /regex/match/partial-optimized/291 655s ok 411 /regex/match/partial-optimized/292 655s ok 412 /regex/match/partial-optimized/293 655s ok 413 /regex/match/partial-optimized/294 655s ok 414 /regex/match/partial-optimized/295 655s ok 415 /regex/match/partial-optimized/296 655s ok 416 /regex/match/partial-optimized/297 655s ok 417 /regex/match/partial-optimized/298 655s ok 418 /regex/match/partial-optimized/299 655s ok 419 /regex/match/partial-optimized/300 655s ok 420 /regex/match/partial-optimized/301 655s ok 421 /regex/match/partial-optimized/302 655s # End of partial-optimized tests 655s # Start of subpattern tests 655s ok 422 /regex/match/subpattern/303 655s ok 423 /regex/match/subpattern/304 655s ok 424 /regex/match/subpattern/305 655s ok 425 /regex/match/subpattern/306 655s ok 426 /regex/match/subpattern/307 655s ok 427 /regex/match/subpattern/308 655s ok 428 /regex/match/subpattern/309 655s ok 429 /regex/match/subpattern/310 655s ok 430 /regex/match/subpattern/311 655s ok 431 /regex/match/subpattern/312 655s ok 432 /regex/match/subpattern/313 655s ok 433 /regex/match/subpattern/314 655s ok 434 /regex/match/subpattern/315 655s # Start of named tests 655s # Start of dupnames tests 655s ok 435 /regex/match/subpattern/named/dupnames/325 655s ok 436 /regex/match/subpattern/named/dupnames/326 655s ok 437 /regex/match/subpattern/named/dupnames/327 655s ok 438 /regex/match/subpattern/named/dupnames/328 655s ok 439 /regex/match/subpattern/named/dupnames/329 655s # End of dupnames tests 655s # End of named tests 655s # End of subpattern tests 655s # Start of subpattern-optimized tests 655s ok 440 /regex/match/subpattern-optimized/303 655s ok 441 /regex/match/subpattern-optimized/304 655s ok 442 /regex/match/subpattern-optimized/305 655s ok 443 /regex/match/subpattern-optimized/306 655s ok 444 /regex/match/subpattern-optimized/307 655s ok 445 /regex/match/subpattern-optimized/308 655s ok 446 /regex/match/subpattern-optimized/309 655s ok 447 /regex/match/subpattern-optimized/310 655s ok 448 /regex/match/subpattern-optimized/311 655s ok 449 /regex/match/subpattern-optimized/312 655s ok 450 /regex/match/subpattern-optimized/313 655s ok 451 /regex/match/subpattern-optimized/314 655s ok 452 /regex/match/subpattern-optimized/315 655s # End of subpattern-optimized tests 655s # Start of named tests 655s # Start of subpattern tests 655s ok 453 /regex/match/named/subpattern/316 655s ok 454 /regex/match/named/subpattern/317 655s ok 455 /regex/match/named/subpattern/318 655s ok 456 /regex/match/named/subpattern/319 655s ok 457 /regex/match/named/subpattern/320 655s ok 458 /regex/match/named/subpattern/321 655s ok 459 /regex/match/named/subpattern/322 655s ok 460 /regex/match/named/subpattern/323 655s ok 461 /regex/match/named/subpattern/324 655s ok 462 /regex/match/named/subpattern/330 655s ok 463 /regex/match/named/subpattern/331 655s ok 464 /regex/match/named/subpattern/332 655s ok 465 /regex/match/named/subpattern/333 655s ok 466 /regex/match/named/subpattern/334 655s # End of subpattern tests 655s # End of named tests 655s # End of match tests 655s # Start of match-optimized tests 655s ok 467 /regex/match-optimized/165 655s ok 468 /regex/match-optimized/166 655s ok 469 /regex/match-optimized/167 655s ok 470 /regex/match-optimized/168 655s ok 471 /regex/match-optimized/169 655s ok 472 /regex/match-optimized/170 655s ok 473 /regex/match-optimized/171 655s ok 474 /regex/match-optimized/172 655s ok 475 /regex/match-optimized/173 655s ok 476 /regex/match-optimized/174 655s ok 477 /regex/match-optimized/175 655s ok 478 /regex/match-optimized/176 655s ok 479 /regex/match-optimized/177 655s ok 480 /regex/match-optimized/178 655s ok 481 /regex/match-optimized/179 655s ok 482 /regex/match-optimized/180 655s ok 483 /regex/match-optimized/181 655s ok 484 /regex/match-optimized/182 655s ok 485 /regex/match-optimized/183 655s ok 486 /regex/match-optimized/184 655s ok 487 /regex/match-optimized/185 655s ok 488 /regex/match-optimized/186 655s ok 489 /regex/match-optimized/187 655s ok 490 /regex/match-optimized/188 655s ok 491 /regex/match-optimized/189 655s ok 492 /regex/match-optimized/190 655s ok 493 /regex/match-optimized/191 655s ok 494 /regex/match-optimized/192 655s ok 495 /regex/match-optimized/193 655s ok 496 /regex/match-optimized/194 655s ok 497 /regex/match-optimized/195 655s ok 498 /regex/match-optimized/196 655s ok 499 /regex/match-optimized/197 655s ok 500 /regex/match-optimized/198 655s ok 501 /regex/match-optimized/199 655s ok 502 /regex/match-optimized/200 655s ok 503 /regex/match-optimized/201 655s ok 504 /regex/match-optimized/202 655s ok 505 /regex/match-optimized/203 655s ok 506 /regex/match-optimized/204 655s ok 507 /regex/match-optimized/205 655s ok 508 /regex/match-optimized/206 655s ok 509 /regex/match-optimized/207 655s ok 510 /regex/match-optimized/208 655s ok 511 /regex/match-optimized/209 655s ok 512 /regex/match-optimized/210 655s ok 513 /regex/match-optimized/211 655s ok 514 /regex/match-optimized/212 655s ok 515 /regex/match-optimized/213 655s ok 516 /regex/match-optimized/214 655s ok 517 /regex/match-optimized/215 655s ok 518 /regex/match-optimized/216 655s ok 519 /regex/match-optimized/217 655s ok 520 /regex/match-optimized/218 655s ok 521 /regex/match-optimized/219 655s ok 522 /regex/match-optimized/220 655s ok 523 /regex/match-optimized/221 655s ok 524 /regex/match-optimized/222 655s ok 525 /regex/match-optimized/223 655s ok 526 /regex/match-optimized/224 655s ok 527 /regex/match-optimized/225 655s ok 528 /regex/match-optimized/226 655s ok 529 /regex/match-optimized/227 655s ok 530 /regex/match-optimized/228 655s ok 531 /regex/match-optimized/229 655s ok 532 /regex/match-optimized/230 655s ok 533 /regex/match-optimized/231 655s ok 534 /regex/match-optimized/232 655s ok 535 /regex/match-optimized/233 655s ok 536 /regex/match-optimized/234 655s ok 537 /regex/match-optimized/235 655s ok 538 /regex/match-optimized/236 655s ok 539 /regex/match-optimized/237 655s ok 540 /regex/match-optimized/238 655s ok 541 /regex/match-optimized/239 655s ok 542 /regex/match-optimized/240 655s ok 543 /regex/match-optimized/241 655s ok 544 /regex/match-optimized/242 655s ok 545 /regex/match-optimized/243 655s ok 546 /regex/match-optimized/244 655s ok 547 /regex/match-optimized/245 655s ok 548 /regex/match-optimized/246 655s # End of match-optimized tests 655s # Start of fetch-all0 tests 655s ok 549 /regex/fetch-all0/335 655s ok 550 /regex/fetch-all0/336 655s # End of fetch-all0 tests 655s # Start of fetch-all1 tests 655s ok 551 /regex/fetch-all1/337 655s ok 552 /regex/fetch-all1/338 655s ok 553 /regex/fetch-all1/339 655s # End of fetch-all1 tests 655s # Start of fetch-all2 tests 655s ok 554 /regex/fetch-all2/340 655s ok 555 /regex/fetch-all2/341 655s ok 556 /regex/fetch-all2/342 655s # End of fetch-all2 tests 655s # Start of fetch-all3 tests 655s ok 557 /regex/fetch-all3/343 655s ok 558 /regex/fetch-all3/344 655s ok 559 /regex/fetch-all3/345 655s ok 560 /regex/fetch-all3/346 655s ok 561 /regex/fetch-all3/347 655s # End of fetch-all3 tests 655s # Start of split tests 655s # Start of simple0 tests 655s ok 562 /regex/split/simple0/348 655s ok 563 /regex/split/simple0/349 655s ok 564 /regex/split/simple0/364 655s ok 565 /regex/split/simple0/365 655s # End of simple0 tests 655s # Start of simple1 tests 655s ok 566 /regex/split/simple1/350 655s ok 567 /regex/split/simple1/351 655s # End of simple1 tests 655s # Start of simple2 tests 655s ok 568 /regex/split/simple2/352 655s ok 569 /regex/split/simple2/358 655s ok 570 /regex/split/simple2/360 655s # End of simple2 tests 655s # Start of simple3 tests 655s ok 571 /regex/split/simple3/353 655s ok 572 /regex/split/simple3/354 655s ok 573 /regex/split/simple3/355 655s ok 574 /regex/split/simple3/356 655s ok 575 /regex/split/simple3/357 655s ok 576 /regex/split/simple3/359 655s ok 577 /regex/split/simple3/361 655s ok 578 /regex/split/simple3/362 655s ok 579 /regex/split/simple3/363 655s # End of simple3 tests 655s # End of split tests 655s # Start of split0 tests 655s ok 580 /regex/split0/366 655s ok 581 /regex/split0/368 655s # End of split0 tests 655s # Start of full-split0 tests 655s ok 582 /regex/full-split0/367 655s ok 583 /regex/full-split0/369 655s ok 584 /regex/full-split0/370 655s ok 585 /regex/full-split0/371 655s ok 586 /regex/full-split0/372 655s # End of full-split0 tests 655s # Start of split1 tests 655s ok 587 /regex/split1/373 655s ok 588 /regex/split1/376 655s # End of split1 tests 655s # Start of full-split1 tests 655s ok 589 /regex/full-split1/374 655s ok 590 /regex/full-split1/375 655s ok 591 /regex/full-split1/377 655s ok 592 /regex/full-split1/378 655s ok 593 /regex/full-split1/404 655s # End of full-split1 tests 655s # Start of split2 tests 655s ok 594 /regex/split2/379 655s ok 595 /regex/split2/383 655s ok 596 /regex/split2/395 655s # End of split2 tests 655s # Start of full-split2 tests 655s ok 597 /regex/full-split2/380 655s ok 598 /regex/full-split2/381 655s ok 599 /regex/full-split2/382 655s ok 600 /regex/full-split2/384 655s ok 601 /regex/full-split2/396 655s ok 602 /regex/full-split2/399 655s ok 603 /regex/full-split2/405 655s # End of full-split2 tests 655s # Start of split3 tests 655s ok 604 /regex/split3/385 655s ok 605 /regex/split3/387 655s ok 606 /regex/split3/389 655s ok 607 /regex/split3/391 655s ok 608 /regex/split3/393 655s ok 609 /regex/split3/397 655s ok 610 /regex/split3/400 655s ok 611 /regex/split3/402 655s # End of split3 tests 655s # Start of full-split3 tests 655s ok 612 /regex/full-split3/386 655s ok 613 /regex/full-split3/388 655s ok 614 /regex/full-split3/390 655s ok 615 /regex/full-split3/392 655s ok 616 /regex/full-split3/394 655s ok 617 /regex/full-split3/398 655s ok 618 /regex/full-split3/401 655s ok 619 /regex/full-split3/403 655s ok 620 /regex/full-split3/406 655s ok 621 /regex/full-split3/407 655s # End of full-split3 tests 655s # Start of check-repacement tests 655s ok 622 /regex/check-repacement/408 655s ok 623 /regex/check-repacement/409 655s ok 624 /regex/check-repacement/410 655s ok 625 /regex/check-repacement/411 655s ok 626 /regex/check-repacement/412 655s ok 627 /regex/check-repacement/413 655s ok 628 /regex/check-repacement/414 655s ok 629 /regex/check-repacement/415 655s # End of check-repacement tests 655s # Start of expand tests 655s ok 630 /regex/expand/416 655s ok 631 /regex/expand/417 655s ok 632 /regex/expand/418 655s ok 633 /regex/expand/419 655s ok 634 /regex/expand/420 655s ok 635 /regex/expand/421 655s ok 636 /regex/expand/422 655s ok 637 /regex/expand/423 655s ok 638 /regex/expand/424 655s ok 639 /regex/expand/425 655s ok 640 /regex/expand/426 655s ok 641 /regex/expand/427 655s ok 642 /regex/expand/428 655s ok 643 /regex/expand/429 655s ok 644 /regex/expand/430 655s ok 645 /regex/expand/431 655s ok 646 /regex/expand/432 655s ok 647 /regex/expand/433 655s ok 648 /regex/expand/434 655s ok 649 /regex/expand/435 655s ok 650 /regex/expand/436 655s ok 651 /regex/expand/437 655s ok 652 /regex/expand/438 655s ok 653 /regex/expand/439 655s ok 654 /regex/expand/440 655s ok 655 /regex/expand/441 655s ok 656 /regex/expand/442 655s ok 657 /regex/expand/443 655s ok 658 /regex/expand/444 655s ok 659 /regex/expand/445 655s ok 660 /regex/expand/446 655s ok 661 /regex/expand/447 655s ok 662 /regex/expand/448 655s ok 663 /regex/expand/449 655s ok 664 /regex/expand/450 655s ok 665 /regex/expand/451 655s ok 666 /regex/expand/452 655s ok 667 /regex/expand/453 655s ok 668 /regex/expand/454 655s ok 669 /regex/expand/455 655s ok 670 /regex/expand/456 655s ok 671 /regex/expand/457 655s ok 672 /regex/expand/458 655s ok 673 /regex/expand/459 655s ok 674 /regex/expand/460 655s ok 675 /regex/expand/461 655s ok 676 /regex/expand/462 655s ok 677 /regex/expand/463 655s ok 678 /regex/expand/464 655s ok 679 /regex/expand/465 655s ok 680 /regex/expand/466 655s ok 681 /regex/expand/467 655s ok 682 /regex/expand/468 655s ok 683 /regex/expand/469 655s ok 684 /regex/expand/470 655s ok 685 /regex/expand/471 655s ok 686 /regex/expand/472 655s ok 687 /regex/expand/473 655s ok 688 /regex/expand/474 655s ok 689 /regex/expand/475 655s ok 690 /regex/expand/476 655s ok 691 /regex/expand/477 655s ok 692 /regex/expand/478 655s ok 693 /regex/expand/479 655s ok 694 /regex/expand/480 655s ok 695 /regex/expand/481 655s # End of expand tests 655s # Start of replace tests 655s ok 696 /regex/replace/482 655s ok 697 /regex/replace/483 655s ok 698 /regex/replace/484 655s ok 699 /regex/replace/485 655s ok 700 /regex/replace/486 655s ok 701 /regex/replace/487 655s ok 702 /regex/replace/488 655s ok 703 /regex/replace/489 655s ok 704 /regex/replace/490 655s ok 705 /regex/replace/491 655s ok 706 /regex/replace/492 655s ok 707 /regex/replace/493 655s ok 708 /regex/replace/494 655s ok 709 /regex/replace/495 655s ok 710 /regex/replace/496 655s ok 711 /regex/replace/497 655s ok 712 /regex/replace/498 655s ok 713 /regex/replace/499 655s ok 714 /regex/replace/500 655s ok 715 /regex/replace/501 655s ok 716 /regex/replace/502 655s ok 717 /regex/replace/503 655s ok 718 /regex/replace/504 655s ok 719 /regex/replace/505 655s ok 720 /regex/replace/506 655s ok 721 /regex/replace/507 655s ok 722 /regex/replace/508 655s ok 723 /regex/replace/509 655s # End of replace tests 655s # Start of replace-optimized tests 655s ok 724 /regex/replace-optimized/482 655s ok 725 /regex/replace-optimized/483 655s ok 726 /regex/replace-optimized/484 655s ok 727 /regex/replace-optimized/485 655s ok 728 /regex/replace-optimized/486 655s ok 729 /regex/replace-optimized/487 655s ok 730 /regex/replace-optimized/488 655s ok 731 /regex/replace-optimized/489 655s ok 732 /regex/replace-optimized/490 655s ok 733 /regex/replace-optimized/491 655s ok 734 /regex/replace-optimized/492 655s ok 735 /regex/replace-optimized/493 655s ok 736 /regex/replace-optimized/494 655s ok 737 /regex/replace-optimized/495 655s ok 738 /regex/replace-optimized/496 655s ok 739 /regex/replace-optimized/497 655s ok 740 /regex/replace-optimized/498 655s ok 741 /regex/replace-optimized/499 655s ok 742 /regex/replace-optimized/500 655s ok 743 /regex/replace-optimized/501 655s ok 744 /regex/replace-optimized/502 655s ok 745 /regex/replace-optimized/503 655s ok 746 /regex/replace-optimized/504 655s ok 747 /regex/replace-optimized/505 655s ok 748 /regex/replace-optimized/506 655s ok 749 /regex/replace-optimized/507 655s ok 750 /regex/replace-optimized/508 655s ok 751 /regex/replace-optimized/509 655s # End of replace-optimized tests 655s # Start of replace-literally tests 655s ok 752 /regex/replace-literally/510 655s ok 753 /regex/replace-literally/511 655s ok 754 /regex/replace-literally/512 655s ok 755 /regex/replace-literally/513 655s ok 756 /regex/replace-literally/514 655s ok 757 /regex/replace-literally/515 655s ok 758 /regex/replace-literally/516 655s ok 759 /regex/replace-literally/517 655s ok 760 /regex/replace-literally/518 655s ok 761 /regex/replace-literally/519 655s ok 762 /regex/replace-literally/520 655s ok 763 /regex/replace-literally/521 655s ok 764 /regex/replace-literally/522 655s ok 765 /regex/replace-literally/523 655s ok 766 /regex/replace-literally/524 655s ok 767 /regex/replace-literally/525 655s ok 768 /regex/replace-literally/526 655s ok 769 /regex/replace-literally/527 655s ok 770 /regex/replace-literally/528 655s ok 771 /regex/replace-literally/529 655s # End of replace-literally tests 655s # Start of string-number tests 655s ok 772 /regex/string-number/530 655s ok 773 /regex/string-number/531 655s ok 774 /regex/string-number/532 655s ok 775 /regex/string-number/533 655s ok 776 /regex/string-number/534 655s ok 777 /regex/string-number/535 655s ok 778 /regex/string-number/536 655s ok 779 /regex/string-number/537 655s ok 780 /regex/string-number/538 655s ok 781 /regex/string-number/539 655s ok 782 /regex/string-number/540 655s ok 783 /regex/string-number/541 655s ok 784 /regex/string-number/542 655s ok 785 /regex/string-number/543 655s ok 786 /regex/string-number/544 655s ok - glib/regex.test 655s # Running test: glib/spawn-multithreaded.test 655s # End of string-number tests 655s # Start of escape_nul tests 655s ok 787 /regex/escape_nul/545 655s ok 788 /regex/escape_nul/546 655s ok 789 /regex/escape_nul/547 655s ok 790 /regex/escape_nul/548 655s ok 791 /regex/escape_nul/549 655s ok 792 /regex/escape_nul/550 655s ok 793 /regex/escape_nul/551 655s ok 794 /regex/escape_nul/552 655s ok 795 /regex/escape_nul/553 655s ok 796 /regex/escape_nul/554 655s ok 797 /regex/escape_nul/555 655s ok 798 /regex/escape_nul/556 655s ok 799 /regex/escape_nul/557 655s ok 800 /regex/escape_nul/558 655s ok 801 /regex/escape_nul/559 655s # End of escape_nul tests 655s # Start of escape tests 655s ok 802 /regex/escape/560 655s ok 803 /regex/escape/561 655s ok 804 /regex/escape/562 655s ok 805 /regex/escape/563 655s ok 806 /regex/escape/564 655s ok 807 /regex/escape/565 655s ok 808 /regex/escape/566 655s ok 809 /regex/escape/567 655s ok 810 /regex/escape/568 655s ok 811 /regex/escape/569 655s ok 812 /regex/escape/570 655s ok 813 /regex/escape/571 655s ok 814 /regex/escape/572 655s ok 815 /regex/escape/573 655s ok 816 /regex/escape/574 655s ok 817 /regex/escape/575 655s ok 818 /regex/escape/576 655s ok 819 /regex/escape/577 655s # End of escape tests 655s # Start of match-all0 tests 655s ok 820 /regex/match-all0/578 655s ok 821 /regex/match-all0/580 655s # End of match-all0 tests 655s # Start of match-all-full0 tests 655s ok 822 /regex/match-all-full0/579 655s ok 823 /regex/match-all-full0/581 655s ok 824 /regex/match-all-full0/582 655s ok 825 /regex/match-all-full0/583 655s # End of match-all-full0 tests 655s # Start of match-all1 tests 655s ok 826 /regex/match-all1/584 655s ok 827 /regex/match-all1/586 655s ok 828 /regex/match-all1/591 655s # End of match-all1 tests 655s # Start of match-all-full1 tests 655s ok 829 /regex/match-all-full1/585 655s ok 830 /regex/match-all-full1/587 655s ok 831 /regex/match-all-full1/588 655s ok 832 /regex/match-all-full1/589 655s ok 833 /regex/match-all-full1/590 655s ok 834 /regex/match-all-full1/592 655s # End of match-all-full1 tests 655s # Start of match-all2 tests 655s ok 835 /regex/match-all2/593 655s ok 836 /regex/match-all2/595 655s ok 837 /regex/match-all2/597 655s # End of match-all2 tests 655s # Start of match-all-full2 tests 655s ok 838 /regex/match-all-full2/594 655s ok 839 /regex/match-all-full2/596 655s ok 840 /regex/match-all-full2/598 655s # End of match-all-full2 tests 655s # Start of match-all3 tests 655s ok 841 /regex/match-all3/599 655s ok 842 /regex/match-all3/601 655s # End of match-all3 tests 655s # Start of match-all-full3 tests 655s ok 843 /regex/match-all-full3/600 655s ok 844 /regex/match-all-full3/602 655s # End of match-all-full3 tests 655s # Start of match-notempty tests 655s ok 845 /regex/match-notempty/603 655s # End of match-notempty tests 655s # Start of match-notempty-optimized tests 655s ok 846 /regex/match-notempty-optimized/603 655s # End of match-notempty-optimized tests 655s # Start of match-notempty-atstart tests 655s ok 847 /regex/match-notempty-atstart/604 655s # End of match-notempty-atstart tests 655s # Start of match-notempty-atstart-optimized tests 655s ok 848 /regex/match-notempty-atstart-optimized/604 655s # End of match-notempty-atstart-optimized tests 655s # End of regex tests 655s TAP version 14 655s # random seed: R02S185d238c558d0f4d4e97cd6e475cc053 655s 1..4 655s # Start of gthread tests 656s # Child 3505 (ttl 1) exited, status 0 657s # Child 3506 (ttl 2) exited, status 0 657s ok 1 /gthread/spawn-childs 657s # slow test /gthread/spawn-childs executed in 2.00 secs 657s # Created pid: 3510 (ttl 2) 657s # Created pid: 3511 (ttl 1) 658s # Executing: glib/spawn-multithreaded.test 658s # Child 3511 (ttl 1) exited, status 0 659s # Child 3510 (ttl 2) exited, status 0 659s ok 2 /gthread/spawn-childs-threads 659s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 659s ok 3 /gthread/spawn-sync 659s ok 4 /gthread/spawn-async 659s # End of gthread tests 659s ok - glib/spawn-multithreaded.test 659s # Running test: glib/spawn-test.test 659s TAP version 14 659s # random seed: R02Sed712eeee9b1d6894f3c6c89ac415937 659s 1..2 659s # Start of spawn tests 659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_NPQ352/spawn/basics/.dirs/home 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_NPQ352/spawn/basics/.dirs/cache 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_NPQ352/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_NPQ352/spawn/basics/.dirs/system-config2 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_NPQ352/spawn/basics/.dirs/config 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_NPQ352/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_NPQ352/spawn/basics/.dirs/system-data2 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_NPQ352/spawn/basics/.dirs/data 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_NPQ352/spawn/basics/.dirs/state 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_NPQ352/spawn/basics/.dirs/runtime 659s ok 1 /spawn/basics 659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_NPQ352/spawn/stdio-overwrite/.dirs/home 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_NPQ352/spawn/stdio-overwrite/.dirs/cache 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_NPQ352/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_NPQ352/spawn/stdio-overwrite/.dirs/system-config2 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_NPQ352/spawn/stdio-overwrite/.dirs/config 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_NPQ352/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_NPQ352/spawn/stdio-overwrite/.dirs/system-data2 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_NPQ352/spawn/stdio-overwrite/.dirs/data 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_NPQ352/spawn/stdio-overwrite/.dirs/state 659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_NPQ352/spawn/stdio-overwrite/.dirs/runtime 659s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 659s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 659s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 659s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 659s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 659s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 659s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 659s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 659s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 659s # Fetching GSpawn result output with stdin open, stdout open, stderr open 659s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 659s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 659s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 659s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 659s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 659s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 659s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 659s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 659s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 659s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 659s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 659s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 659s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 659s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 659s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 659s # Fetching GSpawn result with stdin open, stdout open, stderr open 659s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 659s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 659s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 659s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 659s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 659s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 659s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 659s ok - glib/spawn-test.test 659s # Running test: glib/srvtarget.test 659s ok 2 /spawn/stdio-overwrite 659s # End of spawn tests 659s TAP version 14 659s # random seed: R02Sef176185e377184f04296a5084d493ba 659s 1..1 659s # Start of srvtarget tests 660s ok 1 /srvtarget/srv-target-ordering 660s # slow test /srvtarget/srv-target-ordering executed in 0.87 secs 660s # End of srvtarget tests 660s ok - glib/srvtarget.test 660s # Running test: glib/rwlock.test 660s TAP version 14 660s # random seed: R02S2061f40b659f9c9f0fd62d047f9ebeda 660s 1..8 660s # Start of thread tests 660s ok 1 /thread/rwlock1 660s ok 2 /thread/rwlock2 660s ok 3 /thread/rwlock3 660s ok 4 /thread/rwlock4 660s ok 5 /thread/rwlock5 660s ok 6 /thread/rwlock6 663s # Executing: glib/rwlock.test 665s ok 7 /thread/rwlock7 665s # slow test /thread/rwlock7 executed in 5.13 secs 665s ok - glib/rwlock.test 665s # Running test: glib/mem-overflow.test 665s ok 8 /thread/rwlock8 665s # End of thread tests 665s TAP version 14 665s # random seed: R02S0ed9317e316a83fd927045d23590eec9 665s 1..2 665s # Start of mem tests 665s ok 1 /mem/overflow 665s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 665s ok 2 /mem/empty-alloc 665s # Start of overflow tests 665s # Start of subprocess tests 665s # End of subprocess tests 665s # End of overflow tests 665s # Start of empty-alloc tests 665s # End of empty-alloc tests 665s ok - glib/mem-overflow.test 665s # Running test: glib/network-monitor.test 665s ok - glib/network-monitor.test 665s # Running test: glib/utf8-misc.test 665s ok - glib/utf8-misc.test 665s # Running test: glib/portal-support-none.test 665s ok - glib/portal-support-none.test 665s # Running test: glib/io-channel.test 665s ok - glib/io-channel.test 665s # Running test: glib/testing-nonfatal.test 665s ok - glib/testing-nonfatal.test 665s # Running test: glib/base64.test 665s ok - glib/base64.test 665s # End of mem tests 665s TAP version 14 665s # random seed: R02Sc4384e1a79f8d8ac6eb746227ad70b6c 665s 1..4 665s # Start of network-monitor tests 665s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 665s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 665s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 665s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 665s ok 1 /network-monitor/default 665s ok 2 /network-monitor/remove_default 665s ok 3 /network-monitor/add_networks 665s ok 4 /network-monitor/remove_networks 665s # End of network-monitor tests 665s TAP version 14 665s # random seed: R02S29d0930167da440c6eca6ce2ca6bce0c 665s 1..7 665s # Start of utf8 tests 665s ok 1 /utf8/strlen 665s ok 2 /utf8/strncpy 665s ok 3 /utf8/strrchr 665s ok 4 /utf8/reverse 665s ok 5 /utf8/substring 665s ok 6 /utf8/make-valid 665s ok 7 /utf8/truncate-middle 665s # End of utf8 tests 665s TAP version 14 665s # random seed: R02S5410d861f4079e8167ef373ab6292b2e 665s 1..1 665s # Start of portal-support tests 665s ok 1 /portal-support/none 665s # End of portal-support tests 665s TAP version 14 665s # random seed: R02Scf4c555864b30f640d21be3b15cab3f1 665s 1..2 665s # Start of io-channel tests 665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_Y1L952/io-channel/read-write/.dirs/home 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_Y1L952/io-channel/read-write/.dirs/cache 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_Y1L952/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_Y1L952/io-channel/read-write/.dirs/system-config2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_Y1L952/io-channel/read-write/.dirs/config 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_Y1L952/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_Y1L952/io-channel/read-write/.dirs/system-data2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_Y1L952/io-channel/read-write/.dirs/data 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_Y1L952/io-channel/read-write/.dirs/state 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_Y1L952/io-channel/read-write/.dirs/runtime 665s # Line one 665s # 665s # Line two 665s # 665s # Line three 665s # 665s # /* Hello */ 665s # 665s # \x1234\x567890\x6666 665s # 665s # read 62 bytes, wrote 62 bytes 665s ok 1 /io-channel/read-write 665s # Start of read-line tests 665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_Y1L952/io-channel/read-line/embedded-nuls/.dirs/home 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_Y1L952/io-channel/read-line/embedded-nuls/.dirs/cache 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_Y1L952/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_Y1L952/io-channel/read-line/embedded-nuls/.dirs/system-config2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_Y1L952/io-channel/read-line/embedded-nuls/.dirs/config 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_Y1L952/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_Y1L952/io-channel/read-line/embedded-nuls/.dirs/system-data2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_Y1L952/io-channel/read-line/embedded-nuls/.dirs/data 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_Y1L952/io-channel/read-line/embedded-nuls/.dirs/state 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_Y1L952/io-channel/read-line/embedded-nuls/.dirs/runtime 665s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 665s ok 2 /io-channel/read-line/embedded-nuls 665s # End of read-line tests 665s # End of io-channel tests 665s TAP version 14 665s # random seed: R02S52839040adf783af9672212a4a56aadd 665s ** 665s 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?") 665s # 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?") 665s TAP version 14 665s # random seed: R02Scae5bc7a300c844d112e2a357d57f892 665s 1..28 665s # Start of base64 tests 665s ok 1 /base64/encode 665s ok 2 /base64/decode 665s ok 3 /base64/decode-inplace 665s ok 4 /base64/encode-decode 665s # Start of full tests 665s ok 5 /base64/full/1 665s ok 6 /base64/full/2 665s ok 7 /base64/full/3 665s ok 8 /base64/full/4 665s # End of full tests 665s # Start of encode tests 665s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 665s ok 9 /base64/encode/empty 665s # Start of incremental tests 665s # Start of small-block tests 665s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 665s ok 10 /base64/encode/incremental/small-block/1 665s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 665s ok 11 /base64/encode/incremental/small-block/2 665s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 665s ok 12 /base64/encode/incremental/small-block/3 665s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 665s ok 13 /base64/encode/incremental/small-block/4 665s # End of small-block tests 665s # End of incremental tests 665s # End of encode tests 665s # Start of incremental tests 665s # Start of nobreak tests 665s ok 14 /base64/incremental/nobreak/1 665s ok 15 /base64/incremental/nobreak/2 665s ok 16 /base64/incremental/nobreak/3 665s ok 17 /base64/incremental/nobreak/4-a 665s ok 18 /base64/incremental/nobreak/4-b 665s ok 19 /base64/incremental/nobreak/4-c 665s # End of nobreak tests 665s # Start of break tests 665s ok 20 /base64/incremental/break/1 665s ok 21 /base64/incremental/break/2 665s ok 22 /base64/incremental/break/3 665s # End of break tests 665s # Start of smallblock tests 665s ok 23 /base64/incremental/smallblock/1 665s ok 24 /base64/incremental/smallblock/2 665s ok 25 /base64/incremental/smallblock/3 665s ok 26 /base64/incremental/smallblock/4 665s # End of smallblock tests 665s # End of incremental tests 665s # Start of decode tests 665s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 665s ok 27 /base64/decode/empty 665s # End of decode tests 665s # Start of encode-decode tests 665s # Vector 0: 665s # Vector 1: f 665s # Vector 2: fo 665s # Vector 3: foo 665s # Vector 4: foob 665s # Vector 5: fooba 665s # Vector 6: foobar 665s ok 28 /base64/encode-decode/rfc4648 665s # End of encode-decode tests 665s # End of base64 tests 665s # Running test: glib/gsocketclient-slow.test 665s TAP version 14 665s # random seed: R02S7b1f4fd893f39a9f0eccae867f8d9239 665s 1..4 665s # Start of socket-client tests 665s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 665s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 665s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x7bc6a598b10 and GSocketClientAsyncConnectData 0x7bc6a5930d0 665s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 665s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 665s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x7bc6a59c5e0 for GSocketClientAsyncConnectData 0x7bc6a5930d0 665s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 666s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 666s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 666s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 666s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 666s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 666s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x7bc6a59c5e0 for GSocketClientAsyncConnectData 0x7bc6a5930d0 666s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 666s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 666s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 666s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 666s ok 1 /socket-client/connection-fail 666s # slow test /socket-client/connection-fail executed in 1.20 secs 666s # Start of happy-eyeballs tests 666s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x7bc6a59b340 and GSocketClientAsyncConnectData 0x7bc6a59bf50 666s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 666s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 666s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x7bc6a59f560 for GSocketClientAsyncConnectData 0x7bc6a59bf50 666s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 667s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 667s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 667s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 667s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 667s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 667s ok 2 /socket-client/happy-eyeballs/slow 667s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 667s # Start of cancellation tests 667s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x7bc6a59bc30 and GSocketClientAsyncConnectData 0x7bc6a59f9e0 667s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 667s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 667s ok 3 /socket-client/happy-eyeballs/cancellation/instant 667s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x7bc6a59b190 and GSocketClientAsyncConnectData 0x7bc6a59f6f0 667s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 667s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 667s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x7bc6a59f3a0 for GSocketClientAsyncConnectData 0x7bc6a59f6f0 667s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 667s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 667s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 667s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 667s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 667s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 667s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 667s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 667s # End of cancellation tests 667s # End of happy-eyeballs tests 667s # End of socket-client tests 667s ok - glib/gsocketclient-slow.test 667s # Running test: glib/bookmarkfile.test 667s TAP version 14 667s # random seed: R02Sac84034e5a7cfaca0a71da9cbd66eea4 667s 1..96 667s # Start of bookmarks tests 667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/load-from-data-dirs/.dirs/home 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/load-from-data-dirs/.dirs/cache 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/load-from-data-dirs/.dirs/system-config2 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/load-from-data-dirs/.dirs/config 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/load-from-data-dirs/.dirs/system-data2 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/load-from-data-dirs/.dirs/data 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/load-from-data-dirs/.dirs/state 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/load-from-data-dirs/.dirs/runtime 667s ok 1 /bookmarks/load-from-data-dirs 667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/to-file/.dirs/home 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/to-file/.dirs/cache 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/to-file/.dirs/system-config2 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/to-file/.dirs/config 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/to-file/.dirs/system-data2 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/to-file/.dirs/data 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/to-file/.dirs/state 667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/to-file/.dirs/runtime 667s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_SUDW52/bookmarkfile-test-HIEW52.xbel 667s # Roundtrip from a valid bookmark file 667s ok 2 /bookmarks/to-file 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/move-item/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/move-item/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/move-item/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/move-item/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/move-item/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/move-item/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/move-item/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/move-item/.dirs/runtime 668s ok 3 /bookmarks/move-item 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/corner-cases/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/corner-cases/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/corner-cases/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/corner-cases/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/corner-cases/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/corner-cases/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/corner-cases/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/corner-cases/.dirs/runtime 668s ok 4 /bookmarks/corner-cases 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/misc/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/misc/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/misc/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/misc/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/misc/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/misc/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/misc/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/misc/.dirs/runtime 668s ok 5 /bookmarks/misc 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/deprecated/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/deprecated/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/deprecated/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/deprecated/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/deprecated/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/deprecated/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/deprecated/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/deprecated/.dirs/runtime 668s ok 6 /bookmarks/deprecated 668s # Start of parse tests 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-02.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-02.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-02.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-02.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-02.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-02.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-02.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-02.xbel/.dirs/runtime 668s ok 7 /bookmarks/parse/valid-02.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-34.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-34.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-34.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-34.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-34.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-34.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-34.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-34.xbel/.dirs/runtime 668s ok 8 /bookmarks/parse/fail-34.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-27.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-27.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-27.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-27.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-27.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-27.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-27.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-27.xbel/.dirs/runtime 668s ok 9 /bookmarks/parse/fail-27.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-38.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-38.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-38.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-38.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-38.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-38.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-38.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-38.xbel/.dirs/runtime 668s ok 10 /bookmarks/parse/fail-38.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-02.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-02.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-02.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-02.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-02.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-02.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-02.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-02.xbel/.dirs/runtime 668s ok 11 /bookmarks/parse/fail-02.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-08.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-08.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-08.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-08.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-08.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-08.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-08.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-08.xbel/.dirs/runtime 668s ok 12 /bookmarks/parse/fail-08.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-24.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-24.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-24.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-24.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-24.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-24.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-24.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-24.xbel/.dirs/runtime 668s ok 13 /bookmarks/parse/fail-24.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-19.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-19.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-19.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-19.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-19.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-19.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-19.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-19.xbel/.dirs/runtime 668s ok 14 /bookmarks/parse/fail-19.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-01.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-01.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-01.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-01.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-01.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-01.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-01.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-01.xbel/.dirs/runtime 668s ok 15 /bookmarks/parse/fail-01.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-26.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-26.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-26.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-26.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-26.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-26.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-26.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-26.xbel/.dirs/runtime 668s ok 16 /bookmarks/parse/fail-26.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-33.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-33.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-33.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-33.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-33.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-33.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-33.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-33.xbel/.dirs/runtime 668s ok 17 /bookmarks/parse/fail-33.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-37.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-37.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-37.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-37.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-37.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-37.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-37.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-37.xbel/.dirs/runtime 668s ok 18 /bookmarks/parse/fail-37.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-10.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-10.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-10.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-10.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-10.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-10.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-10.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-10.xbel/.dirs/runtime 668s ok 19 /bookmarks/parse/fail-10.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-20.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-20.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-20.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-20.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-20.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-20.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-20.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-20.xbel/.dirs/runtime 668s ok 20 /bookmarks/parse/fail-20.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-07.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-07.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-07.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-07.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-07.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-07.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-07.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-07.xbel/.dirs/runtime 668s ok 21 /bookmarks/parse/fail-07.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-13.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-13.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-13.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-13.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-13.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-13.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-13.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-13.xbel/.dirs/runtime 668s ok 22 /bookmarks/parse/fail-13.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-09.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-09.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-09.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-09.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-09.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-09.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-09.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-09.xbel/.dirs/runtime 668s ok 23 /bookmarks/parse/fail-09.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-23.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-23.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-23.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-23.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-23.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-23.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-23.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-23.xbel/.dirs/runtime 668s ok 24 /bookmarks/parse/fail-23.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-03.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-03.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-03.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-03.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-03.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-03.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-03.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-03.xbel/.dirs/runtime 668s ok 25 /bookmarks/parse/fail-03.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-04.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-04.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-04.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-04.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-04.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-04.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-04.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-04.xbel/.dirs/runtime 668s ok 26 /bookmarks/parse/fail-04.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-12.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-12.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-12.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-12.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-12.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-12.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-12.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-12.xbel/.dirs/runtime 668s ok 27 /bookmarks/parse/fail-12.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-17.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-17.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-17.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-17.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-17.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-17.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-17.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-17.xbel/.dirs/runtime 668s ok 28 /bookmarks/parse/fail-17.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-39.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-39.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-39.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-39.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-39.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-39.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-39.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-39.xbel/.dirs/runtime 668s ok 29 /bookmarks/parse/fail-39.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-11.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-11.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-11.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-11.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-11.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-11.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-11.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-11.xbel/.dirs/runtime 668s ok 30 /bookmarks/parse/fail-11.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-31.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-31.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-31.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-31.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-31.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-31.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-31.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-31.xbel/.dirs/runtime 668s ok 31 /bookmarks/parse/fail-31.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-36.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-36.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-36.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-36.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-36.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-36.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-36.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-36.xbel/.dirs/runtime 668s ok 32 /bookmarks/parse/fail-36.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-16.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-16.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-16.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-16.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-16.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-16.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-16.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-16.xbel/.dirs/runtime 668s ok 33 /bookmarks/parse/fail-16.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-18.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-18.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-18.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-18.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-18.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-18.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-18.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-18.xbel/.dirs/runtime 668s ok 34 /bookmarks/parse/fail-18.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-35.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-35.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-35.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-35.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-35.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-35.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-35.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-35.xbel/.dirs/runtime 668s ok 35 /bookmarks/parse/fail-35.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-05.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-05.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-05.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-05.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-05.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-05.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-05.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-05.xbel/.dirs/runtime 668s ok 36 /bookmarks/parse/fail-05.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-32.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-32.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-32.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-32.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-32.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-32.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-32.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-32.xbel/.dirs/runtime 668s ok 37 /bookmarks/parse/fail-32.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-42.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-42.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-42.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-42.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-42.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-42.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-42.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-42.xbel/.dirs/runtime 668s ok 38 /bookmarks/parse/fail-42.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-21.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-21.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-21.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-21.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-21.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-21.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-21.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-21.xbel/.dirs/runtime 668s ok 39 /bookmarks/parse/fail-21.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-03.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-03.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-03.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-03.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-03.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-03.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-03.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-03.xbel/.dirs/runtime 668s ok 40 /bookmarks/parse/valid-03.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-22.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-22.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-22.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-22.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-22.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-22.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-22.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-22.xbel/.dirs/runtime 668s ok 41 /bookmarks/parse/fail-22.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-29.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-29.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-29.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-29.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-29.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-29.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-29.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-29.xbel/.dirs/runtime 668s ok 42 /bookmarks/parse/fail-29.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-14.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-14.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-14.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-14.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-14.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-14.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-14.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-14.xbel/.dirs/runtime 668s ok 43 /bookmarks/parse/fail-14.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-40.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-40.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-40.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-40.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-40.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-40.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-40.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-40.xbel/.dirs/runtime 668s ok 44 /bookmarks/parse/fail-40.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-01.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-01.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-01.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-01.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-01.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-01.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-01.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/valid-01.xbel/.dirs/runtime 668s ok 45 /bookmarks/parse/valid-01.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-25.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-25.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-25.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-25.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-25.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-25.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-25.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-25.xbel/.dirs/runtime 668s ok 46 /bookmarks/parse/fail-25.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-28.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-28.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-28.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-28.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-28.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-28.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-28.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-28.xbel/.dirs/runtime 668s ok 47 /bookmarks/parse/fail-28.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-41.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-41.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-41.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-41.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-41.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-41.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-41.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-41.xbel/.dirs/runtime 668s ok 48 /bookmarks/parse/fail-41.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-30.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-30.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-30.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-30.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-30.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-30.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-30.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-30.xbel/.dirs/runtime 668s ok 49 /bookmarks/parse/fail-30.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-15.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-15.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-15.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-15.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-15.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-15.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-15.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-15.xbel/.dirs/runtime 668s ok 50 /bookmarks/parse/fail-15.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-06.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-06.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-06.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-06.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-06.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-06.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-06.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/parse/fail-06.xbel/.dirs/runtime 668s ok 51 /bookmarks/parse/fail-06.xbel 668s # End of parse tests 668s # Start of copy tests 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-02.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-02.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-02.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-02.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-02.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-02.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-02.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-02.xbel/.dirs/runtime 668s ok 52 /bookmarks/copy/valid-02.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-34.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-34.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-34.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-34.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-34.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-34.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-34.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-34.xbel/.dirs/runtime 668s ok 53 /bookmarks/copy/fail-34.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-27.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-27.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-27.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-27.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-27.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-27.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-27.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-27.xbel/.dirs/runtime 668s ok 54 /bookmarks/copy/fail-27.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-38.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-38.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-38.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-38.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-38.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-38.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-38.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-38.xbel/.dirs/runtime 668s ok 55 /bookmarks/copy/fail-38.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-02.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-02.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-02.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-02.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-02.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-02.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-02.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-02.xbel/.dirs/runtime 668s ok 56 /bookmarks/copy/fail-02.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-08.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-08.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-08.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-08.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-08.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-08.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-08.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-08.xbel/.dirs/runtime 668s ok 57 /bookmarks/copy/fail-08.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-24.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-24.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-24.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-24.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-24.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-24.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-24.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-24.xbel/.dirs/runtime 668s ok 58 /bookmarks/copy/fail-24.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-19.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-19.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-19.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-19.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-19.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-19.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-19.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-19.xbel/.dirs/runtime 668s ok 59 /bookmarks/copy/fail-19.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-01.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-01.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-01.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-01.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-01.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-01.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-01.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-01.xbel/.dirs/runtime 668s ok 60 /bookmarks/copy/fail-01.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-26.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-26.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-26.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-26.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-26.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-26.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-26.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-26.xbel/.dirs/runtime 668s ok 61 /bookmarks/copy/fail-26.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-33.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-33.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-33.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-33.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-33.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-33.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-33.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-33.xbel/.dirs/runtime 668s ok 62 /bookmarks/copy/fail-33.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-37.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-37.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-37.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-37.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-37.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-37.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-37.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-37.xbel/.dirs/runtime 668s ok 63 /bookmarks/copy/fail-37.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-10.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-10.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-10.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-10.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-10.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-10.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-10.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-10.xbel/.dirs/runtime 668s ok 64 /bookmarks/copy/fail-10.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-20.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-20.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-20.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-20.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-20.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-20.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-20.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-20.xbel/.dirs/runtime 668s ok 65 /bookmarks/copy/fail-20.xbel 668s ok - glib/bookmarkfile.test 668s # Running test: glib/flags.test 668s ok - glib/flags.test 668s # Running test: glib/spawn-path-search.test 668s ok - glib/spawn-path-search.test 668s # Running test: glib/proxy-test.test 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-07.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-07.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-07.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-07.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-07.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-07.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-07.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-07.xbel/.dirs/runtime 668s ok 66 /bookmarks/copy/fail-07.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-13.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-13.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-13.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-13.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-13.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-13.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-13.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-13.xbel/.dirs/runtime 668s ok 67 /bookmarks/copy/fail-13.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-09.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-09.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-09.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-09.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-09.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-09.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-09.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-09.xbel/.dirs/runtime 668s ok 68 /bookmarks/copy/fail-09.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-23.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-23.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-23.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-23.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-23.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-23.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-23.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-23.xbel/.dirs/runtime 668s ok 69 /bookmarks/copy/fail-23.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-03.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-03.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-03.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-03.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-03.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-03.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-03.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-03.xbel/.dirs/runtime 668s ok 70 /bookmarks/copy/fail-03.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-04.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-04.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-04.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-04.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-04.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-04.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-04.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-04.xbel/.dirs/runtime 668s ok 71 /bookmarks/copy/fail-04.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-12.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-12.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-12.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-12.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-12.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-12.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-12.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-12.xbel/.dirs/runtime 668s ok 72 /bookmarks/copy/fail-12.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-17.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-17.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-17.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-17.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-17.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-17.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-17.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-17.xbel/.dirs/runtime 668s ok 73 /bookmarks/copy/fail-17.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-39.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-39.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-39.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-39.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-39.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-39.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-39.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-39.xbel/.dirs/runtime 668s ok 74 /bookmarks/copy/fail-39.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-11.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-11.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-11.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-11.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-11.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-11.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-11.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-11.xbel/.dirs/runtime 668s ok 75 /bookmarks/copy/fail-11.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-31.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-31.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-31.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-31.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-31.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-31.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-31.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-31.xbel/.dirs/runtime 668s ok 76 /bookmarks/copy/fail-31.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-36.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-36.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-36.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-36.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-36.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-36.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-36.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-36.xbel/.dirs/runtime 668s ok 77 /bookmarks/copy/fail-36.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-16.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-16.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-16.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-16.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-16.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-16.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-16.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-16.xbel/.dirs/runtime 668s ok 78 /bookmarks/copy/fail-16.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-18.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-18.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-18.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-18.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-18.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-18.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-18.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-18.xbel/.dirs/runtime 668s ok 79 /bookmarks/copy/fail-18.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-35.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-35.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-35.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-35.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-35.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-35.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-35.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-35.xbel/.dirs/runtime 668s ok 80 /bookmarks/copy/fail-35.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-05.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-05.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-05.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-05.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-05.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-05.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-05.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-05.xbel/.dirs/runtime 668s ok 81 /bookmarks/copy/fail-05.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-32.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-32.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-32.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-32.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-32.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-32.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-32.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-32.xbel/.dirs/runtime 668s ok 82 /bookmarks/copy/fail-32.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-42.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-42.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-42.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-42.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-42.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-42.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-42.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-42.xbel/.dirs/runtime 668s ok 83 /bookmarks/copy/fail-42.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-21.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-21.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-21.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-21.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-21.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-21.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-21.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-21.xbel/.dirs/runtime 668s ok 84 /bookmarks/copy/fail-21.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-03.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-03.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-03.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-03.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-03.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-03.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-03.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-03.xbel/.dirs/runtime 668s ok 85 /bookmarks/copy/valid-03.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-22.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-22.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-22.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-22.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-22.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-22.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-22.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-22.xbel/.dirs/runtime 668s ok 86 /bookmarks/copy/fail-22.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-29.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-29.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-29.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-29.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-29.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-29.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-29.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-29.xbel/.dirs/runtime 668s ok 87 /bookmarks/copy/fail-29.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-14.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-14.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-14.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-14.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-14.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-14.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-14.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-14.xbel/.dirs/runtime 668s ok 88 /bookmarks/copy/fail-14.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-40.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-40.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-40.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-40.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-40.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-40.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-40.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-40.xbel/.dirs/runtime 668s ok 89 /bookmarks/copy/fail-40.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-01.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-01.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-01.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-01.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-01.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-01.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-01.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/valid-01.xbel/.dirs/runtime 668s ok 90 /bookmarks/copy/valid-01.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-25.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-25.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-25.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-25.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-25.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-25.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-25.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-25.xbel/.dirs/runtime 668s ok 91 /bookmarks/copy/fail-25.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-28.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-28.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-28.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-28.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-28.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-28.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-28.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-28.xbel/.dirs/runtime 668s ok 92 /bookmarks/copy/fail-28.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-41.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-41.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-41.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-41.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-41.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-41.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-41.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-41.xbel/.dirs/runtime 668s ok 93 /bookmarks/copy/fail-41.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-30.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-30.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-30.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-30.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-30.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-30.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-30.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-30.xbel/.dirs/runtime 668s ok 94 /bookmarks/copy/fail-30.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-15.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-15.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-15.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-15.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-15.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-15.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-15.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-15.xbel/.dirs/runtime 668s ok 95 /bookmarks/copy/fail-15.xbel 668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-06.xbel/.dirs/home 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-06.xbel/.dirs/cache 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-06.xbel/.dirs/system-config2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-06.xbel/.dirs/config 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-06.xbel/.dirs/system-data2 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-06.xbel/.dirs/data 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-06.xbel/.dirs/state 668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SUDW52/bookmarks/copy/fail-06.xbel/.dirs/runtime 668s ok 96 /bookmarks/copy/fail-06.xbel 668s # End of copy tests 668s # End of bookmarks tests 668s TAP version 14 668s # random seed: R02S87b8cefb4b53979b34ef71edc77ca550 668s 1..1 668s # Start of gobject tests 668s # Start of flags tests 668s ok 1 /gobject/flags/validate 668s # End of flags tests 668s # End of gobject tests 668s TAP version 14 668s # random seed: R02S3fb0f6b6a80deafca976cf05125a8252 668s 1..7 668s # Start of spawn tests 668s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 668s # 668s # this is spawn-test-helper from glib/tests 668s # 668s ok 1 /spawn/do-not-search 668s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 668s # 668s # this is spawn-test-helper from path-test-subdir 668s # 668s ok 2 /spawn/search-path 668s # /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. 668s # 668s # this is spawn-test-helper from path-test-subdir 668s # 668s ok 3 /spawn/search-path-from-envp 668s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 668s # 668s # this is spawn-test-helper from path-test-subdir 668s # 668s ok 4 /spawn/search-path-ambiguous 668s # 668s # this is spawn-test-helper from path-test-subdir 668s # 668s ok 5 /spawn/search-path-heap-allocation 668s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 668s # 668s # this is spawn-test-helper from glib/tests 668s # 668s ok 6 /spawn/search-path-fallback-in-environ 668s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 668s # 668s # this is spawn-test-helper from glib/tests 668s # 668s ok 7 /spawn/search-path-fallback-in-envp 668s # End of spawn tests 668s TAP version 14 668s # random seed: R02S12c0c5666d3484c79ff1731012069c7f 668s 1..11 668s # Start of proxy tests 668s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 668s ok 1 /proxy/direct_sync 668s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 668s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xee7deeff820 and GSocketClientAsyncConnectData 0xee7deefed90 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 668s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xee7def00150 for GSocketClientAsyncConnectData 0xee7deefed90 668s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 668s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 668s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 668s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 668s ok 2 /proxy/direct_async 668s ok 3 /proxy/single_sync 668s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 668s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xee7deeffcc0 and GSocketClientAsyncConnectData 0xee7deefed90 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 668s ok - glib/proxy-test.test 668s # Running test: glib/sequence.test 668s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xee7def00820 for GSocketClientAsyncConnectData 0xee7deefed90 668s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 668s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 668s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 668s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 668s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 668s ok 4 /proxy/single_async 668s ok 5 /proxy/multiple_sync 668s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 668s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xee7deefff50 and GSocketClientAsyncConnectData 0xee7deeffee0 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 668s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xee7def01b80 for GSocketClientAsyncConnectData 0xee7deeffee0 668s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 668s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 668s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 668s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 668s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xee7def01b20 for GSocketClientAsyncConnectData 0xee7deeffee0 668s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 668s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 668s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 668s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 668s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 668s ok 6 /proxy/multiple_async 668s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 668s ok 7 /proxy/invalid-uris-sync 668s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 668s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 668s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xee7deeffb10 and GSocketClientAsyncConnectData 0xee7def01d40 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 668s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 668s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 668s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xee7deeffcc0 and GSocketClientAsyncConnectData 0xee7deeffee0 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 668s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 668s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 668s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xee7deeffb10 and GSocketClientAsyncConnectData 0xee7def01d40 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 668s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xee7def001b0 for GSocketClientAsyncConnectData 0xee7def01d40 668s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 668s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 668s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 668s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 668s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 668s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xee7deeffcc0 and GSocketClientAsyncConnectData 0xee7def01d40 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 668s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xee7def01db0 for GSocketClientAsyncConnectData 0xee7def01d40 668s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 668s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 668s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 668s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 668s ok 8 /proxy/invalid-uris-async 668s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 668s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xee7deeff820 and GSocketClientAsyncConnectData 0xee7def01d40 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 668s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 668s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 668s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 668s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xee7def023e0 and GSocketClientAsyncConnectData 0xee7def000a0 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 668s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xee7def01b80 for GSocketClientAsyncConnectData 0xee7def000a0 668s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 668s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 668s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 668s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 668s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 668s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 668s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xee7deeffb10 and GSocketClientAsyncConnectData 0xee7deeffee0 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 668s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xee7def01db0 for GSocketClientAsyncConnectData 0xee7deeffee0 668s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 668s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 668s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 668s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 668s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 668s ok 9 /proxy/dns 668s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 668s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xee7deeff820 and GSocketClientAsyncConnectData 0xee7deeffee0 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 668s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xee7def012a0 for GSocketClientAsyncConnectData 0xee7deeffee0 668s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 668s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 668s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 668s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 668s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 668s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 668s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xee7deeffb10 and GSocketClientAsyncConnectData 0xee7deeffd80 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 668s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xee7def012a0 for GSocketClientAsyncConnectData 0xee7deeffd80 668s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 668s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 668s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 668s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 668s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 668s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 668s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xee7deeff820 and GSocketClientAsyncConnectData 0xee7def01d40 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 668s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xee7def01ac0 for GSocketClientAsyncConnectData 0xee7def01d40 668s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 668s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 668s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 668s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 668s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 668s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 668s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 668s ok 10 /proxy/override 668s ok 11 /proxy/enumerator-ports 668s # End of proxy tests 668s TAP version 14 668s # random seed: R02Sdc5e61e642b07ce3cd5ac78f930e2a77 668s 1..16 668s # Start of sequence tests 668s ok 1 /sequence/out-of-range-jump 668s ok 2 /sequence/iter-move 668s ok 3 /sequence/insert-sorted-non-pointer 668s ok 4 /sequence/stable-sort 668s ok 5 /sequence/is_empty 668s # Start of random tests 668s # Executing: glib/sequence.test 668s ok 6 /sequence/random/seed:825541564 668s # slow test /sequence/random/seed:825541564 executed in 0.72 secs 669s ok 7 /sequence/random/seed:801678400 669s # slow test /sequence/random/seed:801678400 executed in 0.68 secs 670s ok 8 /sequence/random/seed:1477639090 670s # slow test /sequence/random/seed:1477639090 executed in 0.71 secs 670s ok 9 /sequence/random/seed:3369132895 670s # slow test /sequence/random/seed:3369132895 executed in 0.65 secs 671s ok 10 /sequence/random/seed:1192944867 671s # slow test /sequence/random/seed:1192944867 executed in 0.68 secs 672s ok 11 /sequence/random/seed:770458294 672s # slow test /sequence/random/seed:770458294 executed in 0.71 secs 673s ok 12 /sequence/random/seed:1099575817 673s # slow test /sequence/random/seed:1099575817 executed in 0.68 secs 673s # Executing: glib/sequence.test 673s ok 13 /sequence/random/seed:590523467 673s # slow test /sequence/random/seed:590523467 executed in 0.71 secs 674s ok 14 /sequence/random/seed:3583571454 674s # slow test /sequence/random/seed:3583571454 executed in 0.71 secs 675s ok 15 /sequence/random/seed:579241222 675s # slow test /sequence/random/seed:579241222 executed in 0.73 secs 675s ok - glib/sequence.test 675s ok 16 /sequence/random/seed:21831765 675s # slow test /sequence/random/seed:21831765 executed in 0.71 secs 675s # End of random tests 675s # End of sequence tests 675s # Running test: glib/callable-info.test 675s TAP version 14 675s # random seed: R02Sae8f530b03dd546444d89c0cb5c79504 675s 1..5 675s # Start of callable-info tests 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_09K052/callable-info/sync-function/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_09K052/callable-info/sync-function/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_09K052/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_09K052/callable-info/sync-function/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_09K052/callable-info/sync-function/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_09K052/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_09K052/callable-info/sync-function/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_09K052/callable-info/sync-function/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_09K052/callable-info/sync-function/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_09K052/callable-info/sync-function/.dirs/runtime 675s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 675s ok 1 /callable-info/sync-function 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_09K052/callable-info/async-function/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_09K052/callable-info/async-function/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_09K052/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_09K052/callable-info/async-function/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_09K052/callable-info/async-function/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_09K052/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_09K052/callable-info/async-function/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_09K052/callable-info/async-function/.dirs/data 675s ok - glib/callable-info.test 675s # Running test: glib/portal-support-flatpak-gsettings-only.test 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_09K052/callable-info/async-function/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_09K052/callable-info/async-function/.dirs/runtime 675s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 675s ok 2 /callable-info/async-function 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_09K052/callable-info/is-method/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_09K052/callable-info/is-method/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_09K052/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_09K052/callable-info/is-method/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_09K052/callable-info/is-method/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_09K052/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_09K052/callable-info/is-method/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_09K052/callable-info/is-method/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_09K052/callable-info/is-method/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_09K052/callable-info/is-method/.dirs/runtime 675s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 675s ok 3 /callable-info/is-method 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_09K052/callable-info/static-method/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_09K052/callable-info/static-method/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_09K052/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_09K052/callable-info/static-method/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_09K052/callable-info/static-method/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_09K052/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_09K052/callable-info/static-method/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_09K052/callable-info/static-method/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_09K052/callable-info/static-method/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_09K052/callable-info/static-method/.dirs/runtime 675s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 675s ok 4 /callable-info/static-method 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_09K052/callable-info/static-vfunc/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_09K052/callable-info/static-vfunc/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_09K052/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_09K052/callable-info/static-vfunc/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_09K052/callable-info/static-vfunc/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_09K052/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_09K052/callable-info/static-vfunc/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_09K052/callable-info/static-vfunc/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_09K052/callable-info/static-vfunc/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_09K052/callable-info/static-vfunc/.dirs/runtime 675s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 675s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 675s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 675s # End of callable-info tests 675s TAP version 14 675s # random seed: R02Sedd44b785d5d3ddb12e4f073d5583ac3 675s 1..1 675s # Start of portal-support tests 675s # Start of flatpak tests 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_1TD052/portal-support/flatpak/gsettings/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_1TD052/portal-support/flatpak/gsettings/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_1TD052/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_1TD052/portal-support/flatpak/gsettings/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_1TD052/portal-support/flatpak/gsettings/.dirs/config 675s ok - glib/portal-support-flatpak-gsettings-only.test 675s # Running test: glib/signal-handler.test 675s ok - glib/signal-handler.test 675s # Running test: glib/performance.test 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_1TD052/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_1TD052/portal-support/flatpak/gsettings/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_1TD052/portal-support/flatpak/gsettings/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_1TD052/portal-support/flatpak/gsettings/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_1TD052/portal-support/flatpak/gsettings/.dirs/runtime 675s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_1TD052/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 675s ok 1 /portal-support/flatpak/gsettings 675s # End of flatpak tests 675s # End of portal-support tests 675s TAP version 14 675s # random seed: R02Sfe5d7a260bf287c3dfc09ffb6043dab1 675s 1..7 675s # Start of signal tests 675s # Start of handler tests 675s # min perf: connected 1 handlers in 0.000 seconds 675s ok 1 /signal/handler/connect-many 675s # min perf: disconnected 1 handlers in 0.000 seconds 675s ok 2 /signal/handler/disconnect-many-ordered 675s # min perf: disconnected 1 handlers in 0.000 seconds 675s ok 3 /signal/handler/disconnect-many-inverse 675s # min perf: disconnected 1 handlers in 0.000 seconds 675s ok 4 /signal/handler/disconnect-many-random 675s # min perf: disconnected 1 handlers in 0.000 seconds 675s ok 5 /signal/handler/disconnect-2-signals 675s # min perf: disconnected 1 handlers in 0.000 seconds 675s ok 6 /signal/handler/disconnect-2-objects 675s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 675s ok 7 /signal/handler/block-many 675s # End of handler tests 675s # End of signal tests 678s # Executing: glib/performance.test 683s # Executing: glib/performance.test 688s simple-construction: Millions of constructed objects per second: 6.833 688s # Executing: glib/performance.test 690s simple-construction1: Millions of constructed objects per second: 57.319 693s # Executing: glib/performance.test 697s complex-construction: Millions of constructed objects per second: 3.774 698s # Executing: glib/performance.test 703s # Executing: glib/performance.test 705s complex-construction1: Millions of constructed objects per second: 4.590 708s # Executing: glib/performance.test 713s # Executing: glib/performance.test 714s complex-construction2: Millions of constructed objects per second: 5.131 716s finalization: Millions of finalized objects per second: 0.865 717s type-check: Million type checks per second: 14.41 718s # Executing: glib/performance.test 719s emit-unhandled: Emissions per second: 1226983 720s emit-unhandled-empty: Emissions per second: 10457986 722s emit-unhandled-generic: Emissions per second: 1386560 723s # Executing: glib/performance.test 723s emit-unhandled-generic-empty: Emissions per second: 10404179 724s emit-unhandled-args: Emissions per second: 1234908 726s emit-handled: Emissions per second: 905915 727s emit-handled-empty: Emissions per second: 914907 728s # Executing: glib/performance.test 729s emit-handled-generic: Emissions per second: 919500 730s emit-handled-generic-empty: Emissions per second: 1365780 731s emit-handled-args: Emissions per second: 919833 733s notify-unhandled: Notify (unhandled) per second: 9263310 733s # Executing: glib/performance.test 734s notify-by-pspec-unhandled: Notify (unhandled) per second: 44950602 735s notify-handled: Notify per second: 522707 737s notify-by-pspec-handled: Notify per second: 556812 738s # Executing: glib/performance.test 738s property-set: Property set per second: 6344732 740s property-set-signaled: Property set per second: 1046007 741s property-get: Property get per second: 6839053 743s refcount: Million refs+unref per second: 6.25 743s # Executing: glib/performance.test 744s refcount-1: Million refs+unref per second: 14.20 746s refcount-toggle: Million refs+unref per second: 8.75 746s ok - glib/performance.test 746s # Running test: glib/thread-pool.test 746s TAP version 14 746s # random seed: R02S913f85bf61227f7882c3eadf8a5e1c8a 746s 1..5 746s # Start of thread_pool tests 746s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 746s ok 1 /thread_pool/shared 746s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 746s ok 2 /thread_pool/exclusive 746s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 746s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 746s ok 3 /thread_pool/create_shared_after_exclusive 746s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 746s ok 4 /thread_pool/create_full 746s ok - glib/thread-pool.test 746s # Running test: glib/tls-bindings.test 746s ok - glib/tls-bindings.test 746s # Running test: glib/live-g-file.test 746s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 746s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 746s ok 5 /thread_pool/create_exclusive_after_shared 746s # End of thread_pool tests 746s TAP version 14 746s # random seed: R02S1c97a0cca37cc9eb7baeaaec79ea6fd0 746s 1..2 746s # Start of tls-connection tests 746s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 746s ok 1 /tls-connection/get-tls-channel-binding 746s ok 2 /tls-connection/get-dtls-channel-binding 746s # End of tls-connection tests 746s TAP version 14 746s # random seed: R02Sc71fc6a3dc3ec7a8278a5bd51444b80d 746s 1..13 746s # Start of live-g-file tests 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_WW0252/live-g-file/prep_clean_structure/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/prep_clean_structure/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_WW0252/live-g-file/prep_clean_structure/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_WW0252/live-g-file/prep_clean_structure/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_WW0252/live-g-file/prep_clean_structure/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_WW0252/live-g-file/prep_clean_structure/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/prep_clean_structure/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_WW0252/live-g-file/prep_clean_structure/.dirs/runtime 746s # Cleaning target testing structure in '/tmp/test_live-g-file_WW0252/testdir_live-g-file'... 746s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 746s ok 1 /live-g-file/prep_clean_structure 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_WW0252/live-g-file/create_structure/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/create_structure/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_WW0252/live-g-file/create_structure/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_WW0252/live-g-file/create_structure/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_WW0252/live-g-file/create_structure/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_WW0252/live-g-file/create_structure/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/create_structure/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_WW0252/live-g-file/create_structure/.dirs/runtime 746s # 746s # Going to create testing structure in '/tmp/test_live-g-file_WW0252/testdir_live-g-file'... 746s # Creating directory 'dir1'... 746s # Creating directory 'dir1/subdir'... 746s # Creating directory 'dir2'... 746s # Creating directory 'dir-target'... 746s # Creating directory 'dir_no-access'... 746s # Creating directory 'dir_no-write'... 746s # Creating file 'target-file'... 746s # Creating file 'normal_file'... 746s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 746s # Creating file 'executable_file'... 746s # Creating file 'private_file'... 746s # Creating file 'normal_file2'... 746s # Creating file 'readonly_file'... 746s # Creating file 'UTF_pr?i?lis? z'... 746s # Creating directory 'dir_pr?i?lis? z'... 746s # Creating symlink 'lost_symlink' --> 'nowhere'... 746s # Creating directory 'dir_hidden'... 746s # Creating file 'dir_hidden/.a-hidden-file'... 746s # Creating file 'dir_hidden/file-in-.hidden1'... 746s # Creating file 'dir_hidden/file-in-.hidden2'... 746s # Creating pattern file... 746s # done. 746s ok 2 /live-g-file/create_structure 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_initial_structure/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_initial_structure/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_WW0252/live-g-file/test_initial_structure/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_initial_structure/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_WW0252/live-g-file/test_initial_structure/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_initial_structure/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_initial_structure/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_WW0252/live-g-file/test_initial_structure/.dirs/runtime 746s # Testing sample structure in '/tmp/test_live-g-file_WW0252/testdir_live-g-file'... 746s # Testing file 'dir1'... 746s # Testing file 'dir1/subdir'... 746s # Testing file 'dir2'... 746s # Testing file 'dir-target'... 746s # Testing file 'dir_no-access'... 746s # Testing file 'dir_no-write'... 746s # Testing file 'target-file'... 746s # Testing file 'normal_file'... 746s # Testing file 'normal_file-symlink'... 746s # Testing file 'executable_file'... 746s # Testing file 'private_file'... 746s # Testing file 'normal_file2'... 746s # Testing file 'readonly_file'... 746s # Testing file 'UTF_pr?i?lis? z'... 746s # Testing file 'dir_pr?i?lis? z'... 746s # Testing file 'lost_symlink'... 746s # Testing file 'dir_hidden'... 746s # Testing file 'dir_hidden/.a-hidden-file'... 746s # Testing file 'dir_hidden/file-in-.hidden1'... 746s # Testing file 'dir_hidden/file-in-.hidden2'... 746s # Testing pattern file... 746s # read 65536 bytes, total = 65536 of 65536. 746s ok 3 /live-g-file/test_initial_structure 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_traverse_structure/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_traverse_structure/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_WW0252/live-g-file/test_traverse_structure/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_traverse_structure/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_WW0252/live-g-file/test_traverse_structure/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_traverse_structure/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_traverse_structure/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_WW0252/live-g-file/test_traverse_structure/.dirs/runtime 746s # Traversing through the sample structure in '/tmp/test_live-g-file_WW0252/testdir_live-g-file'... 746s # Found file dir1, relative to root: dir1 746s # Found file subdir, relative to root: dir1/subdir 746s # Found file dir2, relative to root: dir2 746s # Found file dir-target, relative to root: dir-target 746s # Found file dir_no-access, relative to root: dir_no-access 746s # Found file dir_no-write, relative to root: dir_no-write 746s # Found file target-file, relative to root: target-file 746s # Found file normal_file, relative to root: normal_file 746s # Found file normal_file-symlink, relative to root: normal_file-symlink 746s # Found file executable_file, relative to root: executable_file 746s # Found file private_file, relative to root: private_file 746s # Found file normal_file2, relative to root: normal_file2 746s # Found file readonly_file, relative to root: readonly_file 746s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 746s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 746s # Found file lost_symlink, relative to root: lost_symlink 746s # Found file dir_hidden, relative to root: dir_hidden 746s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 746s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 746s # Found file .hidden, relative to root: dir_hidden/.hidden 746s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 746s # Found file pattern_file, relative to root: pattern_file 746s ok 4 /live-g-file/test_traverse_structure 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_enumerate/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_enumerate/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_WW0252/live-g-file/test_enumerate/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_enumerate/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_WW0252/live-g-file/test_enumerate/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_enumerate/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_enumerate/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_WW0252/live-g-file/test_enumerate/.dirs/runtime 746s # Test enumerate '/tmp/test_live-g-file_WW0252/testdir_live-g-file'... 746s # Testing file 'dir_no-access' 746s # Testing file 'normal_file' 746s # Testing file 'normal_file-symlink' 746s # Testing file 'not_exists' 746s # Testing file 'not_exists' 746s # Testing file 'not_exists2' 746s # Testing file 'not_exists3' 746s # Testing file 'not_exists4' 746s # Testing file 'dir_no-execute/file' 746s ok 5 /live-g-file/test_enumerate 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_open/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_open/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_WW0252/live-g-file/test_open/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_open/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_WW0252/live-g-file/test_open/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_open/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_open/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_WW0252/live-g-file/test_open/.dirs/runtime 746s # test_open: 'dir1' 746s # test_open: 'dir_no-access' 746s # test_open: 'target-file' 746s # test_open: 'normal_file-symlink' 746s # test_open: 'executable_file' 746s # test_open: 'private_file' 746s # test_open: 'readonly_file' 746s # test_open: 'UTF_pr?i?lis? z' 746s # test_open: 'pattern_file' 746s # test_open: 'not_exists' 746s # test_open: 'dir_no-execute/file' 746s # test_open: 'lost_symlink' 746s ok 6 /live-g-file/test_open 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_create/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_create/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_WW0252/live-g-file/test_create/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_create/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_WW0252/live-g-file/test_create/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_create/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_create/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_WW0252/live-g-file/test_create/.dirs/runtime 746s # test_create: 'dir1' 746s # error code 3 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir1?: Is a directory 746s # test_create: 'dir1/subdir' 746s # error code 3 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir1/subdir?: Is a directory 746s # test_create: 'dir2' 746s # error code 2 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir2?: File exists 746s # test_create: 'normal_file' 746s # error code 2 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/normal_file?: File exists 746s # test_create: 'executable_file' 746s # test_create: 'private_file' 746s # test_create: 'normal_file2' 746s # test_create: 'UTF_pr?i?lis? z' 746s # error code 2 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 746s # test_create: 'dir_pr?i?lis? z' 746s # error code 2 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_pr?i?lis? z?: File exists 746s # test_create: 'pattern_file' 746s # test_create: 'not_exists2' 746s # test_create: 'not_exists3' 746s # test_create: 'not_exists4' 746s ok 7 /live-g-file/test_create 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_copy_move/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_copy_move/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_WW0252/live-g-file/test_copy_move/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_copy_move/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_WW0252/live-g-file/test_copy_move/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_copy_move/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_copy_move/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_WW0252/live-g-file/test_copy_move/.dirs/runtime 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'dir1/subdir' --> 'dir-target' 746s # res = 0, error code 25 = Can?t recursively copy directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'dir1/subdir' --> '.' 746s # res = 0, error code 2 = Target file exists 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'dir1/subdir' --> 'target-file' 746s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'dir1/subdir' --> 'not_exists' 746s # res = 0, error code 25 = Can?t recursively copy directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 746s # res = 0, error code 25 = Can?t recursively copy directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 746s # res = 0, error code 25 = Can?t recursively copy directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'dir2' --> 'dir-target' 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'dir-target' --> 'dir-target' 746s # res = 0, error code 25 = Can?t recursively copy directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'dir-target' --> '.' 746s # res = 0, error code 2 = Target file exists 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'dir-target' --> 'target-file' 746s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/target-file/dir-target?: Not a directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'dir-target' --> 'not_exists' 746s # res = 0, error code 25 = Can?t recursively copy directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'dir-target' --> 'dir_no-access' 746s # res = 0, error code 25 = Can?t recursively copy directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'dir-target' --> 'dir_no-write' 746s # res = 0, error code 25 = Can?t recursively copy directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'target-file' --> 'dir-target' 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'target-file' --> '.' 746s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/target-file?: File exists 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'target-file' --> 'target-file' 746s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/target-file/target-file?: Not a directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'target-file' --> 'not_exists' 746s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists/target-file?: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'target-file' --> 'dir_no-access' 746s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-access/target-file?: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'target-file' --> 'dir_no-write' 746s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-write/target-file?: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'normal_file-symlink' --> '.' 746s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_WW0252/testdir_live-g-file/normal_file-symlink: File exists 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'normal_file-symlink' --> 'target-file' 746s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_WW0252/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 746s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 746s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 746s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'executable_file' --> 'dir-target' 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'executable_file' --> 'dir-target' 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'executable_file' --> '.' 746s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/executable_file?: File exists 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'executable_file' --> 'target-file' 746s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/target-file/executable_file?: Not a directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'executable_file' --> 'not_exists' 746s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists/executable_file?: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'executable_file' --> 'dir_no-access' 746s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'executable_file' --> 'dir_no-write' 746s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'private_file' --> 'dir-target' 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'private_file' --> 'dir-target' 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'private_file' --> '.' 746s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/private_file?: File exists 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'private_file' --> 'target-file' 746s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/target-file/private_file?: Not a directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'private_file' --> 'not_exists' 746s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists/private_file?: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'private_file' --> 'dir_no-access' 746s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-access/private_file?: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'private_file' --> 'dir_no-write' 746s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-write/private_file?: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'normal_file2' --> 'dir-target' 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'normal_file2' --> 'dir-target' 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'normal_file2' --> '.' 746s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/normal_file2?: File exists 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'normal_file2' --> 'target-file' 746s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/target-file/normal_file2?: Not a directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'normal_file2' --> 'not_exists' 746s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'normal_file2' --> 'dir_no-access' 746s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'normal_file2' --> 'dir_no-write' 746s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 746s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 746s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 746s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 746s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 746s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'pattern_file' --> 'dir-target' 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'pattern_file' --> '.' 746s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/pattern_file?: File exists 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'pattern_file' --> 'target-file' 746s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/target-file/pattern_file?: Not a directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'pattern_file' --> 'not_exists' 746s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'pattern_file' --> 'dir_no-access' 746s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'pattern_file' --> 'dir_no-write' 746s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'not_exists' --> 'dir-target' 746s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists?: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'not_exists' --> '.' 746s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists?: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'not_exists' --> 'target-file' 746s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists?: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'not_exists' --> 'not_exists' 746s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists?: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'not_exists' --> 'dir_no-access' 746s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists?: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'not_exists' --> 'dir_no-write' 746s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists?: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'not_exists' --> 'dir-target' 746s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'lost_symlink' --> 'dir-target' 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'lost_symlink' --> '.' 746s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_WW0252/testdir_live-g-file/lost_symlink: File exists 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'lost_symlink' --> 'target-file' 746s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_WW0252/testdir_live-g-file/target-file/lost_symlink: Not a directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'lost_symlink' --> 'not_exists' 746s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 746s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 746s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 746s ok 8 /live-g-file/test_copy_move 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_delete/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_delete/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_WW0252/live-g-file/test_delete/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_delete/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_WW0252/live-g-file/test_delete/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_delete/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_delete/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_WW0252/live-g-file/test_delete/.dirs/runtime 746s # Deleting dir1, path = /tmp/test_live-g-file_WW0252/testdir_live-g-file/dir1 746s # result = 0, error = Error removing file /tmp/test_live-g-file_WW0252/testdir_live-g-file/dir1: Directory not empty 746s # Deleting dir2, path = /tmp/test_live-g-file_WW0252/testdir_live-g-file/dir2 746s # result = 0, error = Error removing file /tmp/test_live-g-file_WW0252/testdir_live-g-file/dir2: No such file or directory 746s # Deleting executable_file, path = /tmp/test_live-g-file_WW0252/testdir_live-g-file/executable_file 746s # result = 0, error = Error trashing file /tmp/test_live-g-file_WW0252/testdir_live-g-file/executable_file: No such file or directory 746s # Deleting readonly_file, path = /tmp/test_live-g-file_WW0252/testdir_live-g-file/readonly_file 746s # Deleting dir_pr?i?lis? z, path = /tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_pr?i?lis? z 746s # Deleting not_exists, path = /tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists 746s # result = 0, error = Error removing file /tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists: No such file or directory 746s # Deleting not_exists, path = /tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists 746s # result = 0, error = Error trashing file /tmp/test_live-g-file_WW0252/testdir_live-g-file/not_exists: No such file or directory 746s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-execute/file 746s # result = 0, error = Error removing file /tmp/test_live-g-file_WW0252/testdir_live-g-file/dir_no-execute/file: No such file or directory 746s # Deleting lost_symlink, path = /tmp/test_live-g-file_WW0252/testdir_live-g-file/lost_symlink 746s ok 9 /live-g-file/test_delete 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_make_directory_with_parents/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_make_directory_with_parents/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_WW0252/live-g-file/test_make_directory_with_parents/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_make_directory_with_parents/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_WW0252/live-g-file/test_make_directory_with_parents/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_make_directory_with_parents/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_make_directory_with_parents/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_WW0252/live-g-file/test_make_directory_with_parents/.dirs/runtime 746s # We do not have CAP_DAC_OVERRIDE or equivalent 746s ok 10 /live-g-file/test_make_directory_with_parents 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_WW0252/live-g-file/final_clean/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/final_clean/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_WW0252/live-g-file/final_clean/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_WW0252/live-g-file/final_clean/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_WW0252/live-g-file/final_clean/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_WW0252/live-g-file/final_clean/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/final_clean/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_WW0252/live-g-file/final_clean/.dirs/runtime 746s # Cleaning target testing structure in '/tmp/test_live-g-file_WW0252/testdir_live-g-file'... 746s # deleting 'dir1' 746s # deleting 'subdir' 746s # deleting 'dir-target' 746s # deleting 'dir2' 746s # deleting 'target-file' 746s # deleting 'normal_file-symlink' 746s # deleting 'pattern_file' 746s # deleting 'executable_file' 746s # deleting 'private_file' 746s # deleting 'normal_file2' 746s # deleting 'UTF_pr?i?lis? z' 746s # deleting 'lost_symlink' 746s # deleting 'dir_no-access' 746s # deleting 'dir_no-write' 746s # deleting 'target-file' 746s # deleting 'normal_file' 746s # deleting 'normal_file-symlink' 746s # deleting 'executable_file~' 746s # deleting 'private_file' 746s # deleting 'normal_file2~' 746s # deleting 'a' 746s # deleting 'UTF_pr?i?lis? z' 746s # deleting 'dir_hidden' 746s # deleting '.a-hidden-file' 746s # deleting 'file-in-.hidden1' 746s # deleting '.hidden' 746s # deleting 'file-in-.hidden2' 746s # deleting 'pattern_file' 746s # deleting 'executable_file' 746s ok - glib/live-g-file.test 746s # Running test: glib/references.test 746s ok - glib/references.test 746s # Running test: glib/credentials.test 746s ok - glib/credentials.test 746s # Running test: glib/objects-refcount1.test 746s # deleting 'normal_file2' 746s # deleting 'not_exists2' 746s # deleting 'not_exists3' 746s # deleting 'not_exists4' 746s ok 11 /live-g-file/final_clean 746s # Start of test_unix_is_mountpoint tests 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 746s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_WW0252/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 746s ok 13 /live-g-file/test_unix_is_mountpoint/proc 746s # End of test_unix_is_mountpoint tests 746s # End of live-g-file tests 746s TAP version 14 746s # random seed: R02Sb1503af589455e79d29d3c13ba53da1b 746s 1..1 746s # Start of gobject tests 746s ok 1 /gobject/references 746s # End of gobject tests 746s TAP version 14 746s # random seed: R02Se829ef6a4e49e5e7f0e1548191e65f28 746s 1..1 746s # Start of credentials tests 746s # GCredentials:linux-ucred:pid=3794,uid=1000,gid=1000 746s # GCredentials:linux-ucred:pid=3794,uid=0,gid=1000 746s ok 1 /credentials/basic 746s # End of credentials tests 746s TAP version 14 746s # random seed: R02Sfe30d3b246f4d543b0fe79ebcf142cf0 746s 1..1 746s # Start of gobject tests 746s # Start of refcount tests 746s # init 0x12e5cbd15d30 746s # 746s # init 0x12e5cbd0e5a0 746s # 748s # Executing: glib/objects-refcount1.test 751s # dispose 0x12e5cbd15d30! 751s # 751s # dispose 0x12e5cbd0e5a0! 751s # 751s ok 1 /gobject/refcount/object-basics 751s # slow test /gobject/refcount/object-basics executed in 5.00 secs 751s # End of refcount tests 751s # End of gobject tests 751s ok - glib/objects-refcount1.test 751s # Running test: glib/closure.test 751s TAP version 14 751s # random seed: R02S882cfbaa8df843a5ff32646f69194ada 751s 1..6 751s # Start of closure tests 751s ok 1 /closure/idle 753s ok 2 /closure/timeout 753s ok 3 /closure/iochannel 753s ok - glib/closure.test 753s # Running test: glib/defaultvalue.test 753s ok - glib/defaultvalue.test 753s # Running test: glib/unicode.test 753s ok - glib/unicode.test 753s # Running test: glib/cond.test 753s # Executing: glib/cond.test 753s ok 4 /closure/child 753s ok 5 /closure/fd 753s ok 6 /closure/signal 753s # End of closure tests 753s TAP version 14 753s # random seed: R02S2a02405efe5a9c95ec94d214a13c0fd1 753s 1..84 753s # Start of Default Values tests 753s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 753s ok 2 /Default Values/GAppLaunchContext 753s ok 3 /Default Values/GApplicationCommandLine 753s # skipping GApplication:is-remote 753s ok 4 /Default Values/GApplication 753s ok 5 /Default Values/GBinding # SKIP mandatory construct params 753s ok 6 /Default Values/GBindingGroup 753s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 753s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 753s ok 9 /Default Values/GBytesIcon 753s ok 10 /Default Values/GCancellable 753s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 753s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 753s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 753s ok 14 /Default Values/GCredentials 753s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 753s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 753s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 753s ok 18 /Default Values/GDBusAuthObserver 753s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 753s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 753s ok 21 /Default Values/GDBusMessage 753s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 753s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 753s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 753s ok 25 /Default Values/GDBusObjectProxy 753s ok 26 /Default Values/GDBusObjectSkeleton 753s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 753s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 753s ok 29 /Default Values/GEmblem 753s ok 30 /Default Values/GEmblemedIcon 753s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 753s ok 32 /Default Values/GFileInfo 753s ok 33 /Default Values/GFileInputStream 753s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 753s ok 35 /Default Values/GFileOutputStream 753s ok 36 /Default Values/GFilenameCompleter 753s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 753s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 753s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 753s ok 40 /Default Values/GInitiallyUnowned 753s ok 41 /Default Values/GIOModule 753s ok 42 /Default Values/GListStore 753s ok 43 /Default Values/GMemoryInputStream 753s ok 44 /Default Values/GMemoryOutputStream 753s ok 45 /Default Values/GMenu 753s ok 46 /Default Values/GMenuItem 753s ok 47 /Default Values/GMountOperation 753s ok 48 /Default Values/GNativeSocketAddress 753s ok 49 /Default Values/GNetworkAddress 753s ok 50 /Default Values/GNetworkService 753s ok 51 /Default Values/GNotification 753s ok 52 /Default Values/GObject 753s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 753s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 753s # skipping GProxyAddressEnumerator:proxy-resolver 753s ok 54 /Default Values/GProxyAddressEnumerator 753s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 753s ok 56 /Default Values/GSettings # SKIP mandatory construct params 753s ok 57 /Default Values/GSignalGroup 753s ok 58 /Default Values/GSimpleAction 753s ok 59 /Default Values/GSimpleActionGroup 753s ok 60 /Default Values/GSimpleAsyncResult 753s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 753s ok 62 /Default Values/GSimplePermission 753s ok 63 /Default Values/GSimpleProxyResolver 753s # skipping GSocketClient:proxy-resolver 753s ok 64 /Default Values/GSocketClient 753s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 753s ok 66 /Default Values/GSocket # SKIP initialization failed 753s ok 67 /Default Values/GSocketListener 753s ok 68 /Default Values/GSocketService 753s ok 69 /Default Values/GSubprocess # SKIP initialization failed 753s ok 70 /Default Values/GSubprocessLauncher 753s # GLib-GIO-DEBUG: GTask 0x1cbe97daaf30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 753s ok 71 /Default Values/GTask 753s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 753s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 753s ok 74 /Default Values/GTestDBus 753s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 753s ok 76 /Default Values/GThreadedSocketService 753s ok 77 /Default Values/GTlsInteraction 753s ok 78 /Default Values/GTlsPassword 753s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 753s ok 80 /Default Values/GUnixFDList 753s ok 81 /Default Values/GVfs 753s ok 82 /Default Values/GVolumeMonitor 753s ok 83 /Default Values/GZlibCompressor 753s ok 84 /Default Values/GZlibDecompressor 753s # End of Default Values tests 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s TAP version 14 753s # random seed: R02Sd9a3af46e42b79fe62d7d66eefce71a1 753s 1..39 753s # Start of unicode tests 753s ok 1 /unicode/alnum 753s ok 2 /unicode/alpha 753s ok 3 /unicode/break-type 753s ok 4 /unicode/canonical-decomposition 753s ok 5 /unicode/casefold 753s # Cannot set locale to lt_LT, skipping 753s # Cannot set locale to lt_LT, skipping 753s # Cannot set locale to lt_LT, skipping 753s # Cannot set locale to lt_LT, skipping 753s # Cannot set locale to lt_LT, skipping 753s # Cannot set locale to lt_LT, skipping 753s # Cannot set locale to lt_LT, skipping 753s # Cannot set locale to lt_LT, skipping 753s # Cannot set locale to lt_LT, skipping 753s # Cannot set locale to lt_LT, skipping 753s # Cannot set locale to lt_LT, skipping 753s ok 6 /unicode/casemap_and_casefold 753s ok 7 /unicode/cases 753s ok 8 /unicode/character-type 753s ok 9 /unicode/cntrl 753s ok 10 /unicode/combining-class 753s # Composing U+000041 and U+000042; expecting U+000000 753s # Composing U+000041 and U+000000; expecting U+000000 753s # Composing U+000066 and U+000069; expecting U+000000 753s # Composing U+000308 and U+000301; expecting U+000000 753s # Composing U+000f71 and U+000f72; expecting U+000000 753s # Composing U+00212b and U+000000; expecting U+000000 753s # Composing U+0000c5 and U+000000; expecting U+000000 753s # Composing U+002126 and U+000000; expecting U+000000 753s # Composing U+0003a9 and U+000000; expecting U+000000 753s # Composing U+000041 and U+00030a; expecting U+0000c5 753s # Composing U+00006f and U+000302; expecting U+0000f4 753s # Composing U+001e63 and U+000307; expecting U+001e69 753s # Composing U+000073 and U+000323; expecting U+001e63 753s # Composing U+000064 and U+000307; expecting U+001e0b 753s # Composing U+000064 and U+000323; expecting U+001e0d 753s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 753s # Composing U+001111 and U+001171; expecting U+00d4cc 753s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 753s # Composing U+00110e and U+001173; expecting U+00ce20 753s # Composing U+001100 and U+001160; expecting U+000000 753s # Composing U+001100 and U+001177; expecting U+000000 753s # Composing U+00abff and U+0011b6; expecting U+000000 753s # Composing U+00d7a5 and U+0011b6; expecting U+000000 753s # Composing U+00ac01 and U+0011b6; expecting U+000000 753s # Composing U+00d4cc and U+0011a6; expecting U+000000 753s # Composing U+00d4cc and U+0011c4; expecting U+000000 753s # Composing U+01611e and U+01611e; expecting U+016121 753s # Composing U+01611e and U+01611f; expecting U+016123 753s # Composing U+0000f6 and U+000304; expecting U+00022b 753s # Composing U+000b47 and U+000b57; expecting U+000b4c 753s # Composing U+0000a0 and U+000b57; expecting U+000000 753s # Composing U+016e00 and U+00030a; expecting U+000000 753s # Composing U+00212b and U+016e00; expecting U+000000 753s # Composing U+001e63 and U+000306; expecting U+000000 753s # Composing U+001e63 and U+000304; expecting U+000000 753s # Composing U+001e63 and U+000b57; expecting U+000000 753s # Composing U+001e63 and U+000000; expecting U+000000 753s # Composing U+001e63 and U+0113c2; expecting U+000000 753s # Composing U+001f01 and U+0113c2; expecting U+000000 753s # Composing U+00006e and U+000302; expecting U+000000 753s # Composing U+001e63 and U+01611f; expecting U+000000 753s # Composing U+01138e and U+0113b8; expecting U+000000 753s # Composing U+01611e and U+000000; expecting U+000000 753s # Composing U+000000 and U+01611f; expecting U+000000 753s # Composing U+011390 and U+0113c2; expecting U+000000 753s ok 11 /unicode/compose 753s ok 12 /unicode/decompose 753s ok 13 /unicode/decompose-tail 753s ok 14 /unicode/defined 753s ok 15 /unicode/digit 753s ok 16 /unicode/digit-value 753s # Fully decomposing U+000041; expecting 1 codepoints 753s # Fully decomposing U+00fb01; expecting 1 codepoints 753s # Fully decomposing U+00212b; expecting 2 codepoints 753s # Fully decomposing U+002126; expecting 1 codepoints 753s # Fully decomposing U+000344; expecting 2 codepoints 753s # Fully decomposing U+000f73; expecting 2 codepoints 753s # Fully decomposing U+0000c5; expecting 2 codepoints 753s # Fully decomposing U+0000f4; expecting 2 codepoints 753s # Fully decomposing U+001e69; expecting 3 codepoints 753s # Fully decomposing U+001e63; expecting 2 codepoints 753s # Fully decomposing U+001e0b; expecting 2 codepoints 753s # Fully decomposing U+001e0d; expecting 2 codepoints 753s # Fully decomposing U+00d4db; expecting 3 codepoints 753s # Fully decomposing U+00d4cc; expecting 2 codepoints 753s # Fully decomposing U+00ce31; expecting 3 codepoints 753s # Fully decomposing U+00ce20; expecting 2 codepoints 753s ok 17 /unicode/fully-decompose-canonical 753s ok 18 /unicode/fully-decompose-len 753s ok 19 /unicode/normalization 753s ok 20 /unicode/graph 753s # Testing script Zyyy (code 1517910393) 753s # Testing script Zinh (code 1516858984) 753s # Testing script Zmth (code 1517122664) 753s # Testing script Arab (code 1098015074) 753s # Testing script Armn (code 1098018158) 753s # Testing script Beng (code 1113943655) 753s # Testing script Bopo (code 1114599535) 753s # Testing script Cher (code 1130915186) 753s # Testing script Copt (code 1131376756) 753s # Testing script Cyrl (code 1132032620) 753s # Testing script Dsrt (code 1148416628) 753s # Testing script Deva (code 1147500129) 753s # Testing script Ethi (code 1165256809) 753s # Testing script Geor (code 1197830002) 753s # Testing script Goth (code 1198486632) 753s # Testing script Grek (code 1198679403) 753s # Testing script Gujr (code 1198877298) 753s # Testing script Guru (code 1198879349) 753s # Testing script Hani (code 1214344809) 753s # Testing script Hang (code 1214344807) 753s # Testing script Hebr (code 1214603890) 753s # Testing script Hira (code 1214870113) 753s # Testing script Knda (code 1265525857) 753s # Testing script Kana (code 1264676449) 753s # Testing script Khmr (code 1265134962) 753s # Testing script Laoo (code 1281453935) 753s # Testing script Latn (code 1281455214) 753s # Testing script Mlym (code 1298954605) 753s # Testing script Mong (code 1299148391) 753s # Testing script Mymr (code 1299803506) 753s # Testing script Ogam (code 1332175213) 753s # Testing script Ital (code 1232363884) 753s # Testing script Orya (code 1332902241) 753s # Testing script Runr (code 1383427698) 753s # Testing script Sinh (code 1399418472) 753s # Testing script Syrc (code 1400468067) 753s # Testing script Taml (code 1415671148) 753s # Testing script Telu (code 1415933045) 753s # Testing script Thaa (code 1416126817) 753s # Testing script Thai (code 1416126825) 753s # Testing script Tibt (code 1416192628) 753s # Testing script Cans (code 1130458739) 753s # Testing script Yiii (code 1500080489) 753s # Testing script Tglg (code 1416064103) 753s # Testing script Hano (code 1214344815) 753s # Testing script Buhd (code 1114990692) 753s # Testing script Tagb (code 1415669602) 753s # Testing script Brai (code 1114792297) 753s # Testing script Cprt (code 1131442804) 753s # Testing script Limb (code 1281977698) 753s # Testing script Osma (code 1332964705) 753s # Testing script Shaw (code 1399349623) 753s # Testing script Linb (code 1281977954) 753s # Testing script Tale (code 1415670885) 753s # Testing script Ugar (code 1432838514) 753s # Testing script Talu (code 1415670901) 753s # Testing script Bugi (code 1114990441) 753s # Testing script Glag (code 1198285159) 753s # Testing script Tfng (code 1415999079) 753s # Testing script Sylo (code 1400466543) 753s # Testing script Xpeo (code 1483761007) 753s # Testing script Khar (code 1265131890) 753s # Testing script Zzzz (code 1517976186) 753s # Testing script Bali (code 1113681001) 753s # Testing script Xsux (code 1483961720) 753s # Testing script Phnx (code 1349021304) 753s # Testing script Phag (code 1349017959) 753s # Testing script Nkoo (code 1315663727) 753s # Testing script Kali (code 1264675945) 753s # Testing script Lepc (code 1281716323) 753s # Testing script Rjng (code 1382706791) 753s # Testing script Sund (code 1400204900) 753s # Testing script Saur (code 1398895986) 753s # Testing script Cham (code 1130914157) 753s # Testing script Olck (code 1332503403) 753s # Testing script Vaii (code 1449224553) 753s # Testing script Cari (code 1130459753) 753s # Testing script Lyci (code 1283023721) 753s # Testing script Lydi (code 1283023977) 753s # Testing script Avst (code 1098281844) 753s # Testing script Bamu (code 1113681269) 753s # Testing script Egyp (code 1164409200) 753s # Testing script Armi (code 1098018153) 753s # Testing script Phli (code 1349020777) 753s # Testing script Prti (code 1349678185) 753s # Testing script Java (code 1247901281) 753s # Testing script Kthi (code 1265920105) 753s # Testing script Lisu (code 1281979253) 753s # Testing script Mtei (code 1299473769) 753s # Testing script Sarb (code 1398895202) 753s # Testing script Orkh (code 1332898664) 753s # Testing script Samr (code 1398893938) 753s # Testing script Lana (code 1281453665) 753s # Testing script Tavt (code 1415673460) 753s # Testing script Batk (code 1113683051) 753s # Testing script Brah (code 1114792296) 753s # Testing script Mand (code 1298230884) 753s # Testing script Cakm (code 1130457965) 753s # Testing script Merc (code 1298494051) 753s # Testing script Mero (code 1298494063) 753s # Testing script Plrd (code 1349284452) 753s # Testing script Shrd (code 1399353956) 753s # Testing script Sora (code 1399812705) 753s # Testing script Takr (code 1415670642) 753s # Testing script Bass (code 1113682803) 753s # Testing script Aghb (code 1097295970) 753s # Testing script Dupl (code 1148547180) 753s # Testing script Elba (code 1164730977) 753s # Testing script Gran (code 1198678382) 753s # Testing script Khoj (code 1265135466) 753s # Testing script Sind (code 1399418468) 753s # Testing script Lina (code 1281977953) 753s # Testing script Mahj (code 1298229354) 753s # Testing script Mani (code 1298230889) 753s # Testing script Mend (code 1298493028) 753s # Testing script Modi (code 1299145833) 753s # Testing script Mroo (code 1299345263) 753s # Testing script Nbat (code 1315070324) 753s # Testing script Narb (code 1315009122) 753s # Testing script Perm (code 1348825709) 753s # Testing script Hmng (code 1215131239) 753s # Testing script Palm (code 1348562029) 753s # Testing script Pauc (code 1348564323) 753s # Testing script Phlp (code 1349020784) 753s # Testing script Sidd (code 1399415908) 753s # Testing script Tirh (code 1416196712) 753s # Testing script Wara (code 1466004065) 753s # Testing script Ahom (code 1097363309) 753s # Testing script Hluw (code 1215067511) 753s # Testing script Hatr (code 1214346354) 753s # Testing script Mult (code 1299541108) 753s # Testing script Hung (code 1215655527) 753s # Testing script Sgnw (code 1399287415) 753s # Testing script Adlm (code 1097100397) 753s # Testing script Bhks (code 1114139507) 753s # Testing script Marc (code 1298231907) 753s # Testing script Newa (code 1315272545) 753s # Testing script Osge (code 1332963173) 753s # Testing script Tang (code 1415671399) 753s # Testing script Gonm (code 1198485101) 753s # Testing script Nshu (code 1316186229) 753s # Testing script Soyo (code 1399814511) 753s # Testing script Zanb (code 1516334690) 753s # Testing script Dogr (code 1148151666) 753s # Testing script Gong (code 1198485095) 753s # Testing script Rohg (code 1383032935) 753s # Testing script Maka (code 1298230113) 753s # Testing script Medf (code 1298490470) 753s # Testing script Sogo (code 1399809903) 753s # Testing script Sogd (code 1399809892) 753s # Testing script Elym (code 1164736877) 753s # Testing script Nand (code 1315008100) 753s # Testing script Hmnp (code 1215131248) 753s # Testing script Wcho (code 1466132591) 753s # Testing script Chrs (code 1130918515) 753s # Testing script Diak (code 1147756907) 753s # Testing script Kits (code 1265202291) 753s # Testing script Yezi (code 1499822697) 753s # Testing script Cpmn (code 1131441518) 753s # Testing script Ougr (code 1333094258) 753s # Testing script Tnsa (code 1416524641) 753s # Testing script Toto (code 1416590447) 753s # Testing script Vith (code 1449751656) 753s # Testing script Kawi (code 1264678761) 753s # Testing script Nagm (code 1315006317) 753s # Testing script Todr (code 1416586354) 753s # Testing script Gara (code 1197568609) 753s # Testing script Tutg (code 1416983655) 753s # Testing script Sunu (code 1400204917) 753s # Testing script Gukh (code 1198877544) 753s # Testing script Krai (code 1265787241) 753s # Testing script Onao (code 1332633967) 753s ok 21 /unicode/iso15924 753s ok 22 /unicode/lower 753s ok 23 /unicode/mark 753s ok 24 /unicode/mirror 753s ok 25 /unicode/print 753s ok 26 /unicode/punctuation 753s ok 27 /unicode/script 753s ok 28 /unicode/space 753s ok 29 /unicode/strdown 753s ok 30 /unicode/strup 753s ok 31 /unicode/turkish-strupdown 753s ok 32 /unicode/title 753s ok 33 /unicode/upper 753s ok 34 /unicode/validate 753s ok 35 /unicode/wide 753s ok 36 /unicode/xdigit 753s ok 37 /unicode/xdigit-value 753s ok 38 /unicode/zero-width 753s ok 39 /unicode/normalize 753s # End of unicode tests 753s TAP version 14 753s # random seed: R02S2c8cda6c1dcc829f6dd0fb9f5c07b42b 753s 1..4 753s # Start of thread tests 753s ok 1 /thread/cond1 753s ok 2 /thread/cond2 753s # Start of cond tests 753s ok 3 /thread/cond/wait-until 753s # slow test /thread/cond/wait-until executed in 1.02 secs 753s # Start of wait-until tests 753s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 753s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 753s ok 4 /thread/cond/wait-until/contended-and-interrupted 753s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 753s # End of wait-until tests 753s # End of cond tests 753s # End of thread tests 753s ok - glib/cond.test 753s # Running test: glib/autoptr-girepository.test 753s TAP version 14 753s # random seed: R02Sd19cb6b180bea8b9b14d0191e194363f 753s 1..24 753s # Start of autoptr tests 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/repository/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/repository/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/repository/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/repository/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/repository/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/repository/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/repository/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/repository/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 1 /autoptr/repository 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/typelib/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/typelib/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/typelib/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/typelib/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/typelib/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/typelib/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/typelib/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/typelib/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 2 /autoptr/typelib 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/base-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/base-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/base-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/base-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/base-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/base-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/base-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/base-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 3 /autoptr/base-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/arg-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/arg-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/arg-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/arg-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/arg-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/arg-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/arg-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/arg-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 4 /autoptr/arg-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/callable-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/callable-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/callable-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/callable-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/callable-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/callable-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/callable-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/callable-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 5 /autoptr/callable-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/callback-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/callback-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/callback-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/callback-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/callback-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/callback-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/callback-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/callback-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 6 /autoptr/callback-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/constant-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/constant-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/constant-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/constant-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/constant-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/constant-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/constant-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/constant-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 7 /autoptr/constant-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/enum-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/enum-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/enum-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/enum-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/enum-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/enum-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/enum-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/enum-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 8 /autoptr/enum-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/field-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/field-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/field-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/field-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/field-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/field-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/field-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/field-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 9 /autoptr/field-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/flags-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/flags-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/flags-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/flags-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/flags-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/flags-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/flags-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/flags-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 10 /autoptr/flags-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/function-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/function-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/function-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/function-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/function-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/function-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/function-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/function-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 11 /autoptr/function-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/interface-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/interface-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/interface-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/interface-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/interface-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/interface-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/interface-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/interface-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 12 /autoptr/interface-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/object-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/object-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/object-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/object-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/object-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/object-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/object-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/object-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 13 /autoptr/object-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/property-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/property-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/property-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/property-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/property-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/property-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/property-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/property-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 14 /autoptr/property-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/registered-type-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/registered-type-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/registered-type-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/registered-type-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/registered-type-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/registered-type-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/registered-type-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/registered-type-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 15 /autoptr/registered-type-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/signal-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/signal-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/signal-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/signal-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/signal-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/signal-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/signal-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/signal-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 16 /autoptr/signal-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/struct-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/struct-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/struct-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/struct-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/struct-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/struct-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/struct-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/struct-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 17 /autoptr/struct-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/type-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/type-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/type-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/type-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/type-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/type-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/type-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/type-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 18 /autoptr/type-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/union-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/union-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/union-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/union-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/union-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/union-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/union-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/union-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 19 /autoptr/union-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/value-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/value-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/value-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/value-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/value-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/value-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/value-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/value-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 20 /autoptr/value-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/vfunc-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/vfunc-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/autoptr/vfunc-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/vfunc-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/autoptr/vfunc-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/vfunc-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/autoptr/vfunc-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/autoptr/vfunc-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 21 /autoptr/vfunc-info 753s # End of autoptr tests 753s # Start of auto tests 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/auto/arg-info/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/auto/arg-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/auto/arg-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/auto/arg-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/auto/arg-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/auto/arg-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/auto/arg-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/auto/arg-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 22 /auto/arg-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/auto/type-info/.dirs/home 753s ok - glib/autoptr-girepository.test 753s # Running test: glib/task.test 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/auto/type-info/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/auto/type-info/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/auto/type-info/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/auto/type-info/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/auto/type-info/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/auto/type-info/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/auto/type-info/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 23 /auto/type-info 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3DLU52/auto/function-invoker/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3DLU52/auto/function-invoker/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3DLU52/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_3DLU52/auto/function-invoker/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3DLU52/auto/function-invoker/.dirs/config 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3DLU52/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_3DLU52/auto/function-invoker/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3DLU52/auto/function-invoker/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3DLU52/auto/function-invoker/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3DLU52/auto/function-invoker/.dirs/runtime 753s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 753s ok 24 /auto/function-invoker 753s # End of auto tests 753s TAP version 14 753s # random seed: R02Sabc3cb99c6a659b8fc058e9b5ff0e42a 753s 1..36 753s # Start of gtask tests 753s ok 1 /gtask/basic 753s ok 2 /gtask/error 753s ok 3 /gtask/error-literal 753s ok 4 /gtask/error-literal-from-variable 753s ok 5 /gtask/return-from-same-iteration 753s ok 6 /gtask/return-from-toplevel 753s ok 7 /gtask/return-from-anon-thread 753s ok 8 /gtask/return-from-wrong-thread 753s ok 9 /gtask/no-callback 753s ok 10 /gtask/report-error 753s ok 11 /gtask/priority 753s ok 12 /gtask/name 753s ok 13 /gtask/static-name 753s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 753s ok 14 /gtask/asynchronous-cancellation 753s ok 15 /gtask/check-cancellable 753s ok 16 /gtask/return-if-cancelled 753s ok 17 /gtask/run-in-thread 753s ok 18 /gtask/run-in-thread-sync 753s ok 19 /gtask/run-in-thread-priority 754s ok 20 /gtask/run-in-thread-nested 754s ok 21 /gtask/run-in-thread-overflow 754s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 754s # GLib-GIO-DEBUG: GTask 0xa2276802af0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 754s # GLib-GIO-DEBUG: GTask 0xa2276801f20 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 754s ok 22 /gtask/return-on-cancel 754s # GLib-GIO-DEBUG: GTask 0xa2276802020 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 754s ok 23 /gtask/return-on-cancel-sync 754s # GLib-GIO-DEBUG: GTask 0xa22768023c0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 754s ok 24 /gtask/return-on-cancel-atomic 754s ok 25 /gtask/return-pointer 754s ok 26 /gtask/return-value 754s ok 27 /gtask/return-prefixed-error 754s ok 28 /gtask/object-keepalive 754s ok 29 /gtask/legacy-error 754s ok 30 /gtask/finalize-without-return 754s # Start of name tests 754s ok 31 /gtask/name/macro-wrapper 754s # End of name tests 754s # Start of return tests 754s ok 32 /gtask/return/error-first 754s ok 33 /gtask/return/value-first 754s # Start of in-idle tests 754s ok - glib/task.test 754s # Running test: glib/cxx.test 754s ok - glib/cxx.test 754s # Running test: glib/atomic-c-89.test 754s ok 34 /gtask/return/in-idle/error-first 754s ok 35 /gtask/return/in-idle/value-first 754s # End of in-idle tests 754s # End of return tests 754s # Start of attach-source tests 754s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 754s ok 36 /gtask/attach-source/set-name 754s # End of attach-source tests 754s # End of gtask tests 754s TAP version 14 754s # random seed: R02S38407f7cffbbda13d3f1b2fade2e1705 754s 1..2 754s # Start of gtask tests 754s # 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. 754s ok 1 /gtask/name 754s # Start of name tests 754s # 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. 754s ok 2 /gtask/name/macro-wrapper 754s # End of name tests 754s # End of gtask tests 754s TAP version 14 754s # random seed: R02Sc14f5d8b8d4f4d0cf6680107d306fef0 754s 1..2 754s # Start of atomic tests 754s ok 1 /atomic/types 754s ok - glib/atomic-c-89.test 754s ok 2 /atomic/threaded 754s # End of atomic tests 754s # Running test: glib/slice.test 754s TAP version 14 754s # random seed: R02S3fd8382ba9cefe7f73316d473963d69f 754s 1..3 754s # Start of slice tests 754s ok 1 /slice/copy 754s ok 2 /slice/chain 754s ok 3 /slice/allocate 754s # End of slice tests 754s ok - glib/slice.test 754s # Running test: glib/gdbus-proxy-unique-name.test 754s TAP version 14 754s # random seed: R02S26c9fc4ec6c13ae89fb6e63037473c23 754s 1..1 754s # Start of gdbus tests 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_ZG3052/gdbus/proxy-unique-name/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_ZG3052/gdbus/proxy-unique-name/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_ZG3052/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_ZG3052/gdbus/proxy-unique-name/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_ZG3052/gdbus/proxy-unique-name/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_ZG3052/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_ZG3052/gdbus/proxy-unique-name/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_ZG3052/gdbus/proxy-unique-name/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_ZG3052/gdbus/proxy-unique-name/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_ZG3052/gdbus/proxy-unique-name/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 1 /gdbus/proxy-unique-name 754s # End of gdbus tests 754s ok - glib/gdbus-proxy-unique-name.test 754s # Running test: glib/inet-address.test 754s TAP version 14 754s # random seed: R02S6eb3184b692b68494aa31a510dfa2106 754s 1..11 754s # Start of inet-address tests 755s ok - glib/inet-address.test 755s # Running test: glib/union-info.test 755s ok 1 /inet-address/parse 755s ok 2 /inet-address/any 755s ok 3 /inet-address/loopback 755s ok 4 /inet-address/bytes 755s ok 5 /inet-address/property 755s # End of inet-address tests 755s # Start of socket-address tests 755s ok 6 /socket-address/basic 755s ok 7 /socket-address/to-string 755s # End of socket-address tests 755s # Start of address-mask tests 755s ok 8 /address-mask/parse 755s ok 9 /address-mask/property 755s ok 10 /address-mask/equal 755s ok 11 /address-mask/match 755s # End of address-mask tests 755s ok - glib/union-info.test 755s # Running test: glib/strfuncs.test 755s TAP version 14 755s # random seed: R02S3de3015a785526aa3d9483f4a06017d9 755s 1..2 755s # Start of union-info tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_THDW52/union-info/basic/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_THDW52/union-info/basic/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_THDW52/union-info/basic/.dirs/system-config1:/tmp/test_union-info_THDW52/union-info/basic/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_THDW52/union-info/basic/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_THDW52/union-info/basic/.dirs/system-data1:/tmp/test_union-info_THDW52/union-info/basic/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_THDW52/union-info/basic/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_THDW52/union-info/basic/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_THDW52/union-info/basic/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s # /union-info/basic summary: Test basic properties of GIUnionInfo 755s ok 1 /union-info/basic 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_THDW52/union-info/methods/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_THDW52/union-info/methods/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_THDW52/union-info/methods/.dirs/system-config1:/tmp/test_union-info_THDW52/union-info/methods/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_THDW52/union-info/methods/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_THDW52/union-info/methods/.dirs/system-data1:/tmp/test_union-info_THDW52/union-info/methods/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_THDW52/union-info/methods/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_THDW52/union-info/methods/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_THDW52/union-info/methods/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 755s ok 2 /union-info/methods 755s # End of union-info tests 755s TAP version 14 755s # random seed: R02S0e394f4491ae9b1a1a1ae9f552fc47e3 755s 1..51 755s # Start of strfuncs tests 755s ok 1 /strfuncs/ascii-strcasecmp 755s ok 2 /strfuncs/ascii_strdown 755s ok 3 /strfuncs/ascii_strdup 755s ok 4 /strfuncs/ascii_strtod 755s ok - glib/strfuncs.test 755s # Running test: glib/filter-streams.test 755s ok - glib/filter-streams.test 755s # Running test: glib/utf8-pointer.test 755s ok 5 /strfuncs/bounds-check 755s ok 6 /strfuncs/has-prefix 755s ok 7 /strfuncs/has-prefix-macro 755s ok 8 /strfuncs/has-suffix 755s ok 9 /strfuncs/has-suffix-macro 755s ok 10 /strfuncs/memdup 755s ok 11 /strfuncs/memdup2 755s ok 12 /strfuncs/set_str 755s ok 13 /strfuncs/stpcpy 755s ok 14 /strfuncs/str_match_string 755s ok 15 /strfuncs/str_tokenize_and_fold 755s ok 16 /strfuncs/strcanon 755s ok 17 /strfuncs/strchomp 755s ok 18 /strfuncs/strchug 755s ok 19 /strfuncs/strcompress-strescape 755s ok 20 /strfuncs/strconcat 755s ok 21 /strfuncs/strdelimit 755s ok 22 /strfuncs/strdup 755s ok 23 /strfuncs/strdup-printf 755s ok 24 /strfuncs/strdupv 755s ok 25 /strfuncs/strerror 755s ok 26 /strfuncs/strip-context 755s ok 27 /strfuncs/strjoin 755s ok 28 /strfuncs/strjoinv 755s ok 29 /strfuncs/strlcat 755s ok 30 /strfuncs/strlcpy 755s ok 31 /strfuncs/strncasecmp 755s ok 32 /strfuncs/strndup 755s ok 33 /strfuncs/strnfill 755s ok 34 /strfuncs/strreverse 755s ok 35 /strfuncs/strsignal 755s ok 36 /strfuncs/strsplit 755s ok 37 /strfuncs/strsplit-set 755s ok 38 /strfuncs/strstr 755s ok 39 /strfuncs/strtod 755s ok 40 /strfuncs/strtoull-strtoll 755s ok 41 /strfuncs/strup 755s ok 42 /strfuncs/strv-contains 755s ok 43 /strfuncs/strv-equal 755s ok 44 /strfuncs/strv-length 755s ok 45 /strfuncs/test-is-to-digit 755s ok 46 /strfuncs/transliteration 755s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 755s ok 47 /strfuncs/str-equal 755s ok 48 /strfuncs/str-is-ascii 755s # Start of ascii-string-to-num tests 755s ok 49 /strfuncs/ascii-string-to-num/pathological 755s ok 50 /strfuncs/ascii-string-to-num/usual 755s # End of ascii-string-to-num tests 755s # Start of strdup tests 755s ok 51 /strfuncs/strdup/inline 755s # End of strdup tests 755s # End of strfuncs tests 755s TAP version 14 755s # random seed: R02Seeba31760e0e01d688920e98f849d3ad 755s 1..4 755s # Start of filter-stream tests 755s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 755s ok 1 /filter-stream/input 755s ok 2 /filter-stream/output 755s ok 3 /filter-stream/async-input 755s ok 4 /filter-stream/async-output 755s # End of filter-stream tests 755s TAP version 14 755s # random seed: R02S22f24d3956f35fb2fd0f536f925e60fa 755s 1..3 755s # Start of utf8 tests 755s ok 1 /utf8/offsets 755s # slow test /utf8/offsets executed in 0.80 secs 755s ok 2 /utf8/lengths 755s ok 3 /utf8/find 755s # End of utf8 tests 755s ok - glib/utf8-pointer.test 755s # Running test: glib/unicode-encoding.test 755s TAP version 14 755s # random seed: R02S4dbe4b4f81b7a18269e2ef0bd58d16b2 755s 1..1 755s # Start of unicode tests 755s ok 1 /unicode/encoding 755s # End of unicode tests 755s ok - glib/unicode-encoding.test 755s # Running test: glib/hook.test 755s TAP version 14 755s # random seed: R02S5ac634053a281fc5a4fc53c7b465f5ab 755s 1..2 755s # Start of hook tests 755s ok 1 /hook/basics 755s ok 2 /hook/corner-cases 755s # End of hook tests 755s ok - glib/hook.test 755s # Running test: glib/tls-certificate.test 755s ok - glib/tls-certificate.test 755s # Running test: glib/g-file-info-filesystem-readonly.test 755s ok - glib/g-file-info-filesystem-readonly.test 755s # Running test: glib/g-file-info.test 755s TAP version 14 755s # random seed: R02Sd6b930c7f97a6939da1cfbbdba5839dc 755s 1..19 755s # Start of tls-certificate tests 755s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 755s ok 1 /tls-certificate/pem-parser 755s ok 2 /tls-certificate/pem-parser-handles-chain 755s ok 3 /tls-certificate/from_file 755s ok 4 /tls-certificate/from_files 755s ok 5 /tls-certificate/from_files_crlf 755s ok 6 /tls-certificate/from_files_pkcs8 755s ok 7 /tls-certificate/from_files_pkcs8enc 755s ok 8 /tls-certificate/list_from_file 755s ok 9 /tls-certificate/pkcs11-uri 755s ok 10 /tls-certificate/pkcs11-uri-unsupported 755s ok 11 /tls-certificate/from_pkcs12 755s ok 12 /tls-certificate/from_pkcs12_file 755s ok 13 /tls-certificate/not-valid-before 755s ok 14 /tls-certificate/not-valid-after 755s ok 15 /tls-certificate/subject-name 755s ok 16 /tls-certificate/issuer-name 755s ok 17 /tls-certificate/dns-names 755s ok 18 /tls-certificate/ip-addresses 755s ok 19 /tls-certificate/pem-parser-no-sentinel 755s # End of tls-certificate tests 755s TAP version 14 755s # random seed: R02S5716932ab6a4c55895a7401777932510 755s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 755s 1..2 755s # Start of g-file-info-filesystem-readonly tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 755s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_9UTS52/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 755s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 755s # End of g-file-info-filesystem-readonly tests 755s ok - glib/g-file-info.test 755s # Running test: glib/enums.test 755s ok - glib/enums.test 755s # Running test: glib/gdbus-introspection.test 755s TAP version 14 755s # random seed: R02Sa2f7df6803a5a49c171c2de77f19aaa3 755s 1..6 755s # Start of g-file-info tests 755s ok 1 /g-file-info/test_g_file_info 755s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 755s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 755s ok 2 /g-file-info/xattrs 755s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 755s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 755s ok 3 /g-file-info/set-modified-date-time-precision 755s # Start of test_g_file_info tests 755s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 755s ok 4 /g-file-info/test_g_file_info/modification-time 755s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 755s ok 5 /g-file-info/test_g_file_info/access-time 755s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 755s ok 6 /g-file-info/test_g_file_info/creation-time 755s # End of test_g_file_info tests 755s # End of g-file-info tests 755s TAP version 14 755s # random seed: R02S380b6597ca3b060e7267346061bef4ba 755s 1..4 755s # Start of enum tests 755s ok 1 /enum/basic 755s ok 2 /enum/define-type 755s # End of enum tests 755s # Start of flags tests 755s ok 3 /flags/basic 755s ok 4 /flags/define-type 755s # End of flags tests 755s TAP version 14 755s # random seed: R02S3653a198fcda42fb78b01828c81a9f9b 755s 1..4 755s # Start of gdbus tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-parser/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-parser/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-parser/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-parser/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-parser/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-parser/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-parser/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-parser/.dirs/runtime 755s ok 1 /gdbus/introspection-parser 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-generate/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-generate/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-generate/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-generate/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-generate/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-generate/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-generate/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-generate/.dirs/runtime 755s ok 2 /gdbus/introspection-generate 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-default-direction/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-default-direction/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-default-direction/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-default-direction/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-default-direction/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-default-direction/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-default-direction/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-default-direction/.dirs/runtime 755s ok 3 /gdbus/introspection-default-direction 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-extra-data/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-extra-data/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-extra-data/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-extra-data/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-extra-data/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-extra-data/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-extra-data/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HZPS52/gdbus/introspection-extra-data/.dirs/runtime 755s ok 4 /gdbus/introspection-extra-data 755s # End of gdbus tests 755s ok - glib/gdbus-introspection.test 755s # Running test: glib/function-info.test 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s TAP version 14 755s # random seed: R02Sd91d9cb9b6f40e8d89112af4f33971c9 755s 1..1 755s # Start of function-info tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_K78Y52/function-info/invoker/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_K78Y52/function-info/invoker/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_K78Y52/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_K78Y52/function-info/invoker/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_K78Y52/function-info/invoker/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_K78Y52/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_K78Y52/function-info/invoker/.dirs/system-data2 755s ok - glib/function-info.test 755s # Running test: glib/testfilemonitor.test 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_K78Y52/function-info/invoker/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_K78Y52/function-info/invoker/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_K78Y52/function-info/invoker/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s # /function-info/invoker summary: Test preparing a function invoker 755s ok 1 /function-info/invoker 755s # End of function-info tests 755s TAP version 14 755s # random seed: R02Sd0c32e3f52d46c39e9fa7a587f50e28a 755s 1..8 755s # Start of monitor tests 755s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 755s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 755s ok - glib/testfilemonitor.test 755s # Running test: glib/gdbus-connection.test 755s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 755s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 755s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 755s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 755s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 755s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 755s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 755s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 755s # Start of file tests 755s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 755s # End of file tests 755s # End of monitor tests 755s TAP version 14 755s # random seed: R02Sdda52aeecec1b96154896427d89ade6b 755s 1..9 755s # Start of gdbus tests 755s # Start of connection tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/bus-failure/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/bus-failure/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/bus-failure/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/bus-failure/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/bus-failure/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/bus-failure/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/bus-failure/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/bus-failure/.dirs/runtime 755s ok 1 /gdbus/connection/bus-failure 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/basic/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/basic/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/basic/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/basic/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/basic/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/basic/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/basic/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/basic/.dirs/runtime 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s ok 2 /gdbus/connection/basic 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/life-cycle/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/life-cycle/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/life-cycle/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/life-cycle/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/life-cycle/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/life-cycle/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/life-cycle/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/life-cycle/.dirs/runtime 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s ok 3 /gdbus/connection/life-cycle 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/send/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/send/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/send/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/send/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/send/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/send/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/send/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/send/.dirs/runtime 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s ok 4 /gdbus/connection/send 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signals/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signals/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signals/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signals/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signals/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signals/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signals/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signals/.dirs/runtime 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s ok 5 /gdbus/connection/signals 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signal-match-rules/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signal-match-rules/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signal-match-rules/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signal-match-rules/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signal-match-rules/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signal-match-rules/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signal-match-rules/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/signal-match-rules/.dirs/runtime 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s ok 6 /gdbus/connection/signal-match-rules 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/filter/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/filter/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/filter/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/filter/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/filter/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/filter/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/filter/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/filter/.dirs/runtime 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s ok 7 /gdbus/connection/filter 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/serials/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/serials/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/serials/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/serials/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/serials/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/serials/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/serials/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/serials/.dirs/runtime 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s ok 8 /gdbus/connection/serials 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/cancel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/cancel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/cancel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/cancel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_0T2Y52/gdbus/connection/cancel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/cancel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/cancel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0T2Y52/gdbus/connection/cancel/.dirs/runtime 755s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 756s ok - glib/gdbus-connection.test 756s # Running test: glib/overflow.test 756s ok - glib/overflow.test 756s # Running test: glib/signals-refcount3.test 756s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 756s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 756s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 756s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 756s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 756s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 756s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 756s ok 9 /gdbus/connection/cancel 756s # End of connection tests 756s # End of gdbus tests 756s TAP version 14 756s # random seed: R02S30caa18fc53c521c99c65cd1b2e3595b 756s 1..6 756s # Start of glib tests 756s # Start of checked-math tests 756s ok 1 /glib/checked-math/guint-add 756s ok 2 /glib/checked-math/guint-mul 756s ok 3 /glib/checked-math/guint64-add 756s ok 4 /glib/checked-math/guint64-mul 756s ok 5 /glib/checked-math/gsize-add 756s ok 6 /glib/checked-math/gsize-mul 756s # End of checked-math tests 756s # End of glib tests 756s TAP version 14 756s # random seed: R02S3185ce32f34dc81e861e124cd61b41f4 756s 1..1 756s # Start of gobject tests 756s # Start of refcount tests 756s # init 0x78b7a66ddd0 756s # 756s # init 0x78b7a66a310 756s # 758s # Executing: glib/signals-refcount3.test 763s # dispose 0x78b7a66ddd0! 763s # 763s # dispose 0x78b7a66a310! 763s # 763s ok 1 /gobject/refcount/signals 763s # slow test /gobject/refcount/signals executed in 5.00 secs 763s # End of refcount tests 763s # End of gobject tests 763s ok - glib/signals-refcount3.test 763s # Running test: glib/asyncqueue.test 763s ok - glib/asyncqueue.test 763s # Running test: glib/tls-database.test 763s ok - glib/tls-database.test 763s # Running test: glib/async-splice-output-stream.test 763s ok - glib/async-splice-output-stream.test 763s # Running test: glib/portal-support-flatpak-none.test 763s ok - glib/portal-support-flatpak-none.test 763s # Running test: glib/642026.test 763s ok - glib/642026.test 763s # Running test: glib/atomic-c-11.test 763s ok - glib/atomic-c-11.test 763s # Running test: glib/defaultiface.test 763s ok - glib/defaultiface.test 763s # Running test: glib/slist.test 763s ok - glib/slist.test 763s # Running test: glib/trash.test 763s ok - glib/trash.test 763s # Running test: glib/portal-support-snap.test 763s ok - glib/portal-support-snap.test 763s # Running test: glib/dump.test 763s ok - glib/dump.test 763s # Running test: glib/autoptr-gio.test 763s ok - glib/autoptr-gio.test 763s # Running test: glib/private.test 763s TAP version 14 763s # random seed: R02Sd53170a9d71197b2835c3b475c935f05 763s 1..7 763s # Start of asyncqueue tests 763s ok 1 /asyncqueue/basics 763s ok 2 /asyncqueue/sort 763s ok 3 /asyncqueue/destroy 763s ok 4 /asyncqueue/threads 763s ok 5 /asyncqueue/timed 763s ok 6 /asyncqueue/remove 763s ok 7 /asyncqueue/push_front 763s # End of asyncqueue tests 763s TAP version 14 763s # random seed: R02S6eed2e0b6ee1066b6c38445073a280cc 763s 1..1 763s # Start of tls-backend tests 763s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 763s ok 1 /tls-backend/set-default-database 763s # End of tls-backend tests 763s TAP version 14 763s # random seed: R02S30ddcb7236111e840781f75240196ab2 763s 1..5 763s # Start of async-splice tests 763s ok 1 /async-splice/copy-chunks 763s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 763s ok 2 /async-splice/copy-chunks-threaded-input 763s ok 3 /async-splice/copy-chunks-threaded-output 763s ok 4 /async-splice/copy-chunks-threaded 763s ok 5 /async-splice/cancelled 763s # End of async-splice tests 763s TAP version 14 763s # random seed: R02Sd47acc0977d0ee684fac6f807e3670df 763s 1..1 763s # Start of portal-support tests 763s # Start of flatpak tests 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_3NWA62/portal-support/flatpak/none/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_3NWA62/portal-support/flatpak/none/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_3NWA62/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_3NWA62/portal-support/flatpak/none/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_3NWA62/portal-support/flatpak/none/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_3NWA62/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_3NWA62/portal-support/flatpak/none/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_3NWA62/portal-support/flatpak/none/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_3NWA62/portal-support/flatpak/none/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_3NWA62/portal-support/flatpak/none/.dirs/runtime 763s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_3NWA62/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 763s ok 1 /portal-support/flatpak/none 763s # End of flatpak tests 763s # End of portal-support tests 763s TAP version 14 763s # random seed: R02Sfbff9af4753c07f16a1c2177b11909fa 763s 1..1 763s # Start of glib tests 763s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 763s ok 1 /glib/642026 763s # End of glib tests 763s TAP version 14 763s # random seed: R02S9961cf804ef5c0007e2e2cdd943cd3c0 763s 1..2 763s # Start of atomic tests 763s ok 1 /atomic/types 763s ok 2 /atomic/threaded 763s # End of atomic tests 763s TAP version 14 763s # random seed: R02Sd2887f1a745e5460c7d71bb3a88c9e75 763s 1..2 763s # Start of gobject tests 763s ok 1 /gobject/static-iface 763s ok 2 /gobject/dynamic-iface 763s # End of gobject tests 763s TAP version 14 763s # random seed: R02S35b0454c2f63db4d16779bed2495c639 763s 1..14 763s # Start of slist tests 763s ok 1 /slist/sort 763s ok 2 /slist/sort-with-data 763s ok 3 /slist/insert-sorted 763s ok 4 /slist/insert-sorted-with-data 763s ok 5 /slist/reverse 763s ok 6 /slist/nth 763s ok 7 /slist/remove 763s ok 8 /slist/remove-all 763s ok 9 /slist/insert 763s ok 10 /slist/position 763s ok 11 /slist/concat 763s ok 12 /slist/copy 763s # Start of sort tests 763s ok 13 /slist/sort/stable 763s # End of sort tests 763s # Start of copy tests 763s ok 14 /slist/copy/deep 763s # End of copy tests 763s # End of slist tests 763s TAP version 14 763s # random seed: R02Sf11cafb50636a07b3f0aa684f4f983eb 763s 1..3 763s # Start of trash tests 763s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 763s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 763s # File: /tmp/test-trash49S852 (parent st_dev: 64769) 763s # Home: /home/ubuntu (st_dev: 64769) 763s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 763s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 763s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 763s ok 3 /trash/long-filename 763s # End of trash tests 763s TAP version 14 763s # random seed: R02Se787a479e2c41bef9a45f41fadee45e6 763s 1..7 763s # Start of portal-support tests 763s # Start of snap tests 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/no-snapctl/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/no-snapctl/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/no-snapctl/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/no-snapctl/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/no-snapctl/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/no-snapctl/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/no-snapctl/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FN4952/portal-support/snap/no-snapctl/.dirs/runtime 763s # Created snap.yaml in /tmp/test_portal-support-snap_FN4952/meta/snap.yaml 763s Unable to clean up temporary directory /tmp/test_portal-support-snap_FN4952/portal-support/snap/no-snapctl: No such file or directory 763s ok 1 /portal-support/snap/no-snapctl 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/none/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/none/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/none/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/none/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/none/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/none/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/none/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FN4952/portal-support/snap/none/.dirs/runtime 763s # Created snap.yaml in /tmp/test_portal-support-snap_FN4952/meta/snap.yaml 763s # Created snapctl in /tmp/test_portal-support-snap_FN4952/portal-support/snap/none/.dirs/runtime/snapctl 763s Unable to clean up temporary directory /tmp/test_portal-support-snap_FN4952/portal-support/snap/none: No such file or directory 763s ok 2 /portal-support/snap/none 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/all/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/all/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/all/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/all/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/all/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/all/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/all/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FN4952/portal-support/snap/all/.dirs/runtime 763s # Created snap.yaml in /tmp/test_portal-support-snap_FN4952/meta/snap.yaml 763s # Created snapctl in /tmp/test_portal-support-snap_FN4952/portal-support/snap/all/.dirs/runtime/snapctl 763s Unable to clean up temporary directory /tmp/test_portal-support-snap_FN4952/portal-support/snap/all: No such file or directory 763s ok 3 /portal-support/snap/all 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/desktop-only/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/desktop-only/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/desktop-only/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/desktop-only/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/desktop-only/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/desktop-only/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/desktop-only/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FN4952/portal-support/snap/desktop-only/.dirs/runtime 763s # Created snap.yaml in /tmp/test_portal-support-snap_FN4952/meta/snap.yaml 763s # Created snapctl in /tmp/test_portal-support-snap_FN4952/portal-support/snap/desktop-only/.dirs/runtime/snapctl 763s Unable to clean up temporary directory /tmp/test_portal-support-snap_FN4952/portal-support/snap/desktop-only: No such file or directory 763s ok 4 /portal-support/snap/desktop-only 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/network-only/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/network-only/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/network-only/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/network-only/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/network-only/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/network-only/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/network-only/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FN4952/portal-support/snap/network-only/.dirs/runtime 763s # Created snap.yaml in /tmp/test_portal-support-snap_FN4952/meta/snap.yaml 763s # Created snapctl in /tmp/test_portal-support-snap_FN4952/portal-support/snap/network-only/.dirs/runtime/snapctl 763s Unable to clean up temporary directory /tmp/test_portal-support-snap_FN4952/portal-support/snap/network-only: No such file or directory 763s ok 5 /portal-support/snap/network-only 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/gsettings-only/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/gsettings-only/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/gsettings-only/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/gsettings-only/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/gsettings-only/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/gsettings-only/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/gsettings-only/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FN4952/portal-support/snap/gsettings-only/.dirs/runtime 763s # Created snap.yaml in /tmp/test_portal-support-snap_FN4952/meta/snap.yaml 763s # Created snapctl in /tmp/test_portal-support-snap_FN4952/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 763s Unable to clean up temporary directory /tmp/test_portal-support-snap_FN4952/portal-support/snap/gsettings-only: No such file or directory 763s ok 6 /portal-support/snap/gsettings-only 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/runtime 763s # Created snap.yaml in /tmp/test_portal-support-snap_FN4952/meta/snap.yaml 763s # Created snapctl in /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 763s # Created snapctl in /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 763s # Created snapctl in /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 763s # Created snapctl in /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 763s # Created snapctl in /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 763s # Created snapctl in /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 763s # Created snapctl in /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 763s Unable to clean up temporary directory /tmp/test_portal-support-snap_FN4952/portal-support/snap/updates-dynamically: No such file or directory 763s ok 7 /portal-support/snap/updates-dynamically 763s # End of snap tests 763s # End of portal-support tests 763s Unable to clean up temporary directory /tmp/test_portal-support-snap_FN4952: No such file or directory 763s TAP version 14 763s # random seed: R02Sc5f2c9dafaf43b7b2edd5adc3be73bcf 763s 1..4 763s # Start of dump tests 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_VPPU52/dump/empty-file/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_VPPU52/dump/empty-file/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_VPPU52/dump/empty-file/.dirs/system-config1:/tmp/test_dump_VPPU52/dump/empty-file/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_VPPU52/dump/empty-file/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_VPPU52/dump/empty-file/.dirs/system-data1:/tmp/test_dump_VPPU52/dump/empty-file/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_VPPU52/dump/empty-file/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_VPPU52/dump/empty-file/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_VPPU52/dump/empty-file/.dirs/runtime 763s ok 1 /dump/empty-file 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_VPPU52/dump/missing-get-type/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_VPPU52/dump/missing-get-type/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_VPPU52/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_VPPU52/dump/missing-get-type/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_VPPU52/dump/missing-get-type/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_VPPU52/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_VPPU52/dump/missing-get-type/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_VPPU52/dump/missing-get-type/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_VPPU52/dump/missing-get-type/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_VPPU52/dump/missing-get-type/.dirs/runtime 763s Invalid GType function: 'does_not_exist_get_type' 763s ok 2 /dump/missing-get-type 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_VPPU52/dump/missing-quark/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_VPPU52/dump/missing-quark/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_VPPU52/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_VPPU52/dump/missing-quark/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_VPPU52/dump/missing-quark/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_VPPU52/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_VPPU52/dump/missing-quark/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_VPPU52/dump/missing-quark/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_VPPU52/dump/missing-quark/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_VPPU52/dump/missing-quark/.dirs/runtime 763s Invalid error quark function: 'does_not_exist_error' 763s ok 3 /dump/missing-quark 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_VPPU52/dump/basic/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_VPPU52/dump/basic/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_VPPU52/dump/basic/.dirs/system-config1:/tmp/test_dump_VPPU52/dump/basic/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_VPPU52/dump/basic/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_VPPU52/dump/basic/.dirs/system-data1:/tmp/test_dump_VPPU52/dump/basic/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_VPPU52/dump/basic/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_VPPU52/dump/basic/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_VPPU52/dump/basic/.dirs/runtime 763s ok 4 /dump/basic 763s # End of dump tests 763s TAP version 14 763s # random seed: R02S72e2be20336b8a71b97342a51aedfcc1 763s 1..1 763s # Start of autoptr tests 763s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 763s ok 1 /autoptr/autoptr 763s # End of autoptr tests 763s TAP version 14 763s # random seed: R02S00c3bc82f43388fbd5b59f7f342df7d0 763s 1..8 763s # Start of thread tests 763s ok 1 /thread/private1 763s ok 2 /thread/private2 763s # slow test /thread/private2 executed in 1.09 secs 763s ok 3 /thread/private3 763s ok 4 /thread/staticprivate1 763s ok 5 /thread/staticprivate2 763s ok 6 /thread/staticprivate3 763s # Executing: glib/private.test 763s ok 7 /thread/staticprivate4 763s # slow test /thread/staticprivate4 executed in 1.08 secs 763s ok - glib/private.test 763s ok 8 /thread/staticprivate5 763s # End of thread tests 763s # Running test: glib/gdbus-exit-on-close.test 763s TAP version 14 763s # random seed: R02Sdc6684550ef94947e09bee919b77ccb5 763s 1..4 763s # Start of gdbus tests 763s # Start of exit-on-close tests 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/default/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/default/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/default/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/default/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/default/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/default/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/default/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/default/.dirs/runtime 763s ok 1 /gdbus/exit-on-close/default 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/true/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/true/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/true/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/true/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/true/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/true/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/true/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/true/.dirs/runtime 763s ok 2 /gdbus/exit-on-close/true 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/false/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/false/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/false/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/false/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/false/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/false/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/false/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/false/.dirs/runtime 764s ok 3 /gdbus/exit-on-close/false 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/we-close/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/we-close/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/we-close/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/we-close/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/we-close/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/we-close/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/we-close/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_U54R52/gdbus/exit-on-close/we-close/.dirs/runtime 764s ok 4 /gdbus/exit-on-close/we-close 764s # Start of default tests 764s # End of default tests 764s # Start of true tests 764s # End of true tests 764s # Start of false tests 764s # End of false tests 764s # Start of we-close tests 764s # End of we-close tests 764s # End of exit-on-close tests 764s # End of gdbus tests 764s ok - glib/gdbus-exit-on-close.test 764s # Running test: glib/socket-address.test 764s TAP version 14 764s # random seed: R02Sfb00b8850acc33a27814fcb5bcdcc7c3 764s 1..2 764s # Start of socket tests 764s ok - glib/socket-address.test 764s # Start of address tests 764s # Start of unix tests 764s ok 1 /socket/address/unix/construct 764s ok 2 /socket/address/unix/to-string 764s # End of unix tests 764s # End of address tests 764s # End of socket tests 764s # Running test: glib/converter.test 764s TAP version 14 764s # random seed: R02Sb946908fec70eb67bed4bc51e947363b 764s 1..2 764s # Start of converter tests 764s ok 1 /converter/bytes 764s ok 2 /converter/extra-bytes-at-end 764s # End of converter tests 764s ok - glib/converter.test 764s # Running test: glib/g-file.test 764s ok - glib/g-file.test 764s # Running test: glib/singleton.test 764s ok - glib/singleton.test 764s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 764s TAP version 14 764s # random seed: R02Sa09df98159b1d15a05310a2130d6b2eb 764s 1..8 764s # Start of g-file tests 764s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 764s ok 1 /g-file/test_g_file_new_null 764s ok 2 /g-file/test_g_file_new_for_path 764s ok 3 /g-file/test_g_file_new_for_uri 764s ok 4 /g-file/test_g_file_dup 764s ok 5 /g-file/test_g_file_get_parse_name_utf8 764s file:///tmp/test-tmp-glib_g-file.test-IZ2552 764s file:///tmp 764s file:///tmp 764s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 764s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 764s ok 6 /g-file/test_g_file_new_for_commandline_arg 764s /dir1 /dir1/dir2/dir3/ 764s /dir1/ /dir1/dir2/dir3/ 764s /dir1 /dir1/dir2/dir3 764s /dir1/ /dir1/dir2/dir3 764s /tmp/ /something/ 764s /dir1/dir2 /dir1/ 764s //dir1/new //dir1/new/dir2/dir3 764s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 764s file:///dir1 file:///dir1/dir2/dir3/ 764s file:///dir1/ file:///dir1/dir2/dir3/ 764s file:///dir1 file:///dir1/dir2/dir3 764s file:///dir1/ file:///dir1/dir2/dir3 764s file:///tmp/ file:///something/ 764s file:///dir1/dir2 file:///dir1/ 764s file:////dir1/new file:////dir1/new/dir2/dir3 764s 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 764s ok 7 /g-file/test_g_file_has_prefix 764s ok 8 /g-file/test_g_file_get_parent_child 764s # End of g-file tests 764s TAP version 14 764s # random seed: R02Sebe48c7ebbc6c9169918e28ca89bb37c 764s 1..2 764s # Start of gobject tests 764s # Start of singleton tests 764s ok 1 /gobject/singleton/construction 764s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 764s ok 2 /gobject/singleton/construct-property 764s # End of singleton tests 764s # End of gobject tests 764s TAP version 14 764s # random seed: R02S1cb890db311370c23fc710ad176f66b2 764s 1..8 764s # Start of gdbus tests 764s # Start of codegen tests 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/annotations/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/annotations/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/annotations/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/annotations/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/annotations/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/annotations/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/annotations/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/annotations/.dirs/runtime 764s ok 1 /gdbus/codegen/annotations 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/interface_stability/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/interface_stability/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/interface_stability/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/interface_stability/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/interface_stability/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/interface_stability/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/interface_stability/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/interface_stability/.dirs/runtime 764s ok 2 /gdbus/codegen/interface_stability 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/object-manager/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/object-manager/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/object-manager/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/object-manager/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/object-manager/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/object-manager/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/object-manager/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/object-manager/.dirs/runtime 764s ok 3 /gdbus/codegen/object-manager 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/property-naming/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/property-naming/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/property-naming/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/property-naming/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/property-naming/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/property-naming/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/property-naming/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/property-naming/.dirs/runtime 764s ok 4 /gdbus/codegen/property-naming 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/autocleanups/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/autocleanups/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/autocleanups/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/autocleanups/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/autocleanups/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/autocleanups/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/autocleanups/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/autocleanups/.dirs/runtime 764s ok - glib/gdbus-test-codegen-min-required-2-64.test 764s ok 5 /gdbus/codegen/autocleanups 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/deprecations/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/deprecations/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/deprecations/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/deprecations/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/deprecations/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/deprecations/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/deprecations/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/deprecations/.dirs/runtime 764s ok 6 /gdbus/codegen/deprecations 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/standalone-interface-info/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/standalone-interface-info/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/standalone-interface-info/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/standalone-interface-info/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/standalone-interface-info/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/standalone-interface-info/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/standalone-interface-info/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/standalone-interface-info/.dirs/runtime 764s ok 7 /gdbus/codegen/standalone-interface-info 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/unix-fd-list/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/unix-fd-list/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/unix-fd-list/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/unix-fd-list/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/unix-fd-list/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/unix-fd-list/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/unix-fd-list/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_JGB752/gdbus/codegen/unix-fd-list/.dirs/runtime 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 764s ok 8 /gdbus/codegen/unix-fd-list 764s # End of codegen tests 764s # End of gdbus tests 764s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 764s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 764s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 764s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 764s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 764s # Running test: glib/gdbus-test-codegen.test 764s TAP version 14 764s # random seed: R02S7a0be936bc958f284309a97d122335ec 764s 1..8 764s # Start of gdbus tests 764s # Start of codegen tests 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/annotations/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/annotations/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/annotations/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/annotations/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/annotations/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/annotations/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/annotations/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/annotations/.dirs/runtime 764s ok 1 /gdbus/codegen/annotations 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/interface_stability/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/interface_stability/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/interface_stability/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/interface_stability/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/interface_stability/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/interface_stability/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/interface_stability/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/interface_stability/.dirs/runtime 764s ok 2 /gdbus/codegen/interface_stability 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/object-manager/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/object-manager/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/object-manager/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/object-manager/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/object-manager/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/object-manager/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/object-manager/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/object-manager/.dirs/runtime 764s ok 3 /gdbus/codegen/object-manager 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/property-naming/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/property-naming/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/property-naming/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/property-naming/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/property-naming/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/property-naming/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/property-naming/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/property-naming/.dirs/runtime 764s ok 4 /gdbus/codegen/property-naming 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/autocleanups/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/autocleanups/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/autocleanups/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/autocleanups/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/autocleanups/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/autocleanups/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/autocleanups/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/autocleanups/.dirs/runtime 764s ok 5 /gdbus/codegen/autocleanups 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/deprecations/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/deprecations/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/deprecations/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/deprecations/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/deprecations/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/deprecations/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/deprecations/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/deprecations/.dirs/runtime 764s ok 6 /gdbus/codegen/deprecations 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/standalone-interface-info/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/standalone-interface-info/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/standalone-interface-info/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/standalone-interface-info/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/standalone-interface-info/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/standalone-interface-info/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/standalone-interface-info/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/standalone-interface-info/.dirs/runtime 764s ok 7 /gdbus/codegen/standalone-interface-info 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/unix-fd-list/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/unix-fd-list/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/unix-fd-list/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/unix-fd-list/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/unix-fd-list/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/unix-fd-list/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/unix-fd-list/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_XVU152/gdbus/codegen/unix-fd-list/.dirs/runtime 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 764s ok 8 /gdbus/codegen/unix-fd-list 764s # End of codegen tests 764s # End of gdbus tests 764s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 764s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 764s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 764s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 764s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 764s ok - glib/gdbus-test-codegen.test 764s # Running test: glib/sleepy-stream.test 764s ok - glib/sleepy-stream.test 764s # Running test: glib/atomic.test 764s TAP version 14 764s # random seed: R02Saf311a11fb1e3ac8350ac2f259af47ec 764s 1..2 764s # Start of filter-stream tests 764s ok 1 /filter-stream/input 764s ok 2 /filter-stream/async 764s # End of filter-stream tests 764s TAP version 14 764s # random seed: R02Scb0190e5eb8698414f006a10870dd387 764s 1..2 764s # Start of atomic tests 764s ok 1 /atomic/types 764s ok - glib/atomic.test 764s ok 2 /atomic/threaded 764s # End of atomic tests 764s # Running test: glib/permission.test 764s ok - glib/permission.test 764s TAP version 14 764s # random seed: R02S8e4473cab2aaa37e2bcd6e56538a8e12 764s 1..1 764s # Start of permission tests 764s ok 1 /permission/simple 764s # End of permission tests 764s # Running test: glib/mainloop.test 764s TAP version 14 764s # random seed: R02S6454099893a742b7fd748fa1607fdaa0 764s 1..45 764s # Start of maincontext tests 764s ok 1 /maincontext/basic 764s # Add same-priority sources: 25 764s # Find each source: 7 764s # Remove in random order: 36 764s ok 2 /maincontext/nsources_same_priority 764s # Add different-priority sources: 31 764s # Find each source: 8 764s # Remove in random order: 39 764s ok 3 /maincontext/nsources_different_priority 764s # Add sources from threads: 132 764s # Remove sources from threads: 126 764s ok 4 /maincontext/nsources_threadpool 764s ok 5 /maincontext/source_finalization 764s # /maincontext/idle-once summary: Test g_idle_add_once() works 764s ok 6 /maincontext/idle-once 764s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 765s ok 7 /maincontext/timeout-once 765s # Start of source_finalization_from_source tests 765s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 765s ok 8 /maincontext/source_finalization_from_source/0 765s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 765s ok 9 /maincontext/source_finalization_from_source/1 765s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 765s ok 10 /maincontext/source_finalization_from_source/2 765s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 765s ok 11 /maincontext/source_finalization_from_source/3 765s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 765s ok 12 /maincontext/source_finalization_from_source/4 765s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 765s ok 13 /maincontext/source_finalization_from_source/5 765s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 765s ok 14 /maincontext/source_finalization_from_source/6 765s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 765s ok 15 /maincontext/source_finalization_from_source/7 765s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 765s ok 16 /maincontext/source_finalization_from_source/8 765s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 765s ok 17 /maincontext/source_finalization_from_source/9 765s # End of source_finalization_from_source tests 765s # Start of source_finalization_from_dispatch tests 765s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 765s ok 18 /maincontext/source_finalization_from_dispatch/0 765s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 765s ok 19 /maincontext/source_finalization_from_dispatch/1 765s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 765s ok 20 /maincontext/source_finalization_from_dispatch/2 765s # End of source_finalization_from_dispatch tests 765s # End of maincontext tests 765s # Start of mainloop tests 765s ok 21 /mainloop/basic 765s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 765s ok 23 /mainloop/priorities 765s ok 24 /mainloop/invoke 765s # slow test /mainloop/invoke executed in 0.50 secs 766s ok 25 /mainloop/child_sources 766s # slow test /mainloop/child_sources executed in 1.19 secs 768s # Executing: glib/mainloop.test 768s ok 26 /mainloop/recursive_child_sources 768s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 768s ok 27 /mainloop/recursive_loop_child_sources 768s ok 28 /mainloop/swapping_child_sources 768s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 768s ok 29 /mainloop/blocked_child_sources 769s ok 30 /mainloop/source_time 769s # slow test /mainloop/source_time executed in 1.00 secs 769s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 769s ok 31 /mainloop/overflow 770s ok 32 /mainloop/ready-time 770s # slow test /mainloop/ready-time executed in 0.50 secs 770s ok 33 /mainloop/wakeup 770s ok 34 /mainloop/remove-invalid 770s ok 35 /mainloop/unref-while-pending 771s ok 36 /mainloop/unix-fd 771s # slow test /mainloop/unix-fd executed in 1.53 secs 771s ok 37 /mainloop/unix-fd-source 771s ok 38 /mainloop/source-unix-fd-api 772s ok 39 /mainloop/wait 772s ok 40 /mainloop/unix-file-poll 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 772s ok 41 /mainloop/unix-fd-priority 772s ok 42 /mainloop/nfds 772s ok 43 /mainloop/steal-fd 772s # Start of ownerless-polling tests 772s ok 44 /mainloop/ownerless-polling/attach-first 772s ok 45 /mainloop/ownerless-polling/pop-first 772s # End of ownerless-polling tests 772s # End of mainloop tests 772s ok - glib/mainloop.test 772s # Running test: glib/contenttype.test 772s ok - glib/contenttype.test 772s # Running test: glib/data-input-stream.test 772s TAP version 14 772s # random seed: R02S67befa827334e98330296edb03bc9dc4 772s 1..14 772s # Start of contenttype tests 772s ok 1 /contenttype/guess 772s ok 2 /contenttype/guess_svg_from_data 772s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 772s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 772s ok 5 /contenttype/unknown 772s ok 6 /contenttype/subtype 772s ok 7 /contenttype/list 772s ok 8 /contenttype/executable 772s ok 9 /contenttype/description 772s ok 10 /contenttype/icon 772s ok 11 /contenttype/symbolic-icon 772s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 772s ok 12 /contenttype/tree 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 772s ok 13 /contenttype/tree_invalid_encoding 772s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 772s ok 14 /contenttype/test_type_is_a_special_case 772s # End of contenttype tests 772s TAP version 14 772s # random seed: R02S4037d6a048038d0ce5a74d17806d57fb 772s 1..10 772s # Start of data-input-stream tests 772s ok 1 /data-input-stream/basic 772s ok 2 /data-input-stream/read-lines-LF 772s ok 3 /data-input-stream/read-lines-LF-valid-utf8 772s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 772s ok 5 /data-input-stream/read-lines-CR 772s ok 6 /data-input-stream/read-lines-CR-LF 772s ok 7 /data-input-stream/read-lines-any 772s ok 8 /data-input-stream/read-until 772s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 772s # Test vector 1: {"key": "value"}? and ? 772s ok 9 /data-input-stream/read-upto 772s ok - glib/data-input-stream.test 772s ok 10 /data-input-stream/read-int 772s # End of data-input-stream tests 772s # Running test: glib/glistmodel.test 772s TAP version 14 772s # random seed: R02S7533fea9ea75619ff4cc21cbdf8ee4e7 772s 1..18 772s # Start of glistmodel tests 772s # Start of store tests 772s ok 1 /glistmodel/store/properties 772s ok 2 /glistmodel/store/non-gobjects 772s ok 3 /glistmodel/store/boundaries 772s ok 4 /glistmodel/store/refcounts 772s ok 5 /glistmodel/store/sorted 772s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 772s ok 6 /glistmodel/store/splice-replace-middle 772s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 772s ok 7 /glistmodel/store/splice-replace-all 772s ok 8 /glistmodel/store/splice-noop 772s ok 9 /glistmodel/store/splice-remove-multiple 772s ok 10 /glistmodel/store/splice-add-multiple 772s ok - glib/glistmodel.test 772s # Running test: glib/gdbus-address-get-session.test 772s ok - glib/gdbus-address-get-session.test 772s # Running test: glib/assert-msg-test.py.test 772s ok 11 /glistmodel/store/splice-wrong-type 772s ok 12 /glistmodel/store/item-type 772s ok 13 /glistmodel/store/remove-all 772s ok 14 /glistmodel/store/sort 772s ok 15 /glistmodel/store/get-item-cache 772s ok 16 /glistmodel/store/items-changed 772s ok 17 /glistmodel/store/past-end 772s ok 18 /glistmodel/store/find 772s # End of store tests 772s # End of glistmodel tests 772s TAP version 14 772s # random seed: R02Sdea2829f8c8406f0578271de5dc5b152 772s 1..2 772s # Start of gdbus tests 772s ok 1 /gdbus/x11-autolaunch 772s ok 2 /gdbus/xdg-runtime 772s # End of gdbus tests 772s TAP version 13 772s ok 1 __main__.TestAssertMessage.test_gassert 772s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 772s # tmpdir: /tmp/tmpbfsw0wga 772s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 772s # Return code: -6 772s # Output: 772s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 772s # Error: 772s # ** 772s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 772s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 772s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 772s # tmpdir: /tmp/tmpmjxfiu0_ 772s 1..2 772s ok - glib/assert-msg-test.py.test 772s # Running test: glib/mutex.test 772s TAP version 14 772s # random seed: R02S24c84e3e33dc44e0e3812c3eda2d5e9a 772s 1..17 772s # Start of thread tests 772s ok 1 /thread/mutex1 772s ok 2 /thread/mutex2 772s ok 3 /thread/mutex3 772s ok 4 /thread/mutex4 773s # Executing: glib/mutex.test 777s ok 5 /thread/mutex5 777s # slow test /thread/mutex5 executed in 4.97 secs 777s # Start of mutex tests 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s # /thread/mutex/errno summary: Validates that errno is not touched upon return 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 777s ok 6 /thread/mutex/errno 777s # Start of perf tests 777s # max perf: 1.000000 mips 777s ok 7 /thread/mutex/perf/uncontended 777s # Start of contended tests 777s # max perf: inf mips 777s ok 8 /thread/mutex/perf/contended/1 777s # max perf: inf mips 777s ok 9 /thread/mutex/perf/contended/2 777s # max perf: 0.060606 mips 777s ok 10 /thread/mutex/perf/contended/3 777s # max perf: 5.000000 mips 777s ok 11 /thread/mutex/perf/contended/4 777s # max perf: 0.142857 mips 777s ok 12 /thread/mutex/perf/contended/5 777s # max perf: 2.333333 mips 777s ok 13 /thread/mutex/perf/contended/6 777s # max perf: 4.000000 mips 777s ok 14 /thread/mutex/perf/contended/7 777s # max perf: 1.800000 mips 777s ok 15 /thread/mutex/perf/contended/8 777s # max perf: 2.500000 mips 777s ok 16 /thread/mutex/perf/contended/9 777s # max perf: 3.666667 mips 777s ok 17 /thread/mutex/perf/contended/10 777s # End of contended tests 777s # End of perf tests 777s # End of mutex tests 777s # End of thread tests 777s ok - glib/mutex.test 777s # Running test: glib/refcount.test 777s TAP version 14 777s # random seed: R02Sa569a7f15ab7a499ea809ad0f203f517 777s 1..4 777s # Start of refcount tests 777s ok 1 /refcount/grefcount 777s ok 2 /refcount/gatomicrefcount 777s # Start of grefcount tests 777s ok 3 /refcount/grefcount/saturation 777s # End of grefcount tests 777s # Start of gatomicrefcount tests 777s ok - glib/refcount.test 777s # Running test: glib/utils-c-89.test 777s ok 4 /refcount/gatomicrefcount/saturation 777s # End of gatomicrefcount tests 777s # End of refcount tests 777s TAP version 14 777s # random seed: R02S477a5cabae921ff048b2f3e37b08ed17 777s 1..41 777s # Start of utils tests 777s ok 1 /utils/language-names 777s ok 2 /utils/locale-variants 777s ok 3 /utils/version 777s ok 4 /utils/appname 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 777s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 777s ok 5 /utils/prgname-thread-safety 777s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 777s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 777s ok 6 /utils/tmpdir 777s ok 7 /utils/basic_bits 777s ok 8 /utils/bits 777s ok 9 /utils/swap 777s ok 10 /utils/find-program 777s ok 11 /utils/find-program-for-path 777s ok 12 /utils/debug 777s ok 13 /utils/codeset 777s ok 14 /utils/codeset2 777s ok 15 /utils/console-charset 777s ok 16 /utils/gettext 777s ok 17 /utils/username 777s ok 18 /utils/realname 777s ok 19 /utils/hostname 777s ok 20 /utils/xdgdirs 777s ok 21 /utils/specialdir 777s # NAME: Ubuntu 777s ok 22 /utils/os-info 777s ok 23 /utils/clear-pointer 777s ok 24 /utils/clear-pointer-cast 777s ok 25 /utils/take-pointer 777s ok 26 /utils/clear-source 777s ok 27 /utils/misc-mem 777s # /utils/aligned-mem summary: Aligned memory allocator 777s # Alignment must not be zero 777s # Alignment must be a power of two 777s # Alignment must be a multiple of sizeof(void*) 777s ok 28 /utils/aligned-mem 777s # /utils/free-sized summary: Check that g_free_sized() works 777s ok 29 /utils/free-sized 777s ok 30 /utils/nullify 777s ok 31 /utils/atexit 777s ok 32 /utils/check-setuid 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 777s ok 33 /utils/int-limits 777s ok 34 /utils/clear-list 777s ok 35 /utils/clear-slist 777s ok 36 /utils/steal-handle-id 777s # Start of specialdir tests 777s ok 37 /utils/specialdir/desktop 777s # End of specialdir tests 777s # Start of clear-pointer tests 777s ok - glib/utils-c-89.test 777s # Running test: glib/pathbuf.test 777s ok 38 /utils/clear-pointer/side-effects 777s # End of clear-pointer tests 777s # Start of aligned-mem tests 777s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 777s ok 39 /utils/aligned-mem/alignment 777s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 777s ok 40 /utils/aligned-mem/zeroed 777s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 777s ok 41 /utils/aligned-mem/free-sized 777s # Start of subprocess tests 777s # End of subprocess tests 777s # End of aligned-mem tests 777s # End of utils tests 777s TAP version 14 777s # random seed: R02Sdf5ae1fc7c3fb82260d481d569525a53 777s 1..3 777s # Start of pathbuf tests 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_FXB052/pathbuf/init/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_FXB052/pathbuf/init/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_FXB052/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_FXB052/pathbuf/init/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_FXB052/pathbuf/init/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_FXB052/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_FXB052/pathbuf/init/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_FXB052/pathbuf/init/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_FXB052/pathbuf/init/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_FXB052/pathbuf/init/.dirs/runtime 777s # Initializing empty path buf 777s # Initializing with empty path 777s # Initializing with full path 777s # Initializing with no path 777s # Allocating GPathBuf on the heap 777s ok 1 /pathbuf/init 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_FXB052/pathbuf/push-pop/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_FXB052/pathbuf/push-pop/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_FXB052/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_FXB052/pathbuf/push-pop/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_FXB052/pathbuf/push-pop/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_FXB052/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_FXB052/pathbuf/push-pop/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_FXB052/pathbuf/push-pop/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_FXB052/pathbuf/push-pop/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_FXB052/pathbuf/push-pop/.dirs/runtime 777s ok - glib/pathbuf.test 777s # Running test: glib/closure-refcount.test 777s # Pushing relative path component 777s # Pushing absolute path component 777s # Popping a path component 777s # Can't pop the last element of a path buffer 777s ok 2 /pathbuf/push-pop 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_FXB052/pathbuf/filename-extension/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_FXB052/pathbuf/filename-extension/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_FXB052/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_FXB052/pathbuf/filename-extension/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_FXB052/pathbuf/filename-extension/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_FXB052/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_FXB052/pathbuf/filename-extension/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_FXB052/pathbuf/filename-extension/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_FXB052/pathbuf/filename-extension/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_FXB052/pathbuf/filename-extension/.dirs/runtime 777s ok 3 /pathbuf/filename-extension 777s # End of pathbuf tests 777s TAP version 14 777s # random seed: R02S77fbf669dcd73200747b46aeabf407a2 777s 1..1 777s # Start of closure tests 777s # Init 0x1a5354975d30 777s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from thread1 778s # Yielding from main thread 778s # Yielding from thread2 778s # Executing: glib/closure-refcount.test 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from thread1 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from thread2 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from thread1 778s # Yielding from main thread 778s # Yielding from thread2 778s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from thread1 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread1 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from thread1 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from thread1 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from thread1 781s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from thread2 782s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from thread1 782s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from thread1 782s # Yielding from thread2 782s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from thread1 782s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from thread2 782s # Yielding from main thread 782s # Yielding from main thread 782s # Yielding from main thread 783s # Yielding from main thread 783s # Yielding from main thread 784s # Yielding from thread2 784s ok - glib/closure-refcount.test 784s # Running test: glib/tls-interaction.test 784s # Executing: glib/tls-interaction.test 784s ok - glib/tls-interaction.test 784s # Running test: glib/memory-output-stream.test 784s ok - glib/memory-output-stream.test 784s # Running test: glib/signals-refcount2.test 784s # Yielding from main thread 784s # Yielding from main thread 784s # Yielding from thread1 784s # Stopping 784s # Stopped 784s ok 1 /closure/refcount 784s # slow test /closure/refcount executed in 5.35 secs 784s # End of closure tests 784s TAP version 14 784s # random seed: R02S89aad73dfdd179e51c18c4d776a5430f 784s 1..42 784s # Start of tls-interaction tests 784s # Start of ask-password tests 784s # Start of invoke-with-loop tests 784s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 784s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 784s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 784s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 784s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 784s # End of invoke-with-loop tests 784s # Start of invoke-without-loop tests 784s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 784s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 784s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 784s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 784s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 784s # End of invoke-without-loop tests 784s # Start of invoke-in-loop tests 784s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 784s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 784s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 784s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 784s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 784s # End of invoke-in-loop tests 784s # Start of sync tests 784s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 784s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 784s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 784s # End of sync tests 784s # Start of async tests 784s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 784s ok 20 /tls-interaction/ask-password/async/async-implementation-success 784s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 784s # End of async tests 784s # End of ask-password tests 784s # Start of request-certificate tests 784s # Start of invoke-with-loop tests 784s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 784s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 784s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 784s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 784s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 784s # End of invoke-with-loop tests 784s # Start of invoke-without-loop tests 784s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 784s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 784s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 784s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 784s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 784s # End of invoke-without-loop tests 784s # Start of invoke-in-loop tests 784s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 784s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 784s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 784s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 784s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 784s # End of invoke-in-loop tests 784s # Start of sync tests 784s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 784s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 784s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 784s # End of sync tests 784s # Start of async tests 784s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 784s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 784s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 784s # End of async tests 784s # End of request-certificate tests 784s # End of tls-interaction tests 784s TAP version 14 784s # random seed: R02S9b15cc835c2cea42bc5a2308ea844f06 784s 1..10 784s # Start of memory-output-stream tests 784s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 784s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 784s ok 1 /memory-output-stream/truncate 784s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 784s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 784s ok 2 /memory-output-stream/get-data-size 784s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 784s ok 3 /memory-output-stream/properties 784s ok 4 /memory-output-stream/write-bytes 784s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 784s ok 5 /memory-output-stream/write-null 784s ok 6 /memory-output-stream/writev 784s ok 7 /memory-output-stream/writev_nonblocking 784s ok 8 /memory-output-stream/steal_as_bytes 784s # Start of seek tests 784s ok 9 /memory-output-stream/seek/fixed 784s ok 10 /memory-output-stream/seek/resizable 784s # End of seek tests 784s # End of memory-output-stream tests 784s TAP version 14 784s # random seed: R02S25f1a94755efe388354f5f815e5055e3 784s 1..1 784s # Start of gobject tests 784s # Start of refcount tests 784s # init 0x1d59538cddd0 784s # 784s # init 0x1d59538ca310 784s # 789s # Executing: glib/signals-refcount2.test 789s # dispose 0x1d59538cddd0! 789s # 789s # dispose 0x1d59538ca310! 789s # 789s ok 1 /gobject/refcount/signals 789s # slow test /gobject/refcount/signals executed in 5.00 secs 789s # End of refcount tests 789s # End of gobject tests 789s ok - glib/signals-refcount2.test 789s # Running test: glib/gdbus-subscribe.test 789s ok - glib/gdbus-subscribe.test 789s # Running test: glib/memory-monitor-portal.test 789s ok - glib/memory-monitor-portal.test 789s # Running test: glib/cxx-2b.test 789s ok - glib/cxx-2b.test 789s # Running test: glib/debugcontroller.test 789s ok - glib/debugcontroller.test 789s # Running test: glib/keyfile.test 789s ok - glib/keyfile.test 789s # Running test: glib/cancellable.test 789s TAP version 14 789s # random seed: R02Sc78d30a4a88379c1f37750dc4175a944 789s 1..24 789s # Start of gdbus tests 789s # Start of subscribe tests 789s # Start of conn tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/simple/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/simple/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/simple/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/simple/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/simple/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/simple/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/simple/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/simple/.dirs/runtime 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 789s # Step 0: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 1: adding subscription 789s # Sender: (any) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Waiting for AddMatch to be processed 789s # Step 2: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 2 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 1 /gdbus/subscribe/conn/simple 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 789s # Step 0: adding subscription 789s # Sender: (any) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Waiting for AddMatch to be processed 789s # Step 1: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 2: emitting signal 789s # Sender: service 2 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 3: emitting signal 789s # Sender: service 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 4: emitting signal 789s # Sender: service 2 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 1 789s # Signal received from service 2 :1.2 789s # Signal received from service 2 :1.2 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 2 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 3 789s # Signal received from service 2 :1.2 789s # Signal received from service 2 :1.2 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 789s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 789s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 789s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/match_twice/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/match_twice/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/match_twice/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/match_twice/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/match_twice/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/match_twice/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/match_twice/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/match_twice/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 789s # Step 0: adding subscription 789s # Sender: service :1.1 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Waiting for AddMatch to be processed 789s # Step 1: adding subscription 789s # Sender: (any) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: (any) 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Waiting for AddMatch to be processed 789s # Step 2: adding subscription 789s # Sender: (any) 789s # Path: (any) 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Waiting for AddMatch to be processed 789s # Step 3: adding subscription 789s # Sender: service :1.1 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Waiting for AddMatch to be processed 789s # Step 4: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 3 /gdbus/subscribe/conn/match_twice 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 789s # Step 0: adding subscription 789s # Sender: service :1.1 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Waiting for AddMatch to be processed 789s # Step 1: emitting signal 789s # Sender: attacker 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 2: emitting signal 789s # Sender: attacker 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 3: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 3 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 789s # Step 0: adding subscription 789s # Sender: :0.this.had.better.not.exist 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Waiting for AddMatch to be processed 789s # Step 1: emitting signal 789s # Sender: attacker 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 2: emitting signal 789s # Sender: attacker 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /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 789s # Step 0: claiming bus name 789s # Name: org.gtk.Test.AlreadyOwned 789s # Owner: service 789s # Step 1: adding subscription 789s # Sender: org.gtk.Test.AlreadyOwned 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Waiting for AddMatch to be processed 789s # Step 2: adding subscription 789s # Sender: org.gtk.Test.OwnedLater 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Waiting for AddMatch to be processed 789s # Step 3: emitting signal 789s # Sender: attacker 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 4: emitting signal 789s # Sender: attacker 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 5: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 6: claiming bus name 789s # Name: org.gtk.Test.OwnedLater 789s # Owner: service 789s # Step 7: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 5 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 7 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 7 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 789s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 789s # Step 0: adding subscription 789s # Sender: org.freedesktop.DBus 789s # Path: /org/freedesktop/DBus 789s # Interface: org.freedesktop.DBus 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Waiting for AddMatch to be processed 789s # Step 1: emitting signal 789s # Sender: attacker 789s # Destination: (broadcast) 789s # Path: /org/freedesktop/DBus 789s # Interface: org.freedesktop.DBus 789s # Member: NameOwnerChanged 789s # String argument 0: would I lie to you? 789s # Waiting for signal to reach message bus 789s # Step 2: emitting signal 789s # Sender: attacker 789s # Destination: subscriber :1.0 789s # Path: /org/freedesktop/DBus 789s # Interface: org.freedesktop.DBus 789s # Member: NameOwnerChanged 789s # Waiting for signal to reach message bus 789s # Step 3: claiming bus name 789s # Name: org.gtk.Test.OwnedLater 789s # Owner: service 789s # Signal received from message bus org.freedesktop.DBus 789s # Signal received from (unused) org.freedesktop.DBus via connection 789s # Path: /org/freedesktop/DBus 789s # Interface: org.freedesktop.DBus 789s # Member: NameOwnerChanged 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 789s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 789s # Step 0: claiming bus name 789s # Name: org.gtk.Test.AlreadyOwned 789s # Owner: service 789s # Step 1: adding subscription 789s # Sender: org.gtk.Test.AlreadyOwned 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Immediately unsubscribing 789s # Waiting for AddMatch to be processed 789s # Step 2: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 789s # End of conn tests 789s # Start of proxy tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/simple/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/simple/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/simple/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/simple/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/simple/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/simple/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/simple/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/simple/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 789s # Step 0: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 1: adding subscription 789s # Sender: (any) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Cannot subscribe via proxy: no bus name 789s # Waiting for AddMatch to be processed 789s # Step 2: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 9 /gdbus/subscribe/proxy/simple 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 789s # Step 0: adding subscription 789s # Sender: (any) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Cannot subscribe via proxy: no bus name 789s # Waiting for AddMatch to be processed 789s # Step 1: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 2: emitting signal 789s # Sender: service 2 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 3: emitting signal 789s # Sender: service 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 4: emitting signal 789s # Sender: service 2 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/match_twice/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/match_twice/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/match_twice/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/match_twice/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/match_twice/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/match_twice/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 789s # Step 0: adding subscription 789s # Sender: service :1.1 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 1: adding subscription 789s # Sender: (any) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: (any) 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Cannot subscribe via proxy: no bus name 789s # Waiting for AddMatch to be processed 789s # Step 2: adding subscription 789s # Sender: (any) 789s # Path: (any) 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Cannot subscribe via proxy: no bus name 789s # Waiting for AddMatch to be processed 789s # Step 3: adding subscription 789s # Sender: service :1.1 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 4: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 11 /gdbus/subscribe/proxy/match_twice 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 789s # Step 0: adding subscription 789s # Sender: service :1.1 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 1: emitting signal 789s # Sender: attacker 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 2: emitting signal 789s # Sender: attacker 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 3: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 3 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 789s # Step 0: adding subscription 789s # Sender: :0.this.had.better.not.exist 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 1: emitting signal 789s # Sender: attacker 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 2: emitting signal 789s # Sender: attacker 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /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 789s # Step 0: claiming bus name 789s # Name: org.gtk.Test.AlreadyOwned 789s # Owner: service 789s # Step 1: adding subscription 789s # Sender: org.gtk.Test.AlreadyOwned 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 2: adding subscription 789s # Sender: org.gtk.Test.OwnedLater 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 3: emitting signal 789s # Sender: attacker 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 4: emitting signal 789s # Sender: attacker 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 5: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 6: claiming bus name 789s # Name: org.gtk.Test.OwnedLater 789s # Owner: service 789s # Step 7: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 5 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 7 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 7 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 789s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 789s # Step 0: adding subscription 789s # Sender: org.freedesktop.DBus 789s # Path: /org/freedesktop/DBus 789s # Interface: org.freedesktop.DBus 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 1: emitting signal 789s # Sender: attacker 789s # Destination: (broadcast) 789s # Path: /org/freedesktop/DBus 789s # Interface: org.freedesktop.DBus 789s # Member: NameOwnerChanged 789s # String argument 0: would I lie to you? 789s # Waiting for signal to reach message bus 789s # Step 2: emitting signal 789s # Sender: attacker 789s # Destination: subscriber :1.0 789s # Path: /org/freedesktop/DBus 789s # Interface: org.freedesktop.DBus 789s # Member: NameOwnerChanged 789s # Waiting for signal to reach message bus 789s # Step 3: claiming bus name 789s # Name: org.gtk.Test.OwnedLater 789s # Owner: service 789s # Signal received from message bus org.freedesktop.DBus 789s # Signal received from (unused) org.freedesktop.DBus via proxy 789s # Path: /org/freedesktop/DBus 789s # Interface: org.freedesktop.DBus 789s # Member: NameOwnerChanged 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 789s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 789s # Step 0: claiming bus name 789s # Name: org.gtk.Test.AlreadyOwned 789s # Owner: service 789s # Step 1: adding subscription 789s # Sender: org.gtk.Test.AlreadyOwned 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 2: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 2 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 789s # End of proxy tests 789s # Start of parallel tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/simple/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/simple/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/simple/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/simple/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/simple/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/simple/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/simple/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/simple/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 789s # Step 0: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 1: adding subscription 789s # Sender: (any) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Cannot subscribe via proxy: no bus name 789s # Waiting for AddMatch to be processed 789s # Step 2: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 2 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 789s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 17 /gdbus/subscribe/parallel/simple 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 789s # Step 0: adding subscription 789s # Sender: (any) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Cannot subscribe via proxy: no bus name 789s # Waiting for AddMatch to be processed 789s # Step 1: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 2: emitting signal 789s # Sender: service 2 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 3: emitting signal 789s # Sender: service 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 4: emitting signal 789s # Sender: service 2 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 1 789s # Signal received from service 2 :1.2 789s # Signal received from service 2 :1.2 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 2 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 3 789s # Signal received from service 2 :1.2 789s # Signal received from service 2 :1.2 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 789s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 789s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 789s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 789s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/match_twice/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/match_twice/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/match_twice/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/match_twice/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/match_twice/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/match_twice/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 789s # Step 0: adding subscription 789s # Sender: service :1.1 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 1: adding subscription 789s # Sender: (any) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: (any) 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Cannot subscribe via proxy: no bus name 789s # Waiting for AddMatch to be processed 789s # Step 2: adding subscription 789s # Sender: (any) 789s # Path: (any) 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Cannot subscribe via proxy: no bus name 789s # Waiting for AddMatch to be processed 789s # Step 3: adding subscription 789s # Sender: service :1.1 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 4: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 4 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 789s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 19 /gdbus/subscribe/parallel/match_twice 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 789s # Step 0: adding subscription 789s # Sender: service :1.1 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 1: emitting signal 789s # Sender: attacker 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 2: emitting signal 789s # Sender: attacker 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 3: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 3 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 3 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 789s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 789s # Step 0: adding subscription 789s # Sender: :0.this.had.better.not.exist 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 1: emitting signal 789s # Sender: attacker 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 2: emitting signal 789s # Sender: attacker 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /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 789s # Step 0: claiming bus name 789s # Name: org.gtk.Test.AlreadyOwned 789s # Owner: service 789s # Step 1: adding subscription 789s # Sender: org.gtk.Test.AlreadyOwned 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 2: adding subscription 789s # Sender: org.gtk.Test.OwnedLater 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 3: emitting signal 789s # Sender: attacker 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 4: emitting signal 789s # Sender: attacker 789s # Destination: subscriber :1.0 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 5: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Step 6: claiming bus name 789s # Name: org.gtk.Test.OwnedLater 789s # Owner: service 789s # Step 7: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 5 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 5 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 7 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 7 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via connection 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 7 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 7 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 789s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 789s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 789s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 789s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 789s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 789s # Step 0: adding subscription 789s # Sender: org.freedesktop.DBus 789s # Path: /org/freedesktop/DBus 789s # Interface: org.freedesktop.DBus 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 1: emitting signal 789s # Sender: attacker 789s # Destination: (broadcast) 789s # Path: /org/freedesktop/DBus 789s # Interface: org.freedesktop.DBus 789s # Member: NameOwnerChanged 789s # String argument 0: would I lie to you? 789s # Waiting for signal to reach message bus 789s # Step 2: emitting signal 789s # Sender: attacker 789s # Destination: subscriber :1.0 789s # Path: /org/freedesktop/DBus 789s # Interface: org.freedesktop.DBus 789s # Member: NameOwnerChanged 789s # Waiting for signal to reach message bus 789s # Step 3: claiming bus name 789s # Name: org.gtk.Test.OwnedLater 789s # Owner: service 789s # Signal received from message bus org.freedesktop.DBus 789s # Signal received from (unused) org.freedesktop.DBus via connection 789s # Path: /org/freedesktop/DBus 789s # Interface: org.freedesktop.DBus 789s # Member: NameOwnerChanged 789s # Signal received from message bus org.freedesktop.DBus 789s # Signal received from (unused) org.freedesktop.DBus via proxy 789s # Path: /org/freedesktop/DBus 789s # Interface: org.freedesktop.DBus 789s # Member: NameOwnerChanged 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 789s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 789s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GSN352/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # subscriber is :1.0 789s # service is :1.1 789s # service 2 is :1.2 789s # attacker is :1.3 789s # Waiting for AddMatch to be processed 789s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 789s # Step 0: claiming bus name 789s # Name: org.gtk.Test.AlreadyOwned 789s # Owner: service 789s # Step 1: adding subscription 789s # Sender: org.gtk.Test.AlreadyOwned 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: (any) 789s # String argument 0: (any) 789s # Flags: 0 789s # Subscribing via connection 789s # Immediately unsubscribing 789s # Subscribing via proxy 789s # Waiting for AddMatch to be processed 789s # Step 2: emitting signal 789s # Sender: service 789s # Destination: (broadcast) 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Waiting for signal to reach message bus 789s # Signal received from service :1.1 789s # Signal received from service :1.1 via proxy 789s # Path: /org/gtk/GDBus/ExampleInterface 789s # Interface: org.gtk.GDBus.ExampleInterface 789s # Member: Foo 789s # Argument 0: (not a string) 789s # Sent in step: 2 789s # Received Finished signal from subscriber :1.0 789s # Received Finished signal from service :1.1 789s # Received Finished signal from service 2 :1.2 789s # Received Finished signal from attacker :1.3 789s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 789s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 789s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 789s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 789s # End of parallel tests 789s # End of subscribe tests 789s # End of gdbus tests 789s TAP version 13 789s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 789s 1..1 789s TAP version 14 789s # random seed: R02Se5894b5975a8d757dc3f228a2f99fed2 789s 1..2 789s # Start of gtask tests 789s # 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. 789s ok 1 /gtask/name 789s # Start of name tests 789s # 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. 789s ok 2 /gtask/name/macro-wrapper 789s # End of name tests 789s # End of gtask tests 789s TAP version 14 789s # random seed: R02S13b9426152d526412e166d075ef44f4a 789s 1..3 789s # Start of debug-controller tests 789s # Start of dbus tests 789s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 789s # GLib-GIO-DEBUG: Debug output enabled 789s # GLib-GIO-DEBUG: Debug output disabled 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 1 /debug-controller/dbus/basic 789s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok 2 /debug-controller/dbus/duplicate 789s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 789s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 789s # End of dbus tests 789s # End of debug-controller tests 789s TAP version 14 789s # random seed: R02S13a958c693581261512100bdf35a55a5 789s 1..36 789s # Start of keyfile tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/line-ends/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/line-ends/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/line-ends/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/line-ends/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/line-ends/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/line-ends/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/line-ends/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/line-ends/.dirs/runtime 789s ok 1 /keyfile/line-ends 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/whitespace/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/whitespace/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/whitespace/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/whitespace/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/whitespace/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/whitespace/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/whitespace/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/whitespace/.dirs/runtime 789s ok 2 /keyfile/whitespace 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/comments/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/comments/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/comments/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/comments/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/comments/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/comments/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/comments/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/comments/.dirs/runtime 789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 789s ok 3 /keyfile/comments 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/listing/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/listing/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/listing/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/listing/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/listing/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/listing/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/listing/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/listing/.dirs/runtime 789s ok 4 /keyfile/listing 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/string/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/string/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/string/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/string/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/string/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/string/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/string/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/string/.dirs/runtime 789s ok 5 /keyfile/string 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/boolean/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/boolean/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/boolean/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/boolean/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/boolean/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/boolean/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/boolean/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/boolean/.dirs/runtime 789s ok 6 /keyfile/boolean 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/number/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/number/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/number/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/number/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/number/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/number/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/number/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/number/.dirs/runtime 789s ok 7 /keyfile/number 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/locale-string/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/locale-string/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/locale-string/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/locale-string/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/locale-string/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/locale-string/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/locale-string/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/locale-string/.dirs/runtime 789s ok 8 /keyfile/locale-string 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/lists/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/lists/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/lists/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/lists/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/lists/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/lists/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/lists/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/lists/.dirs/runtime 789s ok 9 /keyfile/lists 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/lists-set-get/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/lists-set-get/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/lists-set-get/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/lists-set-get/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/lists-set-get/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/lists-set-get/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/lists-set-get/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/lists-set-get/.dirs/runtime 789s ok 10 /keyfile/lists-set-get 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/group-remove/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/group-remove/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/group-remove/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/group-remove/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/group-remove/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/group-remove/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/group-remove/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/group-remove/.dirs/runtime 789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 789s ok 11 /keyfile/group-remove 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/key-remove/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/key-remove/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/key-remove/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/key-remove/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/key-remove/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/key-remove/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/key-remove/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/key-remove/.dirs/runtime 789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 789s ok 12 /keyfile/key-remove 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/groups/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/groups/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/groups/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/groups/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/groups/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/groups/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/groups/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/groups/.dirs/runtime 789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 789s ok 13 /keyfile/groups 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-keys/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-keys/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/duplicate-keys/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-keys/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/duplicate-keys/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-keys/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-keys/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/duplicate-keys/.dirs/runtime 789s ok 14 /keyfile/duplicate-keys 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/duplicate-groups/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/duplicate-groups/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups/.dirs/runtime 789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 789s ok 15 /keyfile/duplicate-groups 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups2/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups2/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/duplicate-groups2/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups2/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/duplicate-groups2/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups2/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups2/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/duplicate-groups2/.dirs/runtime 789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 789s ok 16 /keyfile/duplicate-groups2 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/group-names/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/group-names/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/group-names/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/group-names/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/group-names/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/group-names/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/group-names/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/group-names/.dirs/runtime 789s ok 17 /keyfile/group-names 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/key-names/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/key-names/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/key-names/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/key-names/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/key-names/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/key-names/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/key-names/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/key-names/.dirs/runtime 789s ok 18 /keyfile/key-names 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/reload/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/reload/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/reload/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/reload/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/reload/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/reload/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/reload/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/reload/.dirs/runtime 789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 789s ok 19 /keyfile/reload 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/int64/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/int64/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/int64/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/int64/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/int64/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/int64/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/int64/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/int64/.dirs/runtime 789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 789s ok 20 /keyfile/int64 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/load/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/load/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/load/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/load/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/load/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/load/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/load/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/load/.dirs/runtime 789s ok 21 /keyfile/load 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/save/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/save/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/save/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/save/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/save/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/save/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/save/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/save/.dirs/runtime 789s ok 22 /keyfile/save 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/load-fail/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/load-fail/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/load-fail/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/load-fail/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/load-fail/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/load-fail/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/load-fail/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/load-fail/.dirs/runtime 789s ok 23 /keyfile/load-fail 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/non-utf8/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/non-utf8/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/non-utf8/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/non-utf8/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/non-utf8/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/non-utf8/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/non-utf8/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/non-utf8/.dirs/runtime 789s ok 24 /keyfile/non-utf8 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/page-boundary/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/page-boundary/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/page-boundary/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/page-boundary/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/page-boundary/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/page-boundary/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/page-boundary/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/page-boundary/.dirs/runtime 789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 789s ok 25 /keyfile/page-boundary 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/ref/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/ref/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/ref/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/ref/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/ref/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/ref/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/ref/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/ref/.dirs/runtime 789s ok 26 /keyfile/ref 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/replace-value/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/replace-value/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/replace-value/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/replace-value/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/replace-value/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/replace-value/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/replace-value/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/replace-value/.dirs/runtime 789s ok 27 /keyfile/replace-value 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/list-separator/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/list-separator/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/list-separator/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/list-separator/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/list-separator/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/list-separator/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/list-separator/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/list-separator/.dirs/runtime 789s ok 28 /keyfile/list-separator 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/empty-string/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/empty-string/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/empty-string/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/empty-string/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/empty-string/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/empty-string/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/empty-string/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/empty-string/.dirs/runtime 789s ok 29 /keyfile/empty-string 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/limbo/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/limbo/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/limbo/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/limbo/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/limbo/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/limbo/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/limbo/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/limbo/.dirs/runtime 789s ok 30 /keyfile/limbo 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/utf8/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/utf8/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/utf8/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/utf8/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/utf8/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/utf8/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/utf8/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/utf8/.dirs/runtime 789s # Testing invalid encoding ?non-UTF-8? 789s # Testing invalid encoding ?UTF? 789s # Testing invalid encoding ?UTF-9? 789s ok 31 /keyfile/utf8 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/roundtrip/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/roundtrip/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/roundtrip/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/roundtrip/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/roundtrip/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/roundtrip/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/roundtrip/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/roundtrip/.dirs/runtime 789s ok 32 /keyfile/roundtrip 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/bytes/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/bytes/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/bytes/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/bytes/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/bytes/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/bytes/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/bytes/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/bytes/.dirs/runtime 789s ok 33 /keyfile/bytes 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/get-locale/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/get-locale/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/get-locale/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/get-locale/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/get-locale/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/get-locale/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/get-locale/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/get-locale/.dirs/runtime 789s ok 34 /keyfile/get-locale 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/free-when-not-last-ref/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/free-when-not-last-ref/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/free-when-not-last-ref/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/free-when-not-last-ref/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/free-when-not-last-ref/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/free-when-not-last-ref/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/free-when-not-last-ref/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/free-when-not-last-ref/.dirs/runtime 789s ok 35 /keyfile/free-when-not-last-ref 789s # Start of locale-string tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Z66X52/keyfile/locale-string/multiple-loads/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Z66X52/keyfile/locale-string/multiple-loads/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Z66X52/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_Z66X52/keyfile/locale-string/multiple-loads/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Z66X52/keyfile/locale-string/multiple-loads/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Z66X52/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_Z66X52/keyfile/locale-string/multiple-loads/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Z66X52/keyfile/locale-string/multiple-loads/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Z66X52/keyfile/locale-string/multiple-loads/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Z66X52/keyfile/locale-string/multiple-loads/.dirs/runtime 789s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 789s ok 36 /keyfile/locale-string/multiple-loads 789s # End of locale-string tests 789s # End of keyfile tests 789s TAP version 14 789s # random seed: R02S744fd1b65a1abb083797f90bbc6a1aa5 789s 1..18 789s # Start of cancellable tests 789s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 789s ok 2 /cancellable/null 789s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 789s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 789s ok 4 /cancellable/connect-to-disposing-callback 789s ok 5 /cancellable/connect-cancelled-data-is-destroyed 789s # Toggle reference callback for GCancellable (0x1bb4e8d84cd0), last: 1 789s # Toggle reference callback for GCancellable (0x1bb4e8d84cd0), last: 0 789s # Toggle reference callback for GCancellable (0x1bb4e8d84cd0), last: 1 789s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 789s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 789s ok 7 /cancellable/connect-cancelled-to-disposing-callback 789s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 789s # Toggle reference callback for GCancellable (0x1bb4e8d84cd0), last: 1 789s # Toggle reference callback for GCancellable (0x1bb4e8d84cd0), last: 0 789s # Toggle reference callback for GCancellable (0x1bb4e8d84cd0), last: 1 789s # Toggle reference callback for GCancellable (0x1bb4e8d84cd0), last: 0 789s # Toggle reference callback for GCancellable (0x1bb4e8d84cd0), last: 1 789s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 789s # /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 789s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 789s # /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 789s ok 11 /cancellable/resets-on-cancel-callback-hangs 789s ok 12 /cancellable/poll-fd 789s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 789s ok 13 /cancellable/poll-fd-cancelled 789s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 789s ok 14 /cancellable/poll-fd-cancelled-threaded 789s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 789s ok 15 /cancellable/cancel-reset-races 789s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 789s not ok 16 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 789s # End of cancellable tests 789s # Start of cancellable-source tests 789s # /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) 789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 790s ok 17 /cancellable-source/threaded-dispose 790s # slow test /cancellable-source/threaded-dispose executed in 0.79 secs 790s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 790s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 790s ok 18 /cancellable-source/can-be-fired-multiple-times 790s # End of cancellable-source tests 790s ok - glib/cancellable.test 790s # Running test: glib/relation.test 790s TAP version 14 790s # random seed: R02Sd4ea85e7d48fd342c85c940621066c17 790s 1..1 790s # Start of glib tests 790s ok 1 /glib/relation 790s # End of glib tests 790s ok - glib/relation.test 790s # Running test: glib/socket-listener.test 790s TAP version 14 790s # random seed: R02S9e1c82c8938bea9cfa5c901b6bc8a72a 790s 1..1 790s # Start of socket-listener tests 790s ok 1 /socket-listener/event-signal 790s # End of socket-listener tests 790s ok - glib/socket-listener.test 790s # Running test: glib/cxx-17.test 790s ok - glib/cxx-17.test 790s # Running test: glib/properties-refcount1.test 790s TAP version 14 790s # random seed: R02S7743a9fefa8e8d07dc85f1907201eb92 790s 1..2 790s # Start of gtask tests 790s # 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. 790s ok 1 /gtask/name 790s # Start of name tests 790s # 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. 790s ok 2 /gtask/name/macro-wrapper 790s # End of name tests 790s # End of gtask tests 790s TAP version 14 790s # random seed: R02S835f81686680539bed2392405808c4f2 790s 1..1 790s # Start of gobject tests 790s # Start of refcount tests 790s # .f 790s # .b 790s # .d 790s # .e 790s # .c 790s # .b 790s # .f 790s # .d 790s # .c 790s # .e 790s # .c 790s # .b 790s # .e 790s # .f 790s # .d 790s # .e 790s # .b 790s # .f 790s # .c 790s # .d 790s # .e 790s # .d 790s # .f 790s # .b 790s # .c 790s # .e 790s # .b 790s # .d 791s # .c 791s # .f 791s # .e 791s # .d 791s # .b 791s # .f 791s # .c 791s # .e 791s # .d 791s # .b 791s # .f 791s # .e 791s # .c 791s # .d 791s # .f 791s # .b 791s # .e 791s # .c 791s # .d 791s # .f 791s # .b 791s # .d 791s # .c 791s # .e 791s # .e 791s # .f 791s # .e 791s # .d 791s # .c 791s # .b 791s # .e 791s # .f 791s # .c 791s # .d 791s # .b 791s # .e 792s # .f 792s # .c 792s # .d 792s # .b 792s # .e 792s # .f 792s # .c 792s # .d 792s # .b 792s # .e 792s # .f 792s # .c 792s # .b 792s # .d 792s # .f 792s # .e 792s # .c 792s # .b 792s # .d 792s # .d 792s # .c 792s # .e 792s # .f 792s # .b 792s # .d 792s # .e 792s # .c 792s # .f 792s # .b 792s # .d 792s # .e 792s # .c 792s # .f 792s # .b 792s # .d 792s # .b 792s # .f 792s # .c 792s # .e 793s # .b 793s # .d 793s # .b 793s # .e 793s # .c 793s # .f 793s # .b 793s ok 1 /gobject/refcount/properties-1 793s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 793s # End of refcount tests 793s # End of gobject tests 793s ok - glib/properties-refcount1.test 793s # Running test: glib/boxed.test 793s TAP version 14 793s # random seed: R02Sf2592bad57871354a32c52c258f9d49e 793s 1..27 793s # Start of boxed tests 793s ok 1 /boxed/define 793s ok 2 /boxed/ownership 793s ok 3 /boxed/closure 793s ok 4 /boxed/date 793s ok 5 /boxed/value 793s ok 6 /boxed/string 793s ok 7 /boxed/hashtable 793s ok 8 /boxed/array 793s ok 9 /boxed/ptrarray 793s ok 10 /boxed/regex 793s ok 11 /boxed/varianttype 793s ok 12 /boxed/error 793s ok 13 /boxed/datetime 793s ok 14 /boxed/matchinfo 793s ok 15 /boxed/keyfile 793s ok 16 /boxed/mainloop 793s ok 17 /boxed/maincontext 793s ok 18 /boxed/source 793s ok 19 /boxed/variantbuilder 793s ok 20 /boxed/timezone 793s ok 21 /boxed/pollfd 793s ok 22 /boxed/markup 793s ok 23 /boxed/thread 793s ok 24 /boxed/checksum 793s ok 25 /boxed/tree 793s ok 26 /boxed/patternspec 793s ok 27 /boxed/rand 793s # End of boxed tests 793s ok - glib/boxed.test 793s # Running test: glib/onceinit.test 793s TAP version 14 793s # random seed: R02S24ab5658365a0afd363ca4f7aed141a0 793s 1..1 793s # Start of thread tests 793s # Executing: glib/onceinit.test 793s ok - glib/onceinit.test 793s ok 1 /thread/onceinit 793s # End of thread tests 793s # Running test: glib/signals-refcount4.test 793s TAP version 14 793s # random seed: R02S047c5cb942599211ac73d3a5b0f98e86 793s 1..1 793s # Start of gobject tests 793s # Start of refcount tests 793s # init 0x11663df9ddd0 793s # 793s # init 0x11663df9a310 793s # 798s # Executing: glib/signals-refcount4.test 798s # dispose 0x11663df9ddd0! 798s # 798s # dispose 0x11663df9a310! 798s # 798s ok 1 /gobject/refcount/signals 798s # slow test /gobject/refcount/signals executed in 5.00 secs 798s # End of refcount tests 798s # End of gobject tests 798s ok - glib/signals-refcount4.test 798s # Running test: glib/vfs.test 798s TAP version 14 798s # random seed: R02S3da90ee47430b40cec1c375027a0f69d 798s 1..3 798s # Start of gvfs tests 798s ok 1 /gvfs/local 798s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 798s ok 2 /gvfs/register-scheme 798s # Start of resource tests 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 798s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 798s ok 3 /gvfs/resource/malformed-escaping 798s # End of resource tests 798s # End of gvfs tests 798s ok - glib/vfs.test 798s # Running test: glib/pattern.test 798s TAP version 14 798s # random seed: R02Seec2b9dd88abf3363977ea554769fff3 798s 1..90 798s # Start of pattern tests 798s # Start of compile tests 798s ok 1 /pattern/compile/0 798s ok 2 /pattern/compile/1 798s ok 3 /pattern/compile/2 798s ok 4 /pattern/compile/3 798s ok 5 /pattern/compile/4 798s ok 6 /pattern/compile/5 798s ok 7 /pattern/compile/6 798s ok 8 /pattern/compile/7 798s ok 9 /pattern/compile/8 798s ok 10 /pattern/compile/9 798s ok 11 /pattern/compile/10 798s ok 12 /pattern/compile/11 798s ok 13 /pattern/compile/12 798s ok 14 /pattern/compile/13 798s # End of compile tests 798s # Start of copy tests 798s ok 15 /pattern/copy/0 798s ok 16 /pattern/copy/1 798s ok 17 /pattern/copy/2 798s ok 18 /pattern/copy/3 798s ok 19 /pattern/copy/4 798s ok 20 /pattern/copy/5 798s ok 21 /pattern/copy/6 798s ok 22 /pattern/copy/7 798s ok 23 /pattern/copy/8 798s ok 24 /pattern/copy/9 798s ok 25 /pattern/copy/10 798s ok 26 /pattern/copy/11 798s ok 27 /pattern/copy/12 798s ok 28 /pattern/copy/13 798s # End of copy tests 798s # Start of match tests 798s ok 29 /pattern/match/0 798s ok 30 /pattern/match/1 798s ok 31 /pattern/match/2 798s ok 32 /pattern/match/3 798s ok 33 /pattern/match/4 798s ok 34 /pattern/match/5 798s ok 35 /pattern/match/6 798s ok 36 /pattern/match/7 798s ok - glib/pattern.test 798s # Running test: glib/list.test 798s ok - glib/list.test 798s # Running test: glib/bindinggroup.test 798s ok - glib/bindinggroup.test 798s # Running test: glib/hmac.test 798s ok 37 /pattern/match/8 798s ok 38 /pattern/match/9 798s ok 39 /pattern/match/10 798s ok 40 /pattern/match/11 798s ok 41 /pattern/match/12 798s ok 42 /pattern/match/13 798s ok 43 /pattern/match/14 798s ok 44 /pattern/match/15 798s ok 45 /pattern/match/16 798s ok 46 /pattern/match/17 798s ok 47 /pattern/match/18 798s ok 48 /pattern/match/19 798s ok 49 /pattern/match/20 798s ok 50 /pattern/match/21 798s ok 51 /pattern/match/22 798s ok 52 /pattern/match/23 798s ok 53 /pattern/match/24 798s ok 54 /pattern/match/25 798s ok 55 /pattern/match/26 798s ok 56 /pattern/match/27 798s ok 57 /pattern/match/28 798s ok 58 /pattern/match/29 798s ok 59 /pattern/match/30 798s ok 60 /pattern/match/31 798s ok 61 /pattern/match/32 798s ok 62 /pattern/match/33 798s ok 63 /pattern/match/34 798s ok 64 /pattern/match/35 798s ok 65 /pattern/match/36 798s ok 66 /pattern/match/37 798s ok 67 /pattern/match/38 798s ok 68 /pattern/match/39 798s ok 69 /pattern/match/40 798s ok 70 /pattern/match/41 798s ok 71 /pattern/match/42 798s ok 72 /pattern/match/43 798s ok 73 /pattern/match/44 798s ok 74 /pattern/match/45 798s ok 75 /pattern/match/46 798s ok 76 /pattern/match/47 798s ok 77 /pattern/match/48 798s ok 78 /pattern/match/49 798s ok 79 /pattern/match/50 798s # End of match tests 798s # Start of equal tests 798s ok 80 /pattern/equal/0 798s ok 81 /pattern/equal/1 798s ok 82 /pattern/equal/2 798s ok 83 /pattern/equal/3 798s ok 84 /pattern/equal/4 798s ok 85 /pattern/equal/5 798s ok 86 /pattern/equal/6 798s ok 87 /pattern/equal/7 798s ok 88 /pattern/equal/8 798s ok 89 /pattern/equal/9 798s ok 90 /pattern/equal/10 798s # End of equal tests 798s # End of pattern tests 798s TAP version 14 798s # random seed: R02S6f6f5ddc4c9909c3927e7ad6363400ef 798s 1..20 798s # Start of list tests 798s ok 1 /list/sort 798s ok 2 /list/sort-with-data 798s ok 3 /list/insert-before-link 798s ok 4 /list/insert-sorted 798s ok 5 /list/insert-sorted-with-data 798s ok 6 /list/reverse 798s ok 7 /list/nth 798s ok 8 /list/concat 798s ok 9 /list/remove 798s ok 10 /list/remove-all 798s ok 11 /list/first-last 798s ok 12 /list/insert 798s ok 13 /list/free-full 798s ok 14 /list/copy 798s ok 15 /list/copy-deep 798s ok 16 /list/delete-link 798s ok 17 /list/prepend 798s ok 18 /list/position 798s ok 19 /list/double-free 798s # Start of sort tests 798s ok 20 /list/sort/stable 798s # End of sort tests 798s # End of list tests 798s TAP version 14 798s # random seed: R02S3ef0d2b256bd0b5c74c9ca145ad7075d 798s 1..11 798s # Start of GObject tests 798s # Start of BindingGroup tests 798s ok 1 /GObject/BindingGroup/invalid 798s ok 2 /GObject/BindingGroup/default 798s ok 3 /GObject/BindingGroup/bidirectional 798s ok 4 /GObject/BindingGroup/transform 798s ok 5 /GObject/BindingGroup/transform-closures 798s ok 6 /GObject/BindingGroup/same-object 798s ok 7 /GObject/BindingGroup/weak-ref-source 798s ok 8 /GObject/BindingGroup/weak-ref-target 798s ok 9 /GObject/BindingGroup/properties 798s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 798s ok 11 /GObject/BindingGroup/empty-closures 798s # End of BindingGroup tests 798s # End of GObject tests 798s TAP version 14 798s # random seed: R02S138a19f885c0039221967a3a317899d2 798s 1..37 798s # Start of hmac tests 798s ok 1 /hmac/sha1-1 798s ok 2 /hmac/sha1-2 798s ok 3 /hmac/sha1-3 798s ok 4 /hmac/sha1-4 798s ok 5 /hmac/sha1-5 798s ok 6 /hmac/sha1-6 798s ok 7 /hmac/sha1-7 798s ok 8 /hmac/sha256-1 798s ok 9 /hmac/sha256-2 798s ok 10 /hmac/sha256-3 798s ok 11 /hmac/sha256-4 798s ok 12 /hmac/sha256-5 798s ok 13 /hmac/sha256-6 798s ok 14 /hmac/sha384-1 798s ok 15 /hmac/sha384-2 798s ok 16 /hmac/sha384-3 798s ok 17 /hmac/sha384-4 798s ok 18 /hmac/sha384-5 798s ok - glib/hmac.test 798s # Running test: glib/portal-support-flatpak-network-only.test 798s ok - glib/portal-support-flatpak-network-only.test 798s # Running test: glib/memory-monitor.test 798s ok 19 /hmac/sha384-6 798s ok 20 /hmac/sha512-1 798s ok 21 /hmac/sha512-2 798s ok 22 /hmac/sha512-3 798s ok 23 /hmac/sha512-4 798s ok 24 /hmac/sha512-5 798s ok 25 /hmac/sha512-6 798s ok 26 /hmac/md5-1 798s ok 27 /hmac/md5-2 798s ok 28 /hmac/md5-3 798s ok 29 /hmac/md5-4 798s ok 30 /hmac/md5-5 798s ok 31 /hmac/md5-6 798s ok 32 /hmac/md5-7 798s ok 33 /hmac/ref-unref 798s ok 34 /hmac/copy 798s ok 35 /hmac/for-data 798s ok 36 /hmac/for-string 798s ok 37 /hmac/for-bytes 798s # End of hmac tests 798s TAP version 14 798s # random seed: R02S32130ac8282cea30bda9068dff4501fd 798s 1..1 798s # Start of portal-support tests 798s # Start of flatpak tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_D8GA62/portal-support/flatpak/network/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_D8GA62/portal-support/flatpak/network/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_D8GA62/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_D8GA62/portal-support/flatpak/network/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_D8GA62/portal-support/flatpak/network/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_D8GA62/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_D8GA62/portal-support/flatpak/network/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_D8GA62/portal-support/flatpak/network/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_D8GA62/portal-support/flatpak/network/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_D8GA62/portal-support/flatpak/network/.dirs/runtime 798s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_D8GA62/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 798s ok 1 /portal-support/flatpak/network 798s # End of flatpak tests 798s # End of portal-support tests 798s ok - glib/memory-monitor.test 798s # Running test: glib/basics-gobject.test 798s ok - glib/basics-gobject.test 798s # Running test: glib/rcbox.test 798s ok - glib/rcbox.test 798s # Running test: glib/unix.test 798s TAP version 14 798s # random seed: R02S17c53c3062bcc6fc7444699f439276dc 798s 1..1 798s # Start of memory-monitor tests 798s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 798s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 798s ok 1 /memory-monitor/default 798s # End of memory-monitor tests 798s TAP version 14 798s # random seed: R02S39b194e226fe3cd9ee8207fa9572b534 798s 1..1 798s # Start of gobject tests 798s # private data during initialization: 54321 == 54321 798s # MAIN: emit test-signal: 798s # ::test_signal default_handler called 798s # ::test_signal default_handler called 798s # ::test_signal default_handler called 798s # signal return: "" 798s # MAIN: call iface print-string on test and derived object: 798s # Iface-FOO: "iface-string-from-test-type" from 0x1bf6e0d7f260 798s # Iface-BAR: "iface-string-from-derived-type" from 0x1bf6e0d74820 798s # chaining: 798s # Iface-FOO: "iface-string-from-derived-type" from 0x1bf6e0d74820 798s # private data after initialization: 54321 == 54321 798s ok 1 /gobject/basics 798s # End of gobject tests 798s TAP version 14 798s # random seed: R02S3fca152b50e7dbabcb60b4951446e7d2 798s 1..8 798s # Start of rcbox tests 798s ok 1 /rcbox/new 798s # global_point = 0x3511e0c88b0 798s ok 2 /rcbox/release-full 798s # global_point_a = 0x3511e0c88b0 798s # global_point_b = 0x3511e0c8980 798s ok 3 /rcbox/dup 798s ok 4 /rcbox/alignment 798s # End of rcbox tests 798s # Start of atomic-rcbox tests 798s ok 5 /atomic-rcbox/new 798s # global_point = 0x3511e0c8980 798s ok 6 /atomic-rcbox/release-full 798s # global_point_a = 0x3511e0c8980 798s # global_point_b = 0x3511e0c88b0 798s ok 7 /atomic-rcbox/dup 798s ok 8 /atomic-rcbox/alignment 798s # End of atomic-rcbox tests 798s TAP version 14 798s # random seed: R02Sd27add758d5e8ef300c3bbe0587d3d22 798s 1..20 798s # Start of glib-unix tests 798s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 798s ok 1 /glib-unix/closefrom 798s ok 2 /glib-unix/pipe 798s # /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 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 798s ok 3 /glib-unix/pipe-stdio-overwrite 798s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 798s ok 4 /glib-unix/pipe-struct 798s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 798s ok 5 /glib-unix/pipe-struct-auto 798s ok 6 /glib-unix/error 798s ok 7 /glib-unix/nonblocking 798s ok 8 /glib-unix/sighup 798s # slow test /glib-unix/sighup executed in 0.50 secs 799s ok 9 /glib-unix/sigterm 799s # slow test /glib-unix/sigterm executed in 0.50 secs 799s ok 10 /glib-unix/sighup_again 799s # slow test /glib-unix/sighup_again executed in 0.50 secs 799s ok 11 /glib-unix/sighup_add_remove 799s ok 12 /glib-unix/sighup_nested 801s ok 13 /glib-unix/callback_after_signal 801s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 801s ok 14 /glib-unix/child-wait 801s # Start of closefrom tests 801s # Start of subprocess tests 801s # End of subprocess tests 801s # End of closefrom tests 801s # Start of pipe tests 801s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 801s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 801s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 801s ok 15 /glib-unix/pipe/fd-cloexec 801s # End of pipe tests 801s # Start of sighup tests 802s ok 16 /glib-unix/sighup/alternate-stack 802s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 802s # End of sighup tests 802s # Start of sigterm tests 803s # Executing: glib/unix.test 803s ok 17 /glib-unix/sigterm/alternate-stack 803s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 803s # End of sigterm tests 803s # Start of sighup_again tests 804s ok 18 /glib-unix/sighup_again/alternate-stack 804s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 804s # End of sighup_again tests 804s # Start of get-passwd-entry tests 804s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 804s ok 19 /glib-unix/get-passwd-entry/root 804s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 804s ok 20 /glib-unix/get-passwd-entry/nonexistent 804s # End of get-passwd-entry tests 804s # End of glib-unix tests 804s ok - glib/unix.test 804s # Running test: glib/type.test 804s TAP version 14 804s # random seed: R02S0327a95ff4f08ff4ff5dcffea0a9c8f7 804s 1..6 804s # Start of type tests 804s ok 1 /type/registration-serial 804s ok 2 /type/interface-prerequisite 804s ok 3 /type/interface-check 804s ok 4 /type/next-base 804s ok 5 /type/is-a 804s # Invalid types can?t be queried. 804s # Unclassed types can?t be queried. 804s ok 6 /type/query 804s # End of type tests 804s ok - glib/type.test 804s # Running test: glib/gsubprocess.test 804s TAP version 14 804s # random seed: R02S8caf4c90f49c2b20a99905bacdde3fa5 804s 1..84 804s # Start of gsubprocess tests 804s ok 1 /gsubprocess/noop 804s ok 2 /gsubprocess/noop-all-to-null 804s ok 3 /gsubprocess/noop-no-wait 804s ok 4 /gsubprocess/noop-stdin-inherit 804s ok 5 /gsubprocess/search-path 804s ok 6 /gsubprocess/search-path-from-envp 808s # Executing: glib/gsubprocess.test 808s ok 7 /gsubprocess/signal 808s # slow test /gsubprocess/signal executed in 3.30 secs 808s ok 8 /gsubprocess/exit1 808s ok 9 /gsubprocess/echo1 808s ok 10 /gsubprocess/echo-merged 808s ok 11 /gsubprocess/cat-utf8 809s ok 12 /gsubprocess/cat-eof 809s # slow test /gsubprocess/cat-eof executed in 1.00 secs 812s ok 13 /gsubprocess/multi1 812s # slow test /gsubprocess/multi1 executed in 3.01 secs 812s ok 14 /gsubprocess/communicate 813s # Executing: glib/gsubprocess.test 815s ok 15 /gsubprocess/terminate 815s # slow test /gsubprocess/terminate executed in 2.98 secs 815s ok - glib/gsubprocess.test 815s # Running test: glib/macros.test 815s ok - glib/macros.test 815s # Running test: glib/logging.test 815s ok 16 /gsubprocess/fail-initialization 815s ok 17 /gsubprocess/env 815s ok 18 /gsubprocess/cwd 815s ok 19 /gsubprocess/launcher-close 815s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 815s ok 20 /gsubprocess/stdout-file 815s ok 21 /gsubprocess/stdout-fd 815s ok 22 /gsubprocess/child-setup 815s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 815s ok 23 /gsubprocess/launcher-environment 815s # Start of exit1 tests 815s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 815s ok 24 /gsubprocess/exit1/cancel 815s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 815s ok 25 /gsubprocess/exit1/cancel_in_cb 815s # End of exit1 tests 815s # Start of communicate tests 815s ok 26 /gsubprocess/communicate/cancelled 815s ok 27 /gsubprocess/communicate/async 815s ok 28 /gsubprocess/communicate/utf8 815s # hello world 815s ok 29 /gsubprocess/communicate/no-pipes 815s ok 30 /gsubprocess/communicate/separate-stderr 815s ok 31 /gsubprocess/communicate/stdout-only 815s # hello world 815s ok 32 /gsubprocess/communicate/stderr-only 815s ok 33 /gsubprocess/communicate/stdout-silence 815s ok 34 /gsubprocess/communicate/nothing 815s # Start of async tests 815s ok 35 /gsubprocess/communicate/async/cancelled 815s # hello world 815s ok 36 /gsubprocess/communicate/async/no-pipes 815s ok 37 /gsubprocess/communicate/async/separate-stderr 815s ok 38 /gsubprocess/communicate/async/stdout-only 815s # hello world 815s ok 39 /gsubprocess/communicate/async/stderr-only 815s ok 40 /gsubprocess/communicate/async/stdout-silence 815s # Start of cancelled tests 815s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 815s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 815s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 815s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 815s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 815s # End of cancelled tests 815s # End of async tests 815s # Start of utf8 tests 815s ok 46 /gsubprocess/communicate/utf8/cancelled 815s ok 47 /gsubprocess/communicate/utf8/async 815s # hello world 815s ok 48 /gsubprocess/communicate/utf8/no-pipes 815s ok 49 /gsubprocess/communicate/utf8/separate-stderr 815s ok 50 /gsubprocess/communicate/utf8/stdout-only 815s # hello world 815s ok 51 /gsubprocess/communicate/utf8/stderr-only 815s ok 52 /gsubprocess/communicate/utf8/stdout-silence 815s ok 53 /gsubprocess/communicate/utf8/invalid 815s # Start of async tests 815s ok 54 /gsubprocess/communicate/utf8/async/cancelled 815s # hello world 815s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 815s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 815s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 815s # hello world 815s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 815s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 815s ok 60 /gsubprocess/communicate/utf8/async/invalid 815s # Start of cancelled tests 815s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 815s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 815s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 815s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 815s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 815s # End of cancelled tests 815s # End of async tests 815s # Start of cancelled tests 815s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 815s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 815s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 815s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 815s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 815s # End of cancelled tests 815s # End of utf8 tests 815s # Start of cancelled tests 815s ok 71 /gsubprocess/communicate/cancelled/no-pipes 815s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 815s ok 73 /gsubprocess/communicate/cancelled/stdout-only 815s ok 74 /gsubprocess/communicate/cancelled/stderr-only 815s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 815s # End of cancelled tests 815s # End of communicate tests 815s # Start of env tests 815s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 815s ok 76 /gsubprocess/env/inherit 815s # End of env tests 815s # Start of pass-fd tests 815s ok 77 /gsubprocess/pass-fd/basic 815s ok 78 /gsubprocess/pass-fd/empty-child-setup 815s ok 79 /gsubprocess/pass-fd/inherit-fds 815s # End of pass-fd tests 815s # Start of fd-conflation tests 815s ok 80 /gsubprocess/fd-conflation/basic 815s ok 81 /gsubprocess/fd-conflation/empty-child-setup 815s ok 82 /gsubprocess/fd-conflation/inherit-fds 815s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 815s # End of fd-conflation tests 815s # Start of exit-status tests 815s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 815s ok 84 /gsubprocess/exit-status/trapped 815s # End of exit-status tests 815s # End of gsubprocess tests 815s TAP version 14 815s # random seed: R02S8effc7901b6146dc97c0783e805f5a01 815s 1..3 815s # Start of alignof tests 815s ok 1 /alignof/fallback 815s # End of alignof tests 815s # Start of assert tests 815s ok 2 /assert/static 815s # End of assert tests 815s # Start of struct tests 815s ok 3 /struct/sizeof_member 815s # End of struct tests 815s TAP version 14 815s # random seed: R02S11b087d2c4fd4e3fe2c5a2003423e881 815s 1..17 815s # Start of logging tests 815s ok 1 /logging/default-handler 815s # slow test /logging/default-handler executed in 0.52 secs 815s ok 2 /logging/warnings 815s ok 3 /logging/fatal-log-mask 815s # bu-DEBUG: message 815s # ba-DEBUG: message 815s # ba-INFO: message 815s ok 4 /logging/set-handler 815s ok 5 /logging/print-handler 815s ok 6 /logging/printerr-handler 815s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 815s # The Log Message Handler 815s # 815s # The Good Fail Message Handler 815s # 815s ok 7 /logging/653052 815s ok 8 /logging/gibberish 815s # Start of default-handler tests 815s # Start of subprocess tests 815s # End of subprocess tests 815s # End of default-handler tests 815s # End of logging tests 815s # Start of structured-logging tests 815s ok 9 /structured-logging/no-state 815s ok 10 /structured-logging/some-state 815s ok 11 /structured-logging/robustness 815s ok 12 /structured-logging/roundtrip1 815s ok 13 /structured-logging/roundtrip2 815s ok 14 /structured-logging/roundtrip3 815s ok 15 /structured-logging/variant1 815s ok 16 /structured-logging/variant2 815s ok - glib/logging.test 815s ok 17 /structured-logging/set-writer-func-twice 815s # End of structured-logging tests 815s # Running test: glib/markup.test 815s ok - glib/markup.test 815s # Running test: glib/types.test 815s ok - glib/types.test 815s TAP version 14 815s # random seed: R02S4434ed03843f9334de551f8c1ce47047 815s 1..1 815s # Start of markup tests 815s ok 1 /markup/stack 815s # End of markup tests 815s TAP version 14 815s # random seed: R02S9ad8f2c2fd24bb59a54c43646db31b67 815s 1..1 815s # Start of types tests 815s ok 1 /types/basic_types 815s # End of types tests 815s # Running test: glib/queue.test 815s TAP version 14 815s # random seed: R02Sbacbf88c9c109bfe71baa648e6420842 815s 1..12 815s # Start of queue tests 815s ok 1 /queue/basic 815s ok 2 /queue/copy 815s ok 3 /queue/off-by-one 815s ok 4 /queue/find-custom 815s ok 5 /queue/static 815s ok 6 /queue/clear 815s ok 7 /queue/free-full 815s ok 8 /queue/clear-full 815s ok 9 /queue/insert-sibling-link 815s ok 10 /queue/push-nth-link 815s # Start of clear-full tests 815s ok 11 /queue/clear-full/noop 815s # End of clear-full tests 815s # Start of random tests 816s ok - glib/queue.test 816s ok 12 /queue/random/seed:796201422 816s # End of random tests 816s # End of queue tests 816s # Running test: glib/scannerapi.test 816s TAP version 14 816s # random seed: R02Sd0ec210b714fc2a3d87d86c8f7810cdd 816s 1..4 816s # Start of scanner tests 816s ok 1 /scanner/warn 816s ok 2 /scanner/error 816s ok 3 /scanner/symbols 816s ok 4 /scanner/tokens 816s # End of scanner tests 816s ok - glib/scannerapi.test 816s # Running test: glib/gdbus-names.test 816s TAP version 14 816s # random seed: R02S23da0f2d45e0d542f403d8539c745fbd 816s 1..10 816s # Start of gdbus tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_T82552/gdbus/validate-names/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_T82552/gdbus/validate-names/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_T82552/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_T82552/gdbus/validate-names/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_T82552/gdbus/validate-names/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_T82552/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_T82552/gdbus/validate-names/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_T82552/gdbus/validate-names/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_T82552/gdbus/validate-names/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_T82552/gdbus/validate-names/.dirs/runtime 816s ok 1 /gdbus/validate-names 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-own-name/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-own-name/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_T82552/gdbus/bus-own-name/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-own-name/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_T82552/gdbus/bus-own-name/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-own-name/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-own-name/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_T82552/gdbus/bus-own-name/.dirs/runtime 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 2 /gdbus/bus-own-name 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_T82552/gdbus/bus-watch-name/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_T82552/gdbus/bus-watch-name/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name/.dirs/runtime 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 3 /gdbus/bus-watch-name 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start/.dirs/runtime 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 4 /gdbus/bus-watch-name-auto-start 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 816s dbus-daemon[5916]: [session uid=1000 pid=5916 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=5907 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 816s # Acquired a message bus connection 816s dbus-daemon[5916]: [session uid=1000 pid=5916 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 816s # Acquired the name org.gtk.GDBus.FakeService 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures/.dirs/runtime 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 6 /gdbus/bus-watch-name-closures 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures-auto-start/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures-auto-start/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures-auto-start/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures-auto-start/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 7 /gdbus/bus-watch-name-closures-auto-start 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-different-context/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-different-context/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_T82552/gdbus/bus-watch-different-context/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-different-context/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_T82552/gdbus/bus-watch-different-context/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-different-context/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-different-context/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_T82552/gdbus/bus-watch-different-context/.dirs/runtime 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 8 /gdbus/bus-watch-different-context 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-unwatch-early/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-unwatch-early/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_T82552/gdbus/bus-unwatch-early/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-unwatch-early/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_T82552/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_T82552/gdbus/bus-unwatch-early/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-unwatch-early/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_T82552/gdbus/bus-unwatch-early/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_T82552/gdbus/bus-unwatch-early/.dirs/runtime 816s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 9 /gdbus/bus-unwatch-early 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_T82552/gdbus/escape-object-path/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_T82552/gdbus/escape-object-path/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_T82552/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_T82552/gdbus/escape-object-path/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_T82552/gdbus/escape-object-path/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_T82552/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_T82552/gdbus/escape-object-path/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_T82552/gdbus/escape-object-path/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_T82552/gdbus/escape-object-path/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_T82552/gdbus/escape-object-path/.dirs/runtime 816s ok 10 /gdbus/escape-object-path 816s # End of gdbus tests 816s ok - glib/gdbus-names.test 816s # Running test: glib/binding.test 816s TAP version 14 816s # random seed: R02Sa0a11aa327c09caf254403dc50b1b76c 816s 1..19 816s # Start of binding tests 816s ok 1 /binding/default 816s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 816s ok 2 /binding/canonicalisation 816s ok 3 /binding/bidirectional 816s ok 4 /binding/transform 816s ok 5 /binding/transform-default 816s ok 6 /binding/transform-closure 816s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 816s ok 7 /binding/chain 816s ok 8 /binding/sync-create 816s ok 9 /binding/invert-boolean 816s ok 10 /binding/same-object 816s ok 11 /binding/unbind 816s ok 12 /binding/unbind-weak 816s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 816s ok 13 /binding/unbind-multiple 816s ok 14 /binding/fail 816s ok 15 /binding/interface 816s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 816s ok 16 /binding/concurrent-unbind 816s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 816s ok - glib/binding.test 816s ok 17 /binding/concurrent-finalizing 816s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 816s ok 18 /binding/dispose-source 816s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 816s ok 19 /binding/dispose-target 816s # End of binding tests 816s # Running test: glib/value.test 816s ok - glib/value.test 816s TAP version 14 816s # random seed: R02S236ef0977c0383d16dcccbbcae0b754f 816s 1..9 816s # Start of value tests 816s ok 1 /value/basic 816s ok 2 /value/collection 816s ok 3 /value/copying 816s ok 4 /value/enum-transformation 816s ok 5 /value/gtype 816s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 816s ok 6 /value/string 816s # Next: GObject object in GValue of GObject to GValue of GObject 816s # Next: GObject object in GValue of GObject to GValue of TestInterface 816s # Next: GObject object in GValue of GObject to GValue of TestObjectA 816s # Next: GObject object in GValue of GObject to GValue of TestObjectB 816s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 816s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 816s # Next: TestObjectA object in GValue of GObject to GValue of GObject 816s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 816s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 816s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 816s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 816s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 816s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 816s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 816s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 816s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 816s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 816s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 816s # Next: TestObjectB object in GValue of GObject to GValue of GObject 816s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 816s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 816s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 816s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 816s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 816s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 816s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 816s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 816s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 816s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 816s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 816s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 816s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 816s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 816s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 816s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 816s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 816s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 816s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 816s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 816s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 816s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 816s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 816s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 816s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 816s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 816s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 816s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 816s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 816s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 816s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 816s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 816s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 816s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 816s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 816s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 816s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 816s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 816s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 816s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 816s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 816s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 816s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 816s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 816s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 816s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 816s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 816s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 816s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 816s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 816s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 816s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 816s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 816s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 816s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 816s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 816s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 816s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 816s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 816s ok 7 /value/transform-object 816s # Start of array tests 816s ok 8 /value/array/basic 816s ok 9 /value/array/sort-with-data 816s # End of array tests 816s # End of value tests 816s # Running test: glib/resolver-parsing.test 816s TAP version 14 816s # random seed: R02S4b8a173fbc7fcc16c56bffaccac4fbd4 816s 1..21 816s # Start of gresolver tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/invalid-header/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/invalid-header/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/invalid-header/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/invalid-header/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/invalid-header/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/invalid-header/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/invalid-header/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/invalid-header/.dirs/runtime 816s ok 1 /gresolver/invalid-header 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/record-ownership/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/record-ownership/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/record-ownership/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/record-ownership/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/record-ownership/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/record-ownership/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/record-ownership/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/record-ownership/.dirs/runtime 816s ok 2 /gresolver/record-ownership 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/unknown-record-type/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/unknown-record-type/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/unknown-record-type/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/unknown-record-type/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/unknown-record-type/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/unknown-record-type/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/unknown-record-type/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/unknown-record-type/.dirs/runtime 816s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 816s ok 3 /gresolver/unknown-record-type 816s # Start of mx tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/valid/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/valid/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/mx/valid/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/valid/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/mx/valid/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/valid/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/valid/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/mx/valid/.dirs/runtime 816s ok 4 /gresolver/mx/valid 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/.dirs/runtime 816s ok 5 /gresolver/mx/invalid 816s # Start of invalid tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short/.dirs/runtime 816s ok 6 /gresolver/mx/invalid/too-short 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short2/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short2/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short2/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short2/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short2/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short2/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short2/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/mx/invalid/too-short2/.dirs/runtime 816s ok 7 /gresolver/mx/invalid/too-short2 816s # End of invalid tests 816s # End of mx tests 816s # Start of ns tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/ns/valid/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/ns/valid/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/ns/valid/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/ns/valid/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/ns/valid/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/ns/valid/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/ns/valid/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/ns/valid/.dirs/runtime 816s ok 8 /gresolver/ns/valid 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/ns/invalid/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/ns/invalid/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/ns/invalid/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/ns/invalid/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/ns/invalid/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/ns/invalid/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/ns/invalid/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/ns/invalid/.dirs/runtime 816s ok 9 /gresolver/ns/invalid 816s # End of ns tests 816s # Start of soa tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/valid/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/valid/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/soa/valid/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/valid/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/soa/valid/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/valid/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/valid/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/soa/valid/.dirs/runtime 816s ok 10 /gresolver/soa/valid 816s # Start of invalid tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/mname/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/mname/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/mname/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/mname/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/mname/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/mname/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/mname/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/mname/.dirs/runtime 816s ok 11 /gresolver/soa/invalid/mname 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/rname/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/rname/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/rname/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/rname/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/rname/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/rname/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/rname/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/rname/.dirs/runtime 816s ok 12 /gresolver/soa/invalid/rname 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/too-short/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/too-short/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/too-short/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/too-short/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/too-short/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/too-short/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/too-short/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/soa/invalid/too-short/.dirs/runtime 816s ok 13 /gresolver/soa/invalid/too-short 816s # End of invalid tests 816s # End of soa tests 816s # Start of srv tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/valid/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/valid/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/srv/valid/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/valid/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/srv/valid/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/valid/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/valid/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/srv/valid/.dirs/runtime 816s ok 14 /gresolver/srv/valid 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/.dirs/runtime 816s ok 15 /gresolver/srv/invalid 816s # Start of invalid tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short/.dirs/runtime 816s ok 16 /gresolver/srv/invalid/too-short 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short2/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short2/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short2/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short2/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short2/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short2/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short2/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/srv/invalid/too-short2/.dirs/runtime 816s ok 17 /gresolver/srv/invalid/too-short2 816s # End of invalid tests 816s # End of srv tests 816s # Start of txt tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/.dirs/runtime 816s ok 18 /gresolver/txt/valid 816s # Start of valid tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/multiple-strings/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/multiple-strings/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/multiple-strings/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/multiple-strings/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/multiple-strings/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/multiple-strings/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/multiple-strings/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/txt/valid/multiple-strings/.dirs/runtime 816s ok 19 /gresolver/txt/valid/multiple-strings 816s # End of valid tests 816s # Start of invalid tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/empty/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/empty/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/empty/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/empty/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/empty/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/empty/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/empty/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/empty/.dirs/runtime 816s ok 20 /gresolver/txt/invalid/empty 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/overflow/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/overflow/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/overflow/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/overflow/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/overflow/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/overflow/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/overflow/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9SG352/gresolver/txt/invalid/overflow/.dirs/runtime 816s ok 21 /gresolver/txt/invalid/overflow 816s # End of invalid tests 816s # End of txt tests 816s # End of gresolver tests 816s ok - glib/resolver-parsing.test 816s # Running test: glib/array-test.test 816s TAP version 14 816s # random seed: R02S61fc24f967a9ca8b7ac23cc5ed6eabcc 816s 1..113 816s # Start of array tests 816s ok 1 /array/ref-count 816s ok 2 /array/steal 816s ok 3 /array/clear-func 816s ok 4 /array/binary-search 816s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 816s ok 5 /array/copy-sized 816s ok 6 /array/overflow-append-vals 816s ok 7 /array/overflow-set-size 816s # Start of new tests 816s ok 8 /array/new/zero-terminated 816s ok 9 /array/new/take 816s ok 10 /array/new/take-zero-terminated 816s # Start of take tests 816s ok 11 /array/new/take/empty 816s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 816s # End of take tests 816s # End of new tests 816s # Start of set-size tests 816s ok 13 /array/set-size/non-zero-terminated-no-clear 816s ok 14 /array/set-size/non-zero-terminated-clear 816s ok 15 /array/set-size/zero-terminated-no-clear 816s ok 16 /array/set-size/zero-terminated-clear 816s # Start of sized tests 816s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 816s ok 18 /array/set-size/sized/non-zero-terminated-clear 816s ok 19 /array/set-size/sized/zero-terminated-no-clear 816s ok 20 /array/set-size/sized/zero-terminated-clear 816s # End of sized tests 816s # End of set-size tests 816s # Start of append-val tests 816s ok 21 /array/append-val/non-zero-terminated-no-clear 816s ok 22 /array/append-val/non-zero-terminated-clear 816s ok 23 /array/append-val/zero-terminated-no-clear 816s ok 24 /array/append-val/zero-terminated-clear 816s # End of append-val tests 816s # Start of prepend-val tests 816s ok 25 /array/prepend-val/non-zero-terminated-no-clear 816s ok 26 /array/prepend-val/non-zero-terminated-clear 816s ok 27 /array/prepend-val/zero-terminated-no-clear 816s ok 28 /array/prepend-val/zero-terminated-clear 816s # End of prepend-val tests 816s # Start of prepend-vals tests 816s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 816s ok 30 /array/prepend-vals/non-zero-terminated-clear 816s ok 31 /array/prepend-vals/zero-terminated-no-clear 816s ok 32 /array/prepend-vals/zero-terminated-clear 816s # End of prepend-vals tests 816s # Start of insert-vals tests 816s ok 33 /array/insert-vals/non-zero-terminated-no-clear 816s ok 34 /array/insert-vals/non-zero-terminated-clear 816s ok 35 /array/insert-vals/zero-terminated-no-clear 816s ok 36 /array/insert-vals/zero-terminated-clear 816s # End of insert-vals tests 816s # Start of remove-index tests 816s ok 37 /array/remove-index/non-zero-terminated-no-clear 816s ok 38 /array/remove-index/non-zero-terminated-clear 816s ok 39 /array/remove-index/zero-terminated-no-clear 816s ok 40 /array/remove-index/zero-terminated-clear 816s # End of remove-index tests 816s # Start of remove-index-fast tests 816s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 816s ok 42 /array/remove-index-fast/non-zero-terminated-clear 816s ok 43 /array/remove-index-fast/zero-terminated-no-clear 816s ok 44 /array/remove-index-fast/zero-terminated-clear 816s # End of remove-index-fast tests 816s # Start of remove-range tests 816s ok 45 /array/remove-range/non-zero-terminated-no-clear 816s ok 46 /array/remove-range/non-zero-terminated-clear 816s ok 47 /array/remove-range/zero-terminated-no-clear 816s ok 48 /array/remove-range/zero-terminated-clear 816s # End of remove-range tests 816s # Start of copy tests 816s ok 49 /array/copy/non-zero-terminated-no-clear 816s ok 50 /array/copy/non-zero-terminated-clear 816s ok 51 /array/copy/zero-terminated-no-clear 816s ok 52 /array/copy/zero-terminated-clear 816s # End of copy tests 816s # Start of sort tests 816s ok 53 /array/sort/non-zero-terminated-no-clear 816s ok 54 /array/sort/non-zero-terminated-clear 816s ok 55 /array/sort/zero-terminated-no-clear 816s ok 56 /array/sort/zero-terminated-clear 816s # End of sort tests 816s # Start of sort-with-data tests 816s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 816s ok 58 /array/sort-with-data/non-zero-terminated-clear 816s ok 59 /array/sort-with-data/zero-terminated-no-clear 816s ok 60 /array/sort-with-data/zero-terminated-clear 816s # End of sort-with-data tests 816s # End of array tests 816s # Start of pointerarray tests 816s ok 61 /pointerarray/add 816s ok 62 /pointerarray/insert 816s ok 63 /pointerarray/new-take 816s ok 64 /pointerarray/new-take-null-terminated 816s ok 65 /pointerarray/new-from-array 816s ok 66 /pointerarray/new-from-null-terminated-array 816s ok 67 /pointerarray/free-func 816s ok 68 /pointerarray/array_extend_and_steal 816s ok 69 /pointerarray/sort 816s ok 70 /pointerarray/sort-with-data 816s ok 71 /pointerarray/sort-values 816s ok 72 /pointerarray/sort-values-with-data 816s ok 73 /pointerarray/remove-range 816s ok 74 /pointerarray/steal 816s # Start of free tests 816s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 816s ok 75 /pointerarray/free/null-terminated 816s # End of free tests 816s # Start of new-take tests 816s ok 76 /pointerarray/new-take/empty 816s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 816s ok 78 /pointerarray/new-take/with-free-func 816s # End of new-take tests 816s # Start of new-take-null-terminated tests 816s ok 79 /pointerarray/new-take-null-terminated/empty 816s ok 80 /pointerarray/new-take-null-terminated/with-free-func 816s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 816s # End of new-take-null-terminated tests 816s # Start of new-from-array tests 816s ok 82 /pointerarray/new-from-array/empty 816s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 816s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 816s # End of new-from-array tests 816s # Start of new-from-null-terminated-array tests 816s ok 85 /pointerarray/new-from-null-terminated-array/empty 816s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 816s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 816s # End of new-from-null-terminated-array tests 816s # Start of ref-count tests 816s ok 88 /pointerarray/ref-count/not-null-terminated 816s ok 89 /pointerarray/ref-count/null-terminated 816s # End of ref-count tests 816s # Start of array_copy tests 816s # /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 816s ok 90 /pointerarray/array_copy/not-null-terminated 816s # /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 816s ok 91 /pointerarray/array_copy/null-terminated 816s # End of array_copy tests 816s # Start of array_extend tests 816s ok 92 /pointerarray/array_extend/not-null-terminated 816s ok 93 /pointerarray/array_extend/null-terminated 816s # End of array_extend tests 816s # Start of sort tests 816s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 816s ok 94 /pointerarray/sort/example 816s # End of sort tests 816s # Start of sort-with-data tests 816s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 816s ok 95 /pointerarray/sort-with-data/example 816s # End of sort-with-data tests 816s # Start of sort-values tests 816s ok 96 /pointerarray/sort-values/example 816s # End of sort-values tests 816s # Start of sort-values-with-data tests 816s ok 97 /pointerarray/sort-values-with-data/example 816s # End of sort-values-with-data tests 816s # Start of find tests 816s ok 98 /pointerarray/find/empty 816s ok 99 /pointerarray/find/non-empty 816s # End of find tests 816s # Start of steal_index tests 816s ok 100 /pointerarray/steal_index/not-null-terminated 816s ok 101 /pointerarray/steal_index/null-terminated 816s # End of steal_index tests 816s # End of pointerarray tests 816s # Start of bytearray tests 816s ok 102 /bytearray/steal 816s ok 103 /bytearray/append 816s ok 104 /bytearray/prepend 816s ok 105 /bytearray/remove 816s ok 106 /bytearray/remove-fast 816s ok 107 /bytearray/remove-range 816s ok 108 /bytearray/ref-count 816s ok 109 /bytearray/sort 816s ok 110 /bytearray/sort-with-data 816s ok 111 /bytearray/new-take 816s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 816s ok 113 /bytearray/free-to-bytes 816s # End of bytearray tests 816s ok - glib/array-test.test 816s # Running test: glib/file.test 816s TAP version 14 816s # random seed: R02Sdb78517567461697b7db5392d6a1c81a 816s 1..55 816s # Start of file tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/basic/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/basic/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/basic/.dirs/system-config1:/tmp/test_file_8PIB62/file/basic/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/basic/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/basic/.dirs/system-data1:/tmp/test_file_8PIB62/file/basic/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/basic/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/basic/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/basic/.dirs/runtime 816s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 816s ok 1 /file/basic 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/build-filename/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/build-filename/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/build-filename/.dirs/system-config1:/tmp/test_file_8PIB62/file/build-filename/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/build-filename/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/build-filename/.dirs/system-data1:/tmp/test_file_8PIB62/file/build-filename/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/build-filename/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/build-filename/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/build-filename/.dirs/runtime 816s ok 2 /file/build-filename 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/build-filenamev/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/build-filenamev/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/build-filenamev/.dirs/system-config1:/tmp/test_file_8PIB62/file/build-filenamev/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/build-filenamev/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/build-filenamev/.dirs/system-data1:/tmp/test_file_8PIB62/file/build-filenamev/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/build-filenamev/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/build-filenamev/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/build-filenamev/.dirs/runtime 816s ok 3 /file/build-filenamev 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/parent/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/parent/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/parent/.dirs/system-config1:/tmp/test_file_8PIB62/file/parent/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/parent/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/parent/.dirs/system-data1:/tmp/test_file_8PIB62/file/parent/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/parent/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/parent/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/parent/.dirs/runtime 816s ok 4 /file/parent 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/child/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/child/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/child/.dirs/system-config1:/tmp/test_file_8PIB62/file/child/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/child/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/child/.dirs/system-data1:/tmp/test_file_8PIB62/file/child/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/child/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/child/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/child/.dirs/runtime 816s ok 5 /file/child 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/empty-path/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/empty-path/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/empty-path/.dirs/system-config1:/tmp/test_file_8PIB62/file/empty-path/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/empty-path/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/empty-path/.dirs/system-data1:/tmp/test_file_8PIB62/file/empty-path/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/empty-path/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/empty-path/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/empty-path/.dirs/runtime 816s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 816s # /file/empty-path summary: Check that creating a file with an empty path results in errors 816s ok 6 /file/empty-path 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/type/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/type/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/type/.dirs/system-config1:/tmp/test_file_8PIB62/file/type/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/type/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/type/.dirs/system-data1:/tmp/test_file_8PIB62/file/type/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/type/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/type/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/type/.dirs/runtime 816s ok 7 /file/type 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/parse-name/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/parse-name/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/parse-name/.dirs/system-config1:/tmp/test_file_8PIB62/file/parse-name/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/parse-name/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/parse-name/.dirs/system-data1:/tmp/test_file_8PIB62/file/parse-name/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/parse-name/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/parse-name/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/parse-name/.dirs/runtime 816s ok 8 /file/parse-name 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/replace-load/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/replace-load/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/replace-load/.dirs/system-config1:/tmp/test_file_8PIB62/file/replace-load/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/replace-load/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/replace-load/.dirs/system-data1:/tmp/test_file_8PIB62/file/replace-load/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/replace-load/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/replace-load/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/replace-load/.dirs/runtime 816s ok 9 /file/replace-load 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/replace-cancel/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/replace-cancel/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/replace-cancel/.dirs/system-config1:/tmp/test_file_8PIB62/file/replace-cancel/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/replace-cancel/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/replace-cancel/.dirs/system-data1:/tmp/test_file_8PIB62/file/replace-cancel/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/replace-cancel/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/replace-cancel/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/replace-cancel/.dirs/runtime 816s # Bug Reference: https://bugzilla.gnome.org/629301 816s ok 10 /file/replace-cancel 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/replace-symlink/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/replace-symlink/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/replace-symlink/.dirs/system-config1:/tmp/test_file_8PIB62/file/replace-symlink/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/replace-symlink/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/replace-symlink/.dirs/system-data1:/tmp/test_file_8PIB62/file/replace-symlink/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/replace-symlink/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/replace-symlink/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/replace-symlink/.dirs/runtime 816s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 816s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 816s # Using temporary directory /tmp/test_file_8PIB62/g_file_replace_symlink_796A62 816s ok 11 /file/replace-symlink 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/async-new-tmp/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/async-new-tmp/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_8PIB62/file/async-new-tmp/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/async-new-tmp/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_8PIB62/file/async-new-tmp/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/async-new-tmp/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/async-new-tmp/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/async-new-tmp/.dirs/runtime 816s ok 12 /file/async-new-tmp 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/async-new-tmp-dir/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/async-new-tmp-dir/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_8PIB62/file/async-new-tmp-dir/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/async-new-tmp-dir/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_8PIB62/file/async-new-tmp-dir/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/async-new-tmp-dir/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/async-new-tmp-dir/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/async-new-tmp-dir/.dirs/runtime 816s ok 13 /file/async-new-tmp-dir 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/async-delete/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/async-delete/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/async-delete/.dirs/system-config1:/tmp/test_file_8PIB62/file/async-delete/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/async-delete/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/async-delete/.dirs/system-data1:/tmp/test_file_8PIB62/file/async-delete/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/async-delete/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/async-delete/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/async-delete/.dirs/runtime 816s ok 14 /file/async-delete 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/async-make-symlink/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/async-make-symlink/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_8PIB62/file/async-make-symlink/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/async-make-symlink/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_8PIB62/file/async-make-symlink/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/async-make-symlink/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/async-make-symlink/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/async-make-symlink/.dirs/runtime 816s ok 15 /file/async-make-symlink 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/copy-preserve-mode/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/copy-preserve-mode/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_8PIB62/file/copy-preserve-mode/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/copy-preserve-mode/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_8PIB62/file/copy-preserve-mode/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/copy-preserve-mode/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/copy-preserve-mode/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/copy-preserve-mode/.dirs/runtime 816s # Current umask: 2 816s # Vector 0 816s # Vector 1 816s # Vector 2 816s # Vector 3 816s # Vector 4 816s # Vector 5 816s # Vector 6 816s # Vector 7 816s # Vector 8 816s # Vector 9 816s # Vector 10 816s ok 16 /file/copy-preserve-mode 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/copy-async-with-closures/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/copy-async-with-closures/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_8PIB62/file/copy-async-with-closures/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/copy-async-with-closures/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_8PIB62/file/copy-async-with-closures/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/copy-async-with-closures/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/copy-async-with-closures/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/copy-async-with-closures/.dirs/runtime 816s ok 17 /file/copy-async-with-closures 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/measure/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/measure/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/measure/.dirs/system-config1:/tmp/test_file_8PIB62/file/measure/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/measure/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/measure/.dirs/system-data1:/tmp/test_file_8PIB62/file/measure/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/measure/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/measure/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/measure/.dirs/runtime 816s ok 18 /file/measure 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/measure-async/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/measure-async/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/measure-async/.dirs/system-config1:/tmp/test_file_8PIB62/file/measure-async/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/measure-async/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/measure-async/.dirs/system-data1:/tmp/test_file_8PIB62/file/measure-async/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/measure-async/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/measure-async/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/measure-async/.dirs/runtime 816s ok 19 /file/measure-async 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/load-bytes/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/load-bytes/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/load-bytes/.dirs/system-config1:/tmp/test_file_8PIB62/file/load-bytes/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/load-bytes/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/load-bytes/.dirs/system-data1:/tmp/test_file_8PIB62/file/load-bytes/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/load-bytes/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/load-bytes/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/load-bytes/.dirs/runtime 816s ok 20 /file/load-bytes 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/load-bytes-async/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/load-bytes-async/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_8PIB62/file/load-bytes-async/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/load-bytes-async/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_8PIB62/file/load-bytes-async/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/load-bytes-async/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/load-bytes-async/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/load-bytes-async/.dirs/runtime 816s ok 21 /file/load-bytes-async 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/load-bytes-4gb/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/load-bytes-4gb/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_8PIB62/file/load-bytes-4gb/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/load-bytes-4gb/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_8PIB62/file/load-bytes-4gb/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/load-bytes-4gb/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/load-bytes-4gb/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/load-bytes-4gb/.dirs/runtime 816s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/load-contents-4gb/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/load-contents-4gb/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_8PIB62/file/load-contents-4gb/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/load-contents-4gb/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_8PIB62/file/load-contents-4gb/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/load-contents-4gb/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/load-contents-4gb/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/load-contents-4gb/.dirs/runtime 816s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/load-contents-4gb-async/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/load-contents-4gb-async/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_8PIB62/file/load-contents-4gb-async/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/load-contents-4gb-async/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_8PIB62/file/load-contents-4gb-async/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/load-contents-4gb-async/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/load-contents-4gb-async/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/load-contents-4gb-async/.dirs/runtime 816s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/writev/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/writev/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/writev/.dirs/system-config1:/tmp/test_file_8PIB62/file/writev/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/writev/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/writev/.dirs/system-data1:/tmp/test_file_8PIB62/file/writev/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/writev/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/writev/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/writev/.dirs/runtime 816s ok 25 /file/writev 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/build-attribute-list-for-copy/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/build-attribute-list-for-copy/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_8PIB62/file/build-attribute-list-for-copy/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/build-attribute-list-for-copy/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_8PIB62/file/build-attribute-list-for-copy/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/build-attribute-list-for-copy/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/build-attribute-list-for-copy/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/build-attribute-list-for-copy/.dirs/runtime 816s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 816s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 816s # 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::* 816s # 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::* 816s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 816s # Attributes for copy: standard::size,xattr::* 816s # Attributes for copy: standard::size,unix::mode,xattr::* 816s ok 26 /file/build-attribute-list-for-copy 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/move_async/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/move_async/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/move_async/.dirs/system-config1:/tmp/test_file_8PIB62/file/move_async/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/move_async/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/move_async/.dirs/system-data1:/tmp/test_file_8PIB62/file/move_async/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/move_async/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/move_async/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/move_async/.dirs/runtime 816s ok 27 /file/move_async 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/move-async-with-closures/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/move-async-with-closures/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_8PIB62/file/move-async-with-closures/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/move-async-with-closures/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_8PIB62/file/move-async-with-closures/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/move-async-with-closures/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/move-async-with-closures/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/move-async-with-closures/.dirs/runtime 816s ok 28 /file/move-async-with-closures 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/query-zero-length-content-type/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/query-zero-length-content-type/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_8PIB62/file/query-zero-length-content-type/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/query-zero-length-content-type/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_8PIB62/file/query-zero-length-content-type/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/query-zero-length-content-type/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/query-zero-length-content-type/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/query-zero-length-content-type/.dirs/runtime 816s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 816s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 816s ok 29 /file/query-zero-length-content-type 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/runtime 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/data/applications 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/config 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/config 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/config 816s ok 30 /file/query-default-handler-file 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/runtime 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/data/applications 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/config 816s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_8PIB62/file/query-default-handler-file/.dirs/config to /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/config 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/config 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/config 816s ok 31 /file/query-default-handler-file-async 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/runtime 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/data/applications 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/config 816s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_8PIB62/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/config 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/config 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/config 816s ok 32 /file/query-default-handler-uri 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/runtime 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/data/applications 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/config 816s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_8PIB62/file/query-default-handler-uri/.dirs/config to /tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/config 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/config 816s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8PIB62/file/query-default-handler-uri-async/.dirs/config 816s ok 33 /file/query-default-handler-uri-async 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/enumerator-cancellation/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/enumerator-cancellation/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_8PIB62/file/enumerator-cancellation/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/enumerator-cancellation/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_8PIB62/file/enumerator-cancellation/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/enumerator-cancellation/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/enumerator-cancellation/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/enumerator-cancellation/.dirs/runtime 816s ok 34 /file/enumerator-cancellation 816s # Start of async-create-delete tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/async-create-delete/0/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/async-create-delete/0/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_8PIB62/file/async-create-delete/0/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/async-create-delete/0/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_8PIB62/file/async-create-delete/0/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/async-create-delete/0/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/async-create-delete/0/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/async-create-delete/0/.dirs/runtime 816s ok 35 /file/async-create-delete/0 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/async-create-delete/1/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/async-create-delete/1/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_8PIB62/file/async-create-delete/1/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/async-create-delete/1/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_8PIB62/file/async-create-delete/1/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/async-create-delete/1/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/async-create-delete/1/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/async-create-delete/1/.dirs/runtime 816s ok 36 /file/async-create-delete/1 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/async-create-delete/10/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/async-create-delete/10/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_8PIB62/file/async-create-delete/10/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/async-create-delete/10/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_8PIB62/file/async-create-delete/10/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/async-create-delete/10/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/async-create-delete/10/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/async-create-delete/10/.dirs/runtime 816s ok 37 /file/async-create-delete/10 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/async-create-delete/25/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/async-create-delete/25/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_8PIB62/file/async-create-delete/25/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/async-create-delete/25/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_8PIB62/file/async-create-delete/25/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/async-create-delete/25/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/async-create-delete/25/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/async-create-delete/25/.dirs/runtime 816s ok 38 /file/async-create-delete/25 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/async-create-delete/4096/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/async-create-delete/4096/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_8PIB62/file/async-create-delete/4096/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/async-create-delete/4096/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_8PIB62/file/async-create-delete/4096/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/async-create-delete/4096/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/async-create-delete/4096/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/async-create-delete/4096/.dirs/runtime 816s ok 39 /file/async-create-delete/4096 816s # End of async-create-delete tests 816s # Start of replace-symlink tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/replace-symlink/using-etag/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/replace-symlink/using-etag/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_8PIB62/file/replace-symlink/using-etag/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/replace-symlink/using-etag/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_8PIB62/file/replace-symlink/using-etag/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/replace-symlink/using-etag/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/replace-symlink/using-etag/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/replace-symlink/using-etag/.dirs/runtime 816s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 816s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 816s # Using temporary directory /tmp/test_file_8PIB62/g_file_replace_symlink_using_etag_CIMR52 818s # Executing: glib/file.test 818s ok 40 /file/replace-symlink/using-etag 818s # slow test /file/replace-symlink/using-etag executed in 2.02 secs 818s # End of replace-symlink tests 818s # Start of replace tests 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/replace/write-only/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/replace/write-only/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/replace/write-only/.dirs/system-config1:/tmp/test_file_8PIB62/file/replace/write-only/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/replace/write-only/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/replace/write-only/.dirs/system-data1:/tmp/test_file_8PIB62/file/replace/write-only/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/replace/write-only/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/replace/write-only/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/replace/write-only/.dirs/runtime 818s # /file/replace/write-only summary: Test various situations for g_file_replace() 818s # Current umask: 2 818s # Test 0, using temporary directory /tmp/test_file_8PIB62/g_file_replace_INBR52 818s # Test 1, using temporary directory /tmp/test_file_8PIB62/g_file_replace_A3JS52 818s # Test 2, using temporary directory /tmp/test_file_8PIB62/g_file_replace_GFJS52 818s # Test 3, using temporary directory /tmp/test_file_8PIB62/g_file_replace_Q1BS52 818s # Test 4, using temporary directory /tmp/test_file_8PIB62/g_file_replace_9KCS52 818s # Test 5, using temporary directory /tmp/test_file_8PIB62/g_file_replace_GQCS52 818s # Test 6, using temporary directory /tmp/test_file_8PIB62/g_file_replace_I58R52 818s # Test 7, using temporary directory /tmp/test_file_8PIB62/g_file_replace_893R52 818s # Test 8, using temporary directory /tmp/test_file_8PIB62/g_file_replace_AE4R52 818s # Test 9, using temporary directory /tmp/test_file_8PIB62/g_file_replace_JO4R52 818s # Test 10, using temporary directory /tmp/test_file_8PIB62/g_file_replace_T50R52 818s # Test 11, using temporary directory /tmp/test_file_8PIB62/g_file_replace_UTXR52 818s # Test 12, using temporary directory /tmp/test_file_8PIB62/g_file_replace_FDYR52 818s # Test 13, using temporary directory /tmp/test_file_8PIB62/g_file_replace_3IYR52 818s # Test 14, using temporary directory /tmp/test_file_8PIB62/g_file_replace_U49S52 818s # Test 15, using temporary directory /tmp/test_file_8PIB62/g_file_replace_L95S52 818s # Test 16, using temporary directory /tmp/test_file_8PIB62/g_file_replace_747S52 818s # Test 17, using temporary directory /tmp/test_file_8PIB62/g_file_replace_QWZS52 818s # Test 18, using temporary directory /tmp/test_file_8PIB62/g_file_replace_411S52 818s # Test 19, using temporary directory /tmp/test_file_8PIB62/g_file_replace_5UWS52 818s # Test 20, using temporary directory /tmp/test_file_8PIB62/g_file_replace_BUYS52 818s # Test 21, using temporary directory /tmp/test_file_8PIB62/g_file_replace_HLRS52 818s # Test 22, using temporary directory /tmp/test_file_8PIB62/g_file_replace_H1OS52 818s # Test 23, using temporary directory /tmp/test_file_8PIB62/g_file_replace_W5OS52 818s # Test 24, using temporary directory /tmp/test_file_8PIB62/g_file_replace_XWLZ52 818s # Test 25, using temporary directory /tmp/test_file_8PIB62/g_file_replace_ZTHZ52 818s # Test 26, using temporary directory /tmp/test_file_8PIB62/g_file_replace_D7HZ52 818s # Test 27, using temporary directory /tmp/test_file_8PIB62/g_file_replace_EEIZ52 818s # Test 28, using temporary directory /tmp/test_file_8PIB62/g_file_replace_LLKZ52 818s # Test 29, using temporary directory /tmp/test_file_8PIB62/g_file_replace_B3FZ52 818s # Test 30, using temporary directory /tmp/test_file_8PIB62/g_file_replace_ALGZ52 818s # Test 31, using temporary directory /tmp/test_file_8PIB62/g_file_replace_VUGZ52 818s # Test 32, using temporary directory /tmp/test_file_8PIB62/g_file_replace_L5BZ52 818s # Test 33, using temporary directory /tmp/test_file_8PIB62/g_file_replace_Q7DZ52 818s # Test 34, using temporary directory /tmp/test_file_8PIB62/g_file_replace_BD8Y52 818s # Test 35, using temporary directory /tmp/test_file_8PIB62/g_file_replace_2I8Y52 818s # Test 36, using temporary directory /tmp/test_file_8PIB62/g_file_replace_7U5Y52 818s # Test 37, using temporary directory /tmp/test_file_8PIB62/g_file_replace_N61Y52 818s # Test 38, using temporary directory /tmp/test_file_8PIB62/g_file_replace_GS1Y52 818s # Test 39, using temporary directory /tmp/test_file_8PIB62/g_file_replace_D0C052 818s # Test 40, using temporary directory /tmp/test_file_8PIB62/g_file_replace_MT8Z52 818s # Test 41, using temporary directory /tmp/test_file_8PIB62/g_file_replace_XN4Z52 818s # Test 42, using temporary directory /tmp/test_file_8PIB62/g_file_replace_9P6Z52 818s # Test 43, using temporary directory /tmp/test_file_8PIB62/g_file_replace_GM1Z52 818s # Test 44, using temporary directory /tmp/test_file_8PIB62/g_file_replace_56XZ52 818s # Test 45, using temporary directory /tmp/test_file_8PIB62/g_file_replace_6GYZ52 818s # Test 46, using temporary directory /tmp/test_file_8PIB62/g_file_replace_FF0Z52 818s # Test 47, using temporary directory /tmp/test_file_8PIB62/g_file_replace_HM0Z52 818s # Test 48, using temporary directory /tmp/test_file_8PIB62/g_file_replace_3HRZ52 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s ok 41 /file/replace/write-only 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/replace/read-write/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/replace/read-write/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/replace/read-write/.dirs/system-config1:/tmp/test_file_8PIB62/file/replace/read-write/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/replace/read-write/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/replace/read-write/.dirs/system-data1:/tmp/test_file_8PIB62/file/replace/read-write/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/replace/read-write/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/replace/read-write/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/replace/read-write/.dirs/runtime 818s # /file/replace/read-write summary: Test various situations for g_file_replace() 818s # Current umask: 2 818s # Test 0, using temporary directory /tmp/test_file_8PIB62/g_file_replace_1SRZ52 818s # Test 1, using temporary directory /tmp/test_file_8PIB62/g_file_replace_WZRZ52 818s # Test 2, using temporary directory /tmp/test_file_8PIB62/g_file_replace_RDPZ52 818s # Test 3, using temporary directory /tmp/test_file_8PIB62/g_file_replace_Z5Z052 818s # Test 4, using temporary directory /tmp/test_file_8PIB62/g_file_replace_DL0052 818s # Test 5, using temporary directory /tmp/test_file_8PIB62/g_file_replace_FQ0052 818s # Test 6, using temporary directory /tmp/test_file_8PIB62/g_file_replace_YKY052 818s # Test 7, using temporary directory /tmp/test_file_8PIB62/g_file_replace_UJU052 818s # Test 8, using temporary directory /tmp/test_file_8PIB62/g_file_replace_4XU052 818s # Test 9, using temporary directory /tmp/test_file_8PIB62/g_file_replace_NGV052 818s # Test 10, using temporary directory /tmp/test_file_8PIB62/g_file_replace_DWR052 818s # Test 11, using temporary directory /tmp/test_file_8PIB62/g_file_replace_Z3N052 818s # Test 12, using temporary directory /tmp/test_file_8PIB62/g_file_replace_NAO052 818s # Test 13, using temporary directory /tmp/test_file_8PIB62/g_file_replace_SRO052 818s # Test 14, using temporary directory /tmp/test_file_8PIB62/g_file_replace_HIL052 818s # Test 15, using temporary directory /tmp/test_file_8PIB62/g_file_replace_LLH052 818s # Test 16, using temporary directory /tmp/test_file_8PIB62/g_file_replace_AFD052 818s # Test 17, using temporary directory /tmp/test_file_8PIB62/g_file_replace_PCF052 818s # Test 18, using temporary directory /tmp/test_file_8PIB62/g_file_replace_F6P152 818s # Test 19, using temporary directory /tmp/test_file_8PIB62/g_file_replace_UKM152 818s # Test 20, using temporary directory /tmp/test_file_8PIB62/g_file_replace_6RJ152 818s # Test 21, using temporary directory /tmp/test_file_8PIB62/g_file_replace_V9F152 818s # Test 22, using temporary directory /tmp/test_file_8PIB62/g_file_replace_V5H152 818s # Test 23, using temporary directory /tmp/test_file_8PIB62/g_file_replace_GCI152 818s # Test 24, using temporary directory /tmp/test_file_8PIB62/g_file_replace_IW9052 818s # Test 25, using temporary directory /tmp/test_file_8PIB62/g_file_replace_8R6052 818s # Test 26, using temporary directory /tmp/test_file_8PIB62/g_file_replace_EW6052 818s # Test 27, using temporary directory /tmp/test_file_8PIB62/g_file_replace_LB7052 818s # Test 28, using temporary directory /tmp/test_file_8PIB62/g_file_replace_8D4052 818s # Test 29, using temporary directory /tmp/test_file_8PIB62/g_file_replace_7KSW52 818s # Test 30, using temporary directory /tmp/test_file_8PIB62/g_file_replace_GZSW52 818s # Test 31, using temporary directory /tmp/test_file_8PIB62/g_file_replace_I3SW52 818s # Test 32, using temporary directory /tmp/test_file_8PIB62/g_file_replace_J0OW52 818s # Test 33, using temporary directory /tmp/test_file_8PIB62/g_file_replace_F1MW52 818s # Test 34, using temporary directory /tmp/test_file_8PIB62/g_file_replace_D4MW52 818s # Test 35, using temporary directory /tmp/test_file_8PIB62/g_file_replace_T9MW52 818s # Test 36, using temporary directory /tmp/test_file_8PIB62/g_file_replace_YNKW52 818s # Test 37, using temporary directory /tmp/test_file_8PIB62/g_file_replace_6SFW52 818s # Test 38, using temporary directory /tmp/test_file_8PIB62/g_file_replace_47BW52 818s # Test 39, using temporary directory /tmp/test_file_8PIB62/g_file_replace_64EW52 819s # Test 40, using temporary directory /tmp/test_file_8PIB62/g_file_replace_8YBW52 819s # Test 41, using temporary directory /tmp/test_file_8PIB62/g_file_replace_1O8V52 819s # Test 42, using temporary directory /tmp/test_file_8PIB62/g_file_replace_A1AX52 819s # Test 43, using temporary directory /tmp/test_file_8PIB62/g_file_replace_KL4W52 819s # Test 44, using temporary directory /tmp/test_file_8PIB62/g_file_replace_7C3W52 819s # Test 45, using temporary directory /tmp/test_file_8PIB62/g_file_replace_HM3W52 819s # Test 46, using temporary directory /tmp/test_file_8PIB62/g_file_replace_8G0W52 819s # Test 47, using temporary directory /tmp/test_file_8PIB62/g_file_replace_7N0W52 819s # Test 48, using temporary directory /tmp/test_file_8PIB62/g_file_replace_38VW52 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s ok 42 /file/replace/read-write 819s # End of replace tests 819s # Start of copy tests 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/copy/progress/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/copy/progress/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/copy/progress/.dirs/system-config1:/tmp/test_file_8PIB62/file/copy/progress/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/copy/progress/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/copy/progress/.dirs/system-data1:/tmp/test_file_8PIB62/file/copy/progress/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/copy/progress/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/copy/progress/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/copy/progress/.dirs/runtime 819s ok 43 /file/copy/progress 819s # End of copy tests 819s # Start of writev tests 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/writev/no-bytes-written/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/writev/no-bytes-written/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_8PIB62/file/writev/no-bytes-written/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/writev/no-bytes-written/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_8PIB62/file/writev/no-bytes-written/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/writev/no-bytes-written/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/writev/no-bytes-written/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/writev/no-bytes-written/.dirs/runtime 819s ok 44 /file/writev/no-bytes-written 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/writev/no-vectors/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/writev/no-vectors/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_8PIB62/file/writev/no-vectors/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/writev/no-vectors/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_8PIB62/file/writev/no-vectors/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/writev/no-vectors/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/writev/no-vectors/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/writev/no-vectors/.dirs/runtime 819s ok 45 /file/writev/no-vectors 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/writev/empty-vectors/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/writev/empty-vectors/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_8PIB62/file/writev/empty-vectors/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/writev/empty-vectors/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_8PIB62/file/writev/empty-vectors/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/writev/empty-vectors/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/writev/empty-vectors/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/writev/empty-vectors/.dirs/runtime 819s ok 46 /file/writev/empty-vectors 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/writev/too-big-vectors/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/writev/too-big-vectors/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_8PIB62/file/writev/too-big-vectors/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/writev/too-big-vectors/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_8PIB62/file/writev/too-big-vectors/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/writev/too-big-vectors/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/writev/too-big-vectors/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/writev/too-big-vectors/.dirs/runtime 819s ok 47 /file/writev/too-big-vectors 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/writev/async/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/writev/async/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/writev/async/.dirs/system-config1:/tmp/test_file_8PIB62/file/writev/async/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/writev/async/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/writev/async/.dirs/system-data1:/tmp/test_file_8PIB62/file/writev/async/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/writev/async/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/writev/async/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/writev/async/.dirs/runtime 819s ok 48 /file/writev/async 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/writev/async_all/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/writev/async_all/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/writev/async_all/.dirs/system-config1:/tmp/test_file_8PIB62/file/writev/async_all/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/writev/async_all/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/writev/async_all/.dirs/system-data1:/tmp/test_file_8PIB62/file/writev/async_all/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/writev/async_all/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/writev/async_all/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/writev/async_all/.dirs/runtime 819s ok 49 /file/writev/async_all 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/writev/async_all-empty-vectors/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/writev/async_all-empty-vectors/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_8PIB62/file/writev/async_all-empty-vectors/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/writev/async_all-empty-vectors/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_8PIB62/file/writev/async_all-empty-vectors/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/writev/async_all-empty-vectors/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/writev/async_all-empty-vectors/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/writev/async_all-empty-vectors/.dirs/runtime 819s ok 50 /file/writev/async_all-empty-vectors 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/writev/async_all-no-vectors/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/writev/async_all-no-vectors/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_8PIB62/file/writev/async_all-no-vectors/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/writev/async_all-no-vectors/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_8PIB62/file/writev/async_all-no-vectors/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/writev/async_all-no-vectors/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/writev/async_all-no-vectors/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/writev/async_all-no-vectors/.dirs/runtime 819s ok 51 /file/writev/async_all-no-vectors 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/writev/async_all-to-big-vectors/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/writev/async_all-to-big-vectors/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_8PIB62/file/writev/async_all-to-big-vectors/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/writev/async_all-to-big-vectors/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_8PIB62/file/writev/async_all-to-big-vectors/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/writev/async_all-to-big-vectors/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/writev/async_all-to-big-vectors/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/writev/async_all-to-big-vectors/.dirs/runtime 819s ok 52 /file/writev/async_all-to-big-vectors 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/writev/async_all-cancellation/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/writev/async_all-cancellation/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_8PIB62/file/writev/async_all-cancellation/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/writev/async_all-cancellation/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_8PIB62/file/writev/async_all-cancellation/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/writev/async_all-cancellation/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/writev/async_all-cancellation/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/writev/async_all-cancellation/.dirs/runtime 819s ok 53 /file/writev/async_all-cancellation 819s # End of writev tests 819s # Start of from-uri tests 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/from-uri/ignores-query-string/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/from-uri/ignores-query-string/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_8PIB62/file/from-uri/ignores-query-string/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/from-uri/ignores-query-string/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_8PIB62/file/from-uri/ignores-query-string/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/from-uri/ignores-query-string/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/from-uri/ignores-query-string/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/from-uri/ignores-query-string/.dirs/runtime 819s ok 54 /file/from-uri/ignores-query-string 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8PIB62/file/from-uri/ignores-fragment/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8PIB62/file/from-uri/ignores-fragment/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8PIB62/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_8PIB62/file/from-uri/ignores-fragment/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8PIB62/file/from-uri/ignores-fragment/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8PIB62/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_8PIB62/file/from-uri/ignores-fragment/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8PIB62/file/from-uri/ignores-fragment/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8PIB62/file/from-uri/ignores-fragment/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8PIB62/file/from-uri/ignores-fragment/.dirs/runtime 819s ok 55 /file/from-uri/ignores-fragment 819s # End of from-uri tests 819s # End of file tests 819s ok - glib/file.test 819s # Running test: glib/date.test 819s TAP version 14 819s # random seed: R02S81edeb92b830ca0f1ced4046f87c618c 819s 1..121 819s # Start of date tests 819s ok 1 /date/basic 819s ok 2 /date/empty 819s ok 3 /date/dmy 819s ok 4 /date/julian 819s ok 5 /date/compare 819s ok 6 /date/dates 819s ok 7 /date/strftime 819s ok 8 /date/two-digit-years 819s ok 9 /date/parse 819s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 819s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 819s ok 11 /date/month_substring 819s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 819s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 819s ok 13 /date/clamp 819s ok 14 /date/order 819s ok 15 /date/copy 819s # Vector 0: 0000-00-00, invalid 819s # Vector 1: 0001-01-01, valid 819s # Vector 2: 0000-01-01, invalid 819s # Vector 3: 2000-02-30, invalid 819s # Vector 4: 2000-02-29, valid 819s # Vector 5: 2001-02-29, invalid 819s # Vector 6: 65535-01-01, valid 819s ok 16 /date/valid-dmy 819s # Start of parse tests 819s # Test 0 819s # Test 1 819s ok 17 /date/parse/invalid 819s # End of parse tests 819s # Start of year tests 819s ok 18 /date/year/1 819s ok 19 /date/year/2 819s ok 20 /date/year/3 819s ok 21 /date/year/4 819s ok 22 /date/year/5 819s ok 23 /date/year/6 819s ok 24 /date/year/7 819s ok 25 /date/year/8 819s ok 26 /date/year/9 819s ok 27 /date/year/10 819s ok 28 /date/year/11 819s ok 29 /date/year/12 819s ok 30 /date/year/13 819s ok 31 /date/year/14 819s ok 32 /date/year/98 819s ok 33 /date/year/99 819s ok 34 /date/year/100 819s ok 35 /date/year/101 819s ok 36 /date/year/102 819s ok 37 /date/year/103 819s ok 38 /date/year/397 819s ok 39 /date/year/398 819s ok 40 /date/year/399 819s ok 41 /date/year/400 819s ok 42 /date/year/401 819s ok 43 /date/year/402 819s ok 44 /date/year/403 819s ok 45 /date/year/404 819s ok 46 /date/year/405 819s ok 47 /date/year/406 819s ok 48 /date/year/1598 819s ok 49 /date/year/1599 819s ok 50 /date/year/1600 819s ok 51 /date/year/1601 819s ok 52 /date/year/1602 819s ok 53 /date/year/1650 819s ok 54 /date/year/1651 819s ok 55 /date/year/1897 819s ok 56 /date/year/1898 819s ok 57 /date/year/1899 819s ok 58 /date/year/1900 819s ok 59 /date/year/1901 819s ok 60 /date/year/1902 819s ok 61 /date/year/1903 819s ok 62 /date/year/1961 819s ok 63 /date/year/1962 819s ok 64 /date/year/1963 819s ok 65 /date/year/1964 819s ok 66 /date/year/1965 819s ok 67 /date/year/1967 819s ok 68 /date/year/1968 819s ok 69 /date/year/1969 819s ok 70 /date/year/1970 819s ok 71 /date/year/1971 819s ok 72 /date/year/1972 819s ok 73 /date/year/1973 819s ok 74 /date/year/1974 819s ok 75 /date/year/1975 819s ok 76 /date/year/1976 819s ok 77 /date/year/1977 819s ok 78 /date/year/1978 819s ok 79 /date/year/1979 819s ok 80 /date/year/1980 819s ok 81 /date/year/1981 819s ok 82 /date/year/1982 819s ok 83 /date/year/1983 819s ok 84 /date/year/1984 819s ok 85 /date/year/1985 819s ok 86 /date/year/1986 819s ok 87 /date/year/1987 819s ok 88 /date/year/1988 819s ok 89 /date/year/1989 819s ok 90 /date/year/1990 819s ok 91 /date/year/1991 819s ok 92 /date/year/1992 819s ok 93 /date/year/1993 819s ok 94 /date/year/1994 819s ok 95 /date/year/1995 819s ok 96 /date/year/1996 819s ok 97 /date/year/1997 819s ok 98 /date/year/1998 819s ok 99 /date/year/1999 819s ok 100 /date/year/2000 819s ok 101 /date/year/2001 819s ok 102 /date/year/2002 819s ok 103 /date/year/2003 819s ok 104 /date/year/2004 819s ok 105 /date/year/2005 819s ok 106 /date/year/2006 819s ok 107 /date/year/2007 819s ok 108 /date/year/2008 819s ok 109 /date/year/2009 819s ok 110 /date/year/2010 819s ok 111 /date/year/2011 819s ok 112 /date/year/2012 819s ok 113 /date/year/3000 819s ok 114 /date/year/3001 819s ok 115 /date/year/3002 819s ok 116 /date/year/3998 819s ok 117 /date/year/3999 819s ok 118 /date/year/4000 819s ok 119 /date/year/4001 819s ok 120 /date/year/4002 819s ok 121 /date/year/4003 819s # End of year tests 819s # End of date tests 819s ok - glib/date.test 819s # Running test: glib/objects-refcount2.test 819s TAP version 14 819s # random seed: R02S96c2cd396e6134f8cbf148141b072de9 819s 1..1 819s # Start of gobject tests 819s # Start of refcount tests 819s # init 0xd9f6642e400 819s # 819s # . 819s # . 819s # . 819s # . 819s # . 819s # . 819s # . 819s # . 819s # . 819s # . 819s # . 819s # . 819s # . 819s # . 819s # . 819s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 820s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 821s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # Executing: glib/objects-refcount2.test 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 824s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # Executing: glib/objects-refcount2.test 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # Executing: glib/objects-refcount2.test 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # Executing: glib/objects-refcount2.test 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # Executing: glib/objects-refcount2.test 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # Executing: glib/objects-refcount2.test 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # Executing: glib/objects-refcount2.test 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # dispose 0xd9f6642e400! 855s # 855s ok 1 /gobject/refcount/object-advanced 855s # slow test /gobject/refcount/object-advanced executed in 35.85 secs 855s # End of refcount tests 855s # End of gobject tests 855s ok - glib/objects-refcount2.test 855s # Running test: glib/pollable.test 855s TAP version 14 855s # random seed: R02S2a2843a58af7f2b35e5441caaf9de2c2 855s 1..6 855s # Start of pollable tests 855s ok 1 /pollable/converter 855s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 855s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1376cde2aaf0 and GSocketClientAsyncConnectData 0x1376cde26c10 855s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 855s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 855s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1376cde2f9f0 for GSocketClientAsyncConnectData 0x1376cde26c10 855s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 855s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 855s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 855s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 855s ok 2 /pollable/socket 855s # Start of unix tests 855s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 855s ok 3 /pollable/unix/pipe 855s ok - glib/pollable.test 855s # /pollable/unix/pty summary: Test that PTYs are considered pollable 855s ok 4 /pollable/unix/pty 855s # /pollable/unix/file summary: Test that regular files are not considered pollable 855s ok 5 /pollable/unix/file 855s # /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 855s ok 6 /pollable/unix/nulldev 855s # End of unix tests 855s # End of pollable tests 855s # Running test: glib/signals-refcount1.test 855s TAP version 14 855s # random seed: R02Sb9d3bacdf03387876d33ee99cf0dc78a 855s 1..1 855s # Start of gobject tests 855s # Start of refcount tests 855s # init 0x1386700dddd0 855s # 855s # init 0x1386700da310 855s # 858s # Executing: glib/signals-refcount1.test 861s ok - glib/signals-refcount1.test 861s # Running test: glib/atomic-c-99.test 861s ok - glib/atomic-c-99.test 861s # Running test: glib/tree.test 861s ok - glib/tree.test 861s # Running test: glib/utils-c-11.test 861s # dispose 0x1386700dddd0! 861s # 861s # dispose 0x1386700da310! 861s # 861s ok 1 /gobject/refcount/signals 861s # slow test /gobject/refcount/signals executed in 5.00 secs 861s # End of refcount tests 861s # End of gobject tests 861s TAP version 14 861s # random seed: R02S3ec76095750b15c5d2af76683040ad4d 861s 1..2 861s # Start of atomic tests 861s ok 1 /atomic/types 861s ok 2 /atomic/threaded 861s # End of atomic tests 861s TAP version 14 861s # random seed: R02S3830b7dbdb1350a1340b89cf34ffbdc7 861s 1..7 861s # Start of tree tests 861s ok 1 /tree/search 861s ok 2 /tree/remove 861s ok 3 /tree/destroy 861s ok 4 /tree/traverse 861s ok 5 /tree/insert 861s ok 6 /tree/bounds 861s ok 7 /tree/remove-all 861s # End of tree tests 861s TAP version 14 861s # random seed: R02S29004cda18f779a6fb61282a8462130d 861s 1..41 861s # Start of utils tests 861s ok 1 /utils/language-names 861s ok 2 /utils/locale-variants 861s ok 3 /utils/version 861s ok 4 /utils/appname 861s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 861s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 861s ok 5 /utils/prgname-thread-safety 861s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 861s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 861s ok 6 /utils/tmpdir 861s ok 7 /utils/basic_bits 861s ok 8 /utils/bits 861s ok 9 /utils/swap 861s ok 10 /utils/find-program 861s ok 11 /utils/find-program-for-path 861s ok 12 /utils/debug 861s ok 13 /utils/codeset 861s ok 14 /utils/codeset2 861s ok 15 /utils/console-charset 861s ok 16 /utils/gettext 861s ok 17 /utils/username 861s ok 18 /utils/realname 861s ok 19 /utils/hostname 861s ok 20 /utils/xdgdirs 861s ok 21 /utils/specialdir 861s # NAME: Ubuntu 861s ok 22 /utils/os-info 861s ok 23 /utils/clear-pointer 861s ok 24 /utils/clear-pointer-cast 861s ok 25 /utils/take-pointer 861s ok 26 /utils/clear-source 861s ok 27 /utils/misc-mem 861s # /utils/aligned-mem summary: Aligned memory allocator 861s # Alignment must not be zero 861s # Alignment must be a power of two 861s # Alignment must be a multiple of sizeof(void*) 861s ok 28 /utils/aligned-mem 861s # /utils/free-sized summary: Check that g_free_sized() works 861s ok 29 /utils/free-sized 861s ok 30 /utils/nullify 861s ok 31 /utils/atexit 861s ok 32 /utils/check-setuid 861s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 861s ok 33 /utils/int-limits 861s ok 34 /utils/clear-list 861s ok 35 /utils/clear-slist 861s ok 36 /utils/steal-handle-id 861s # Start of specialdir tests 861s ok 37 /utils/specialdir/desktop 861s # End of specialdir tests 861s # Start of clear-pointer tests 861s ok 38 /utils/clear-pointer/side-effects 861s # End of clear-pointer tests 861s # Start of aligned-mem tests 861s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 861s ok 39 /utils/aligned-mem/alignment 861s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 861s ok 40 /utils/aligned-mem/zeroed 861s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 861s ok 41 /utils/aligned-mem/free-sized 861s # Start of subprocess tests 861s # End of subprocess tests 861s # End of aligned-mem tests 861s # End of utils tests 861s TAP version 14 861s # random seed: R02Sddab4ac010256ac5029635497096469f 861s 1..4 861s # Start of C tests 861s ok 1 /C/standard-89 861s # End of C tests 861s # Start of alignof tests 861s ok 2 /alignof/fallback 861s # End of alignof tests 861s # Start of assert tests 861s ok 3 /assert/static 861s # End of assert tests 861s # Start of struct tests 861s ok 4 /struct/sizeof_member 861s # End of struct tests 861s ok - glib/utils-c-11.test 861s # Running test: glib/macros-c-89.test 861s ok - glib/macros-c-89.test 861s # Running test: glib/option-context.test 861s TAP version 14 861s # random seed: R02Sd94903711a42a1f264936e34f0e9630a 861s 1..58 861s # Start of option tests 861s ok 1 /option/basic 861s ok 2 /option/translate 861s ok 3 /option/strict-posix 861s # Start of help tests 861s ok 4 /option/help/options 861s ok 5 /option/help/no-options 861s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 861s ok 6 /option/help/no-help-options 861s # Usage: 861s # /usr/libexec/installed-tests/glib/option-context [OPTION?] blabla 861s # 861s # Summary 861s # 861s # Help Options: 861s # -h, --help Show help options 861s # 861s # Application Options: 861s # -t, --test=Argument to use in test (deprecated) Test tests 861s # --test2 Tests also 861s # 861s # Description 861s # 861s ok 7 /option/help/deprecated 861s # End of help tests 861s # Start of group tests 861s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 861s ok 8 /option/group/captions 861s ok 9 /option/group/main 861s ok 10 /option/group/error-hook 861s ok 11 /option/group/parse 861s # Start of captions tests 861s # Start of subprocess tests 861s # End of subprocess tests 861s # End of captions tests 861s # End of group tests 861s # Start of restoration tests 861s ok 12 /option/restoration/int 861s ok 13 /option/restoration/string 861s ok 14 /option/restoration/boolean 861s # End of restoration tests 861s # Start of arg tests 861s ok 15 /option/arg/reverse-string 861s ok 16 /option/arg/optional-int 861s # Start of repetition tests 861s ok 17 /option/arg/repetition/int 861s ok 18 /option/arg/repetition/string 861s ok 19 /option/arg/repetition/filename 861s ok 20 /option/arg/repetition/double 861s ok 21 /option/arg/repetition/locale 861s ok 22 /option/arg/repetition/int64 861s # End of repetition tests 861s # Start of array tests 861s ok 23 /option/arg/array/string 861s # End of array tests 861s # Start of callback tests 861s ok 24 /option/arg/callback/string 861s ok 25 /option/arg/callback/count 861s ok 26 /option/arg/callback/optional1 861s ok 27 /option/arg/callback/optional2 861s ok 28 /option/arg/callback/optional3 861s ok 29 /option/arg/callback/optional4 861s ok 30 /option/arg/callback/optional5 861s ok 31 /option/arg/callback/optional6 861s ok 32 /option/arg/callback/optional7 861s ok 33 /option/arg/callback/optional8 861s # End of callback tests 861s # Start of remaining tests 861s ok 34 /option/arg/remaining/callback 861s ok 35 /option/arg/remaining/callback-false 861s ok 36 /option/arg/remaining/non-option 861s ok 37 /option/arg/remaining/separator 861s ok 38 /option/arg/remaining/array 861s # End of remaining tests 861s # Start of ignore tests 861s ok 39 /option/arg/ignore/long 861s ok 40 /option/arg/ignore/short 861s ok 41 /option/arg/ignore/arg 861s # End of ignore tests 861s # Start of rest tests 861s ok 42 /option/arg/rest/non-option 861s ok 43 /option/arg/rest/separator1 861s ok 44 /option/arg/rest/separator2 861s ok 45 /option/arg/rest/separator3 861s ok 46 /option/arg/rest/separator4 861s ok 47 /option/arg/rest/separator5 861s # End of rest tests 861s # End of arg tests 861s # Start of context tests 861s ok 48 /option/context/add 861s ok 49 /option/context/empty2 861s ok 50 /option/context/empty3 861s # End of context tests 861s # Start of bug tests 861s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 861s ok 51 /option/bug/unknown-short 861s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 861s ok 52 /option/bug/lonely-dash 861s ok 53 /option/bug/triple-dash 861s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 861s ok 54 /option/bug/missing-arg 861s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 861s ok 55 /option/bug/dash-arg 861s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 861s ok 56 /option/bug/short-remaining 861s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 861s ok 57 /option/bug/double-free 861s ok 58 /option/bug/double-zero 861s # End of bug tests 861s # End of option tests 861s TAP version 14 861s # random seed: R02Sff347e35be97f655360e0bb5fc63919d 861s 1..23 861s # Start of repository tests 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/basic/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/basic/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/basic/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/basic/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/basic/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/basic/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/basic/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/basic/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/basic/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/basic/.dirs/runtime 861s ok - glib/option-context.test 861s # Running test: glib/repository.test 861s ok - glib/repository.test 861s # Running test: glib/mount-operation.test 861s ok - glib/mount-operation.test 861s # Running test: glib/fileutils.test 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 861s ok 1 /repository/basic 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/info/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/info/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/info/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/info/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/info/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/info/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/info/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/info/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/info/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/info/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/info summary: Test retrieving some basic info blobs from a typelib 861s ok 2 /repository/info 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/dependencies/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/dependencies/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/dependencies/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/dependencies/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/dependencies/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/dependencies/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/dependencies/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/dependencies/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/dependencies/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/dependencies/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 861s ok 3 /repository/dependencies 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/arg-info/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/arg-info/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/arg-info/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/arg-info/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/arg-info/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/arg-info/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/arg-info/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/arg-info/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/arg-info/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/arg-info/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 861s ok 4 /repository/arg-info 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/callable-info/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/callable-info/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/callable-info/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/callable-info/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/callable-info/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/callable-info/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/callable-info/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/callable-info/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/callable-info/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/callable-info/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 861s ok 5 /repository/callable-info 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/callback-info/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/callback-info/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/callback-info/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/callback-info/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/callback-info/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/callback-info/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/callback-info/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/callback-info/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/callback-info/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/callback-info/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 861s ok 6 /repository/callback-info 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/char-types/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/char-types/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/char-types/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/char-types/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/char-types/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/char-types/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/char-types/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/char-types/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/char-types/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/char-types/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 861s ok 7 /repository/char-types 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/constructor-return-type/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/constructor-return-type/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/constructor-return-type/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/constructor-return-type/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/constructor-return-type/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/constructor-return-type/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/constructor-return-type/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/constructor-return-type/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 861s ok 8 /repository/constructor-return-type 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/enum-info-c-identifier/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/enum-info-c-identifier/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/enum-info-c-identifier/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/enum-info-c-identifier/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/enum-info-c-identifier/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/enum-info-c-identifier/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/enum-info-c-identifier/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/enum-info-c-identifier/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 861s ok 9 /repository/enum-info-c-identifier 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/enum-info-static-methods/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/enum-info-static-methods/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/enum-info-static-methods/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/enum-info-static-methods/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/enum-info-static-methods/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/enum-info-static-methods/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/enum-info-static-methods/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/enum-info-static-methods/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/enum-info-static-methods summary: Test an enum with methods 861s ok 10 /repository/enum-info-static-methods 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/error-quark/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/error-quark/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/error-quark/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/error-quark/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/error-quark/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/error-quark/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/error-quark/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/error-quark/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/error-quark/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/error-quark/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/error-quark summary: Test finding an error quark by error domain 861s ok 11 /repository/error-quark 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/flags-info-c-identifier/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/flags-info-c-identifier/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/flags-info-c-identifier/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/flags-info-c-identifier/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/flags-info-c-identifier/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/flags-info-c-identifier/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/flags-info-c-identifier/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/flags-info-c-identifier/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 861s ok 12 /repository/flags-info-c-identifier 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/fundamental-ref-func/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/fundamental-ref-func/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/fundamental-ref-func/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/fundamental-ref-func/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/fundamental-ref-func/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/fundamental-ref-func/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/fundamental-ref-func/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/fundamental-ref-func/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 861s ok 13 /repository/fundamental-ref-func 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/instance-method-ownership-transfer/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/instance-method-ownership-transfer/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/instance-method-ownership-transfer/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/instance-method-ownership-transfer/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/instance-method-ownership-transfer/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/instance-method-ownership-transfer/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/instance-method-ownership-transfer/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/instance-method-ownership-transfer/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 861s ok 14 /repository/instance-method-ownership-transfer 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/object-gtype-interfaces/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/object-gtype-interfaces/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/object-gtype-interfaces/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/object-gtype-interfaces/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/object-gtype-interfaces/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/object-gtype-interfaces/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/object-gtype-interfaces/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/object-gtype-interfaces/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 861s ok 15 /repository/object-gtype-interfaces 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/signal-info-with-array-length-arg/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/signal-info-with-array-length-arg/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/signal-info-with-array-length-arg/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/signal-info-with-array-length-arg/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/signal-info-with-array-length-arg/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/signal-info-with-array-length-arg/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/signal-info-with-array-length-arg/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/signal-info-with-array-length-arg/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 861s ok 16 /repository/signal-info-with-array-length-arg 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/type-info-name/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/type-info-name/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/type-info-name/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/type-info-name/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/type-info-name/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/type-info-name/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/type-info-name/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/type-info-name/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 861s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 861s ok 17 /repository/type-info-name 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-no-invoker/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-no-invoker/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/vfunc-info-with-no-invoker/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-no-invoker/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/vfunc-info-with-no-invoker/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-no-invoker/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-no-invoker/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/vfunc-info-with-no-invoker/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 861s ok 18 /repository/vfunc-info-with-no-invoker 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-interface/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-interface/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-interface/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-interface/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 861s ok 19 /repository/vfunc-info-with-invoker-on-interface 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-object/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-object/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-object/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-object/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-object/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 861s ok 20 /repository/vfunc-info-with-invoker-on-object 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/find-by-gtype/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/find-by-gtype/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/find-by-gtype/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/find-by-gtype/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/find-by-gtype/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/find-by-gtype/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/find-by-gtype/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/find-by-gtype/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/find-by-gtype summary: Test finding a GType 861s ok 21 /repository/find-by-gtype 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/loaded-namespaces/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/loaded-namespaces/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/loaded-namespaces/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/loaded-namespaces/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/loaded-namespaces/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/loaded-namespaces/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/loaded-namespaces/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/loaded-namespaces/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/loaded-namespaces summary: Test listing loaded namespaces 861s ok 22 /repository/loaded-namespaces 861s # Start of base-info tests 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AMMC62/repository/base-info/clear/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AMMC62/repository/base-info/clear/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AMMC62/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_AMMC62/repository/base-info/clear/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AMMC62/repository/base-info/clear/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AMMC62/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_AMMC62/repository/base-info/clear/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AMMC62/repository/base-info/clear/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AMMC62/repository/base-info/clear/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AMMC62/repository/base-info/clear/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 861s ok 23 /repository/base-info/clear 861s # End of base-info tests 861s # End of repository tests 861s TAP version 14 861s # random seed: R02S49d0e8ad39acb0b5c676c2f2c4aeb859 861s 1..2 861s # Start of mount-operation tests 861s ok 1 /mount-operation/construction 861s ok 2 /mount-operation/properties 861s # End of mount-operation tests 861s TAP version 14 861s # random seed: R02S6d50600c5ab33389747bd36f0c77fbce 861s 1..27 861s # Start of fileutils tests 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/paths/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/paths/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/paths/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/paths/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/paths/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/paths/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/paths/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/paths/.dirs/runtime 861s ok 1 /fileutils/paths 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/build-path/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/build-path/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/build-path/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/build-path/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/build-path/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/build-path/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/build-path/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/build-path/.dirs/runtime 861s ok 2 /fileutils/build-path 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/build-pathv/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/build-pathv/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/build-pathv/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/build-pathv/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/build-pathv/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/build-pathv/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/build-pathv/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/build-pathv/.dirs/runtime 861s ok 3 /fileutils/build-pathv 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/build-filename/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/build-filename/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/build-filename/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/build-filename/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/build-filename/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/build-filename/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/build-filename/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/build-filename/.dirs/runtime 861s ok 4 /fileutils/build-filename 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/build-filenamev/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/build-filenamev/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/build-filenamev/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/build-filenamev/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/build-filenamev/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/build-filenamev/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/build-filenamev/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/build-filenamev/.dirs/runtime 861s ok 5 /fileutils/build-filenamev 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents/.dirs/runtime 861s # We do not have CAP_DAC_OVERRIDE or equivalent 861s # Checking g_mkdir_with_parents() in subdir ./hum/ 861s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 861s ok 6 /fileutils/mkdir-with-parents 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents-permission/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents-permission/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents-permission/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents-permission/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents-permission/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents-permission/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents-permission/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/mkdir-with-parents-permission/.dirs/runtime 861s # We do not have CAP_DAC_OVERRIDE or equivalent 861s ok 7 /fileutils/mkdir-with-parents-permission 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/format-size-for-display/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/format-size-for-display/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/format-size-for-display/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/format-size-for-display/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/format-size-for-display/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/format-size-for-display/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/format-size-for-display/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/format-size-for-display/.dirs/runtime 861s ok 8 /fileutils/format-size-for-display 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/errors/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/errors/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/errors/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/errors/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/errors/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/errors/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/errors/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/errors/.dirs/runtime 861s ok 9 /fileutils/errors 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/basename/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/basename/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/basename/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/basename/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/basename/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/basename/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/basename/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/basename/.dirs/runtime 861s ok 10 /fileutils/basename 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/get-basename/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/get-basename/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/get-basename/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/get-basename/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/get-basename/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/get-basename/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/get-basename/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/get-basename/.dirs/runtime 861s ok 11 /fileutils/get-basename 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/dirname/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/dirname/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/dirname/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/dirname/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/dirname/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/dirname/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/dirname/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/dirname/.dirs/runtime 861s ok 12 /fileutils/dirname 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/dir-make-tmp/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/dir-make-tmp/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/dir-make-tmp/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/dir-make-tmp/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/dir-make-tmp/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/dir-make-tmp/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/dir-make-tmp/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/dir-make-tmp/.dirs/runtime 861s ok 13 /fileutils/dir-make-tmp 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/file-open-tmp/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/file-open-tmp/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/file-open-tmp/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/file-open-tmp/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/file-open-tmp/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/file-open-tmp/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/file-open-tmp/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/file-open-tmp/.dirs/runtime 861s ok 14 /fileutils/file-open-tmp 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/file-test/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/file-test/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/file-test/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/file-test/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/file-test/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/file-test/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/file-test/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/file-test/.dirs/runtime 861s ok 15 /fileutils/file-test 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/mkstemp/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/mkstemp/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/mkstemp/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/mkstemp/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/mkstemp/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/mkstemp/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/mkstemp/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/mkstemp/.dirs/runtime 861s ok 16 /fileutils/mkstemp 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/mkdtemp/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/mkdtemp/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/mkdtemp/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/mkdtemp/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/mkdtemp/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/mkdtemp/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/mkdtemp/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/mkdtemp/.dirs/runtime 861s ok 17 /fileutils/mkdtemp 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/get-contents/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/get-contents/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/get-contents/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/get-contents/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/get-contents/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/get-contents/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/get-contents/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/get-contents/.dirsok - glib/fileutils.test 861s # Running test: glib/performance-threaded.test 861s /runtime 861s ok 18 /fileutils/get-contents 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/get-contents-large-file/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/get-contents-large-file/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/get-contents-large-file/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/get-contents-large-file/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/get-contents-large-file/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/get-contents-large-file/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/get-contents-large-file/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/get-contents-large-file/.dirs/runtime 861s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/set-contents/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/set-contents/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/set-contents/.dirs/runtime 861s ok 20 /fileutils/set-contents 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/set-contents-full/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/set-contents-full/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/.dirs/runtime 861s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 861s # Flags 0 and test 0 861s # Flags 0 and test 1 861s # Flags 0 and test 2 861s # Flags 0 and test 3 861s # Flags 0 and test 4 861s # Flags 0 and test 5 861s # Flags 1 and test 0 861s # Flags 1 and test 1 861s # Flags 1 and test 2 861s # Flags 1 and test 3 861s # Flags 1 and test 4 861s # Flags 1 and test 5 861s # Flags 2 and test 0 861s # Flags 2 and test 1 861s # Flags 2 and test 2 861s # Flags 2 and test 3 861s # Flags 2 and test 4 861s # Flags 2 and test 5 861s # Flags 3 and test 0 861s # Flags 3 and test 1 861s # Flags 3 and test 2 861s # Flags 3 and test 3 861s # Flags 3 and test 4 861s # Flags 3 and test 5 861s # Flags 4 and test 0 861s # Flags 4 and test 1 861s # Flags 4 and test 2 861s # Flags 4 and test 3 861s # Flags 4 and test 4 861s # Flags 4 and test 5 861s # Flags 5 and test 0 861s # Flags 5 and test 1 861s # Flags 5 and test 2 861s # Flags 5 and test 3 861s # Flags 5 and test 4 861s # Flags 5 and test 5 861s # Flags 6 and test 0 861s # Flags 6 and test 1 861s # Flags 6 and test 2 861s # Flags 6 and test 3 861s # Flags 6 and test 4 861s # Flags 6 and test 5 861s ok 21 /fileutils/set-contents-full 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/read-link/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/read-link/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/read-link/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/read-link/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/read-link/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/read-link/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/read-link/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/read-link/.dirs/runtime 861s ok 22 /fileutils/read-link 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/stdio-wrappers/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/stdio-wrappers/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/stdio-wrappers/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/stdio-wrappers/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/stdio-wrappers/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/stdio-wrappers/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/stdio-wrappers/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/stdio-wrappers/.dirs/runtime 861s # We do not have CAP_DAC_OVERRIDE or equivalent 861s ok 23 /fileutils/stdio-wrappers 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/fopen-modes/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/fopen-modes/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/fopen-modes/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/fopen-modes/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/fopen-modes/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/fopen-modes/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/fopen-modes/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/fopen-modes/.dirs/runtime 861s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 861s # Testing fopen() mode 'w' 861s # Testing fopen() mode 'r' 861s # Testing fopen() mode 'a' 861s # Testing fopen() mode 'w+' 861s # Testing fopen() mode 'r+' 861s # Testing fopen() mode 'a+' 861s # Testing fopen() mode 'wb' 861s # Testing fopen() mode 'rb' 861s # Testing fopen() mode 'ab' 861s # Testing fopen() mode 'w+b' 861s # Testing fopen() mode 'r+b' 861s # Testing fopen() mode 'a+b' 861s # Testing fopen() mode 'wb+' 861s # Testing fopen() mode 'rb+' 861s # Testing fopen() mode 'ab+' 861s ok 24 /fileutils/fopen-modes 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/clear-fd/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/clear-fd/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/clear-fd/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/clear-fd/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/clear-fd/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/clear-fd/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/clear-fd/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/clear-fd/.dirs/runtime 861s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 861s # Will be closed by autocleanup: 3, -42 861s # Testing error handling 861s ok 25 /fileutils/clear-fd 861s # Start of set-contents-full tests 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-file/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-file/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-file/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-file/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-file/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-file/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-file/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-file/.dirs/runtime 861s # We do not have CAP_DAC_OVERRIDE or equivalent 861s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 861s ok 26 /fileutils/set-contents-full/read-only-file 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-directory/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-directory/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-directory/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-directory/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-directory/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QYV752/fileutils/set-contents-full/read-only-directory/.dirs/runtime 861s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 861s # Flags 0 861s # We do not have CAP_DAC_OVERRIDE or equivalent 861s # Flags 1 861s # We do not have CAP_DAC_OVERRIDE or equivalent 861s # Flags 2 861s # We do not have CAP_DAC_OVERRIDE or equivalent 861s # Flags 3 861s # We do not have CAP_DAC_OVERRIDE or equivalent 861s # Flags 4 861s # We do not have CAP_DAC_OVERRIDE or equivalent 861s # Flags 5 861s # We do not have CAP_DAC_OVERRIDE or equivalent 861s # Flags 6 861s # We do not have CAP_DAC_OVERRIDE or equivalent 861s ok 27 /fileutils/set-contents-full/read-only-directory 861s # End of set-contents-full tests 861s # Start of clear-fd tests 861s # Start of subprocess tests 861s # End of subprocess tests 861s # End of clear-fd tests 861s # End of fileutils tests 861s Unable to clean up temporary directory /tmp/test_fileutils_QYV752/glib-file-set-contents-full-rodir-Z7QQ52: Directory not empty 861s Unable to clean up temporary directory /tmp/test_fileutils_QYV752/glib-file-set-contents-full-rodir-R1WR52: Directory not empty 861s Unable to clean up temporary directory /tmp/test_fileutils_QYV752/glib-file-set-contents-full-rodir-T9KQ52: Directory not empty 861s Unable to clean up temporary directory /tmp/test_fileutils_QYV752/glib-file-set-contents-full-rodir-BCVR52: Directory not empty 861s Unable to clean up temporary directory /tmp/test_fileutils_QYV752/glib-file-set-contents-full-rodir-MLMQ52: Directory not empty 861s Unable to clean up temporary directory /tmp/test_fileutils_QYV752/glib-file-set-contents-full-rodir-BEKQ52: Directory not empty 861s Unable to clean up temporary directory /tmp/test_fileutils_QYV752/glib-file-set-contents-full-rodir-NNOQ52: Directory not empty 861s Unable to clean up temporary directory /tmp/test_fileutils_QYV752: Directory not empty 861s Running test "liststore-is-a" 861s 2367 runs, min/avg/max = 0.416/0.422/0.588 ms 861s Running test "liststore-interface-peek" 862s 2842 runs, min/avg/max = 0.347/0.352/0.487 ms 862s Running test "liststore-interface-peek-same" 863s # Executing: glib/performance-threaded.test 863s ok - glib/performance-threaded.test 863s 2832 runs, min/avg/max = 0.347/0.353/0.734 ms 863s # Running test: glib/fileattributematcher.test 863s ok - glib/fileattributematcher.test 863s TAP version 14 863s # random seed: R02S82f260a08d439539ffcc3ecf1a9d25d9 863s 1..3 863s # Start of fileattributematcher tests 863s ok 1 /fileattributematcher/exact 863s ok 2 /fileattributematcher/equality 863s ok 3 /fileattributematcher/subtract 863s # End of fileattributematcher tests 863s # Running test: glib/stream-rw_all.test 863s TAP version 14 863s # random seed: R02S5b78b9740e062ab96b525eaf129356a2 863s 1..3 863s # Start of stream tests 863s # Start of read_all_async tests 863s ok 1 /stream/read_all_async/memory 863s # End of read_all_async tests 863s # Start of write_all_async tests 863s ok 2 /stream/write_all_async/memory 863s # End of write_all_async tests 863s # Start of read_write_all_async tests 863s ok 3 /stream/read_write_all_async/pipe 863s # End of read_write_all_async tests 863s # End of stream tests 863s ok - glib/stream-rw_all.test 863s # Running test: glib/gutils-user-database.test 863s ok - glib/gutils-user-database.test 863s # Running test: glib/mapping.test 863s TAP version 14 863s # random seed: R02S39a921570e7b160e1c87b4cc9d62a291 863s 1..1 863s # Start of gutils tests 863s ok 1 /gutils/get_user_database_entry 863s # End of gutils tests 863s TAP version 14 863s # random seed: R02S669368135b3fbdcd05ac58d36d718890 863s 1..3 863s # Start of mapping tests 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_SDBT52/mapping/flags/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_SDBT52/mapping/flags/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_SDBT52/mapping/flags/.dirs/system-config1:/tmp/test_mapping_SDBT52/mapping/flags/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_SDBT52/mapping/flags/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_SDBT52/mapping/flags/.dirs/system-data1:/tmp/test_mapping_SDBT52/mapping/flags/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_SDBT52/mapping/flags/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_SDBT52/mapping/flags/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_SDBT52/mapping/flags/.dirs/runtime 863s # test_mapping: ok 863s ok 1 /mapping/flags 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_SDBT52/mapping/private/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_SDBT52/mapping/private/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_SDBT52/mapping/private/.dirs/system-config1:/tmp/test_mapping_SDBT52/mapping/private/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_SDBT52/mapping/private/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_SDBT52/mapping/private/.dirs/system-data1:/tmp/test_mapping_SDBT52/mapping/private/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_SDBT52/mapping/private/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_SDBT52/mapping/private/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_SDBT52/mapping/private/.dirs/runtime 863s ok 2 /mapping/private 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_SDBT52/mapping/private-child/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_SDBT52/mapping/private-child/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_SDBT52/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_SDBT52/mapping/private-child/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_SDBT52/mapping/private-child/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_SDBT52/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_SDBT52/mapping/private-child/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_SDBT52/mapping/private-child/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_SDBT52/mapping/private-child/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_SDBT52/mapping/private-child/.dirs/runtime 863s # test_child_private: child spawned 863s # Subtest: /usr/libexec/installed-tests/glib/mapping 863s # random seed: R02S74743c41db5c7f820c52a50b14c87a86 863s # test_child_private: received first child signal 863s ok - glib/mapping.test 863s # Running test: glib/macros-c-17.test 863s ok - glib/macros-c-17.test 863s # Running test: glib/properties-refcount2.test 863s # test_child_private: received parent signal 863s # Child exited with status 0 863s # test_child_private: received second child signal 863s ok 3 /mapping/private-child 863s # End of mapping tests 863s TAP version 14 863s # random seed: R02S604186feefa7adefb169d7fcfbb37789 863s 1..4 863s # Start of C tests 863s ok 1 /C/standard-17 863s # End of C tests 863s # Start of alignof tests 863s ok 2 /alignof/fallback 863s # End of alignof tests 863s # Start of assert tests 863s ok 3 /assert/static 863s # End of assert tests 863s # Start of struct tests 863s ok 4 /struct/sizeof_member 863s # End of struct tests 863s TAP version 14 863s # random seed: R02S2225989938dc3aa0c2a1660aa41a1947 863s 1..1 863s # Start of gobject tests 863s # Start of refcount tests 863s # init 0x1bf4189dde30 863s # 863s # . 863s # . 863s # . 863s # . 863s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # dispose 0x1bf4189dde30! 866s # 866s ok 1 /gobject/refcount/properties-2 866s # slow test /gobject/refcount/properties-2 executed in 2.97 secs 866s # End of refcount tests 866s # End of gobject tests 866s ok - glib/properties-refcount2.test 866s # Running test: glib/actions.test 866s TAP version 14 866s # random seed: R02Sca3f83618729a6dd1d0175342140e2e4 866s 1..13 866s # Start of actions tests 866s ok 1 /actions/basic 866s ok 2 /actions/name 866s ok 3 /actions/simplegroup 866s ok 4 /actions/stateful 866s ok 5 /actions/default-activate 866s ok 6 /actions/entries 866s ok 7 /actions/parse-detailed 866s ok 8 /actions/property 866s ok 9 /actions/no-properties 866s # Start of dbus tests 866s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 866s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 866s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 866s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 866s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 866s ok 10 /actions/dbus/export 866s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 866s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 866s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 866s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 866s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 866s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 868s # Executing: glib/actions.test 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s ok 11 /actions/dbus/threaded 868s # slow test /actions/dbus/threaded executed in 1.90 secs 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s ok 12 /actions/dbus/bug679509 868s # Start of export tests 868s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 868s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s ok 13 /actions/dbus/export/error-handling 868s # End of export tests 868s # End of dbus tests 868s # End of actions tests 868s ok - glib/actions.test 868s # Running test: glib/protocol.test 868s ok - glib/protocol.test 868s # Running test: glib/deftype.test 868s ok - glib/deftype.test 868s # Running test: glib/basic-signals.test 868s TAP version 14 868s # random seed: R02S7dcf9240c606eef99cd0aa7b588137c6 868s 1..9 868s # Start of glib tests 868s # Start of testing tests 868s # Start of protocol tests 868s ok 1 /glib/testing/protocol/debug 868s ok 2 /glib/testing/protocol/info 868s ok 3 /glib/testing/protocol/message 868s ok 4 /glib/testing/protocol/warning 868s ok 5 /glib/testing/protocol/critical 868s ok 6 /glib/testing/protocol/error 868s ok 7 /glib/testing/protocol/gtest-message 868s ok 8 /glib/testing/protocol/test-message 868s ok 9 /glib/testing/protocol/test-error 868s # End of protocol tests 868s # End of testing tests 868s # End of glib tests 868s TAP version 14 868s ok - glib/basic-signals.test 868s # Running test: glib/error.test 868s # random seed: R02Sb99ba3f4fdea2ea69afd3736afe1f1ac 868s 1..1 868s # Start of gobject tests 868s ok 1 /gobject/basic-signals 868s # End of gobject tests 868s TAP version 14 868s ok - glib/error.test 868s # Running test: glib/module-test-plugin.test 868s # random seed: R02S89b14d4df594a1f4c1d30fb234b08e63 868s 1..3 868s # Start of error tests 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_J9NS52/error/from-errno/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_J9NS52/error/from-errno/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_J9NS52/error/from-errno/.dirs/system-config1:/tmp/test_error_J9NS52/error/from-errno/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_J9NS52/error/from-errno/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_J9NS52/error/from-errno/.dirs/system-data1:/tmp/test_error_J9NS52/error/from-errno/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_J9NS52/error/from-errno/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_J9NS52/error/from-errno/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_J9NS52/error/from-errno/.dirs/runtime 868s ok 1 /error/from-errno 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_J9NS52/error/from-file-error/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_J9NS52/error/from-file-error/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_J9NS52/error/from-file-error/.dirs/system-config1:/tmp/test_error_J9NS52/error/from-file-error/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_J9NS52/error/from-file-error/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_J9NS52/error/from-file-error/.dirs/system-data1:/tmp/test_error_J9NS52/error/from-file-error/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_J9NS52/error/from-file-error/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_J9NS52/error/from-file-error/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_J9NS52/error/from-file-error/.dirs/runtime 868s ok 2 /error/from-file-error 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_J9NS52/error/from-win32-error/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_J9NS52/error/from-win32-error/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_J9NS52/error/from-win32-error/.dirs/system-config1:/tmp/test_error_J9NS52/error/from-win32-error/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_J9NS52/error/from-win32-error/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_J9NS52/error/from-win32-error/.dirs/system-data1:/tmp/test_error_J9NS52/error/from-win32-error/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_J9NS52/error/from-win32-error/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_J9NS52/error/from-win32-error/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_J9NS52/error/from-win32-error/.dirs/runtime 868s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 868s # End of error tests 868s TAP version 14 868s # random seed: R02Sfe6cd2d751963524decf443e8b494c1c 868s 1..3 868s # Start of module tests 868s ok 1 /module/basics 868s ok - glib/module-test-plugin.test 868s # Running test: glib/gdbus-auth.test 868s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 868s ok 2 /module/invalid-libtool-archive 868s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 868s ok 3 /module/local-binding 868s # End of module tests 868s TAP version 14 868s # random seed: R02S9b52553fd5e0194ba8ca5a165a9a430f 868s 1..5 868s # Start of gdbus tests 868s # Start of auth tests 868s # Start of client tests 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/EXTERNAL/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/EXTERNAL/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/EXTERNAL/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/EXTERNAL/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/EXTERNAL/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/EXTERNAL/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/EXTERNAL/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/EXTERNAL/.dirs/runtime 868s ok 1 /gdbus/auth/client/EXTERNAL 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 868s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 868s # End of client tests 868s # Start of server tests 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/ANONYMOUS/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/ANONYMOUS/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/ANONYMOUS/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/ANONYMOUS/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/ANONYMOUS/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/ANONYMOUS/.dirs/runtime 868s ok 3 /gdbus/auth/server/ANONYMOUS 868s ok - glib/gdbus-auth.test 868s # Running test: glib/sort.test 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/EXTERNAL/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/EXTERNAL/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/EXTERNAL/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/EXTERNAL/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/EXTERNAL/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/EXTERNAL/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/EXTERNAL/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/EXTERNAL/.dirs/runtime 868s ok 4 /gdbus/auth/server/EXTERNAL 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_A9JZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 868s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 868s # End of server tests 868s # End of auth tests 868s # End of gdbus tests 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s TAP version 14 868s # random seed: R02S8dc6dd2a39f6461f8605f81524e6be42 868s 1..5 868s # Start of sort tests 868s ok 1 /sort/basic 868s ok 2 /sort/zero-elements 868s ok 3 /sort/stable 868s ok 4 /sort/big 868s ok 5 /sort/deprecated 868s # End of sort tests 868s ok - glib/sort.test 868s # Running test: glib/utils-isolated.test 868s TAP version 14 868s # random seed: R02S5289712fcfcbf60d466db51a4eb91c9a 868s 1..11 868s # Start of utils-isolated tests 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/tmp-dir/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/tmp-dir/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_866Z52/utils-isolated/tmp-dir/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/tmp-dir/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_866Z52/utils-isolated/tmp-dir/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/tmp-dir/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/tmp-dir/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_866Z52/utils-isolated/tmp-dir/.dirs/runtime 868s ok 1 /utils-isolated/tmp-dir 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/home-dir/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/home-dir/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_866Z52/utils-isolated/home-dir/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/home-dir/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_866Z52/utils-isolated/home-dir/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/home-dir/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/home-dir/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_866Z52/utils-isolated/home-dir/.dirs/runtime 868s ok 2 /utils-isolated/home-dir 868s ok - glib/utils-isolated.test 868s # Running test: glib/memchunk.test 868s ok - glib/memchunk.test 868s # Running test: glib/gdbus-method-invocation.test 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-cache-dir/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-cache-dir/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_866Z52/utils-isolated/user-cache-dir/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-cache-dir/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_866Z52/utils-isolated/user-cache-dir/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-cache-dir/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-cache-dir/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_866Z52/utils-isolated/user-cache-dir/.dirs/runtime 868s ok 3 /utils-isolated/user-cache-dir 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/system-config-dirs/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/system-config-dirs/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_866Z52/utils-isolated/system-config-dirs/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/system-config-dirs/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_866Z52/utils-isolated/system-config-dirs/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/system-config-dirs/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/system-config-dirs/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_866Z52/utils-isolated/system-config-dirs/.dirs/runtime 868s ok 4 /utils-isolated/system-config-dirs 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-config-dir/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-config-dir/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_866Z52/utils-isolated/user-config-dir/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-config-dir/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_866Z52/utils-isolated/user-config-dir/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-config-dir/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-config-dir/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_866Z52/utils-isolated/user-config-dir/.dirs/runtime 868s ok 5 /utils-isolated/user-config-dir 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/system-data-dirs/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/system-data-dirs/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_866Z52/utils-isolated/system-data-dirs/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/system-data-dirs/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_866Z52/utils-isolated/system-data-dirs/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/system-data-dirs/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/system-data-dirs/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_866Z52/utils-isolated/system-data-dirs/.dirs/runtime 868s ok 6 /utils-isolated/system-data-dirs 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-data-dir/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-data-dir/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_866Z52/utils-isolated/user-data-dir/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-data-dir/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_866Z52/utils-isolated/user-data-dir/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-data-dir/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-data-dir/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_866Z52/utils-isolated/user-data-dir/.dirs/runtime 868s ok 7 /utils-isolated/user-data-dir 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-state-dir/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-state-dir/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_866Z52/utils-isolated/user-state-dir/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-state-dir/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_866Z52/utils-isolated/user-state-dir/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-state-dir/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-state-dir/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_866Z52/utils-isolated/user-state-dir/.dirs/runtime 868s ok 8 /utils-isolated/user-state-dir 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-runtime-dir/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-runtime-dir/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_866Z52/utils-isolated/user-runtime-dir/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-runtime-dir/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_866Z52/utils-isolated/user-runtime-dir/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-runtime-dir/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/user-runtime-dir/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_866Z52/utils-isolated/user-runtime-dir/.dirs/runtime 868s ok 9 /utils-isolated/user-runtime-dir 868s # Start of cleanup tests 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/handles-errors/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/handles-errors/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/handles-errors/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/handles-errors/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/handles-errors/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/handles-errors/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/handles-errors/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/handles-errors/.dirs/runtime 868s Unable to clean up temporary directory /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 868s Unable to clean up temporary directory /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 868s Unable to clean up temporary directory /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/handles-errors: Directory not empty 868s ok 10 /utils-isolated/cleanup/handles-errors 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 868s Unable to clean up temporary directory /tmp/test_utils-isolated_866Z52/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 868s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 868s # End of cleanup tests 868s # End of utils-isolated tests 868s TAP version 14 868s # random seed: R02Sb5dc662b79c5b105fc881aa17935f452 868s 1..1 868s # Start of memchunk tests 868s ok 1 /memchunk/basic 868s # End of memchunk tests 868s TAP version 14 868s # random seed: R02S32dbab4b91caafe25921107a52ab3726 868s 1..1 868s # Start of gdbus tests 868s # Start of method-invocation tests 869s ok - glib/gdbus-method-invocation.test 869s # Running test: glib/642026-ec.test 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_CLXZ52/gdbus/method-invocation/return/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_CLXZ52/gdbus/method-invocation/return/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_CLXZ52/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_CLXZ52/gdbus/method-invocation/return/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_CLXZ52/gdbus/method-invocation/return/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_CLXZ52/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_CLXZ52/gdbus/method-invocation/return/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_CLXZ52/gdbus/method-invocation/return/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_CLXZ52/gdbus/method-invocation/return/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_CLXZ52/gdbus/method-invocation/return/.dirs/runtime 869s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 869s # Calling org.freedesktop.DBus.Properties.Get 869s # Calling org.freedesktop.DBus.Properties.Get 869s # Calling org.freedesktop.DBus.Properties.Get 869s # Calling org.freedesktop.DBus.Properties.Set 869s # Calling org.freedesktop.DBus.Properties.GetAll 869s # Calling org.example.Foo.WrongReturnType 869s # Calling org.example.Foo.GetFDs 869s # Calling org.example.Foo.GetFDs 869s # Calling org.example.Foo.ReturnError 869s # Calling org.example.Foo.CloseBeforeReturning 869s ok 1 /gdbus/method-invocation/return 869s # End of method-invocation tests 869s # End of gdbus tests 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s TAP version 14 869s # random seed: R02Sf93084788c6516a4a83dbefaa753330a 869s 1..1 869s # Start of glib tests 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 869s ok - glib/642026-ec.test 869s ok 1 /glib/642026 869s # End of glib tests 869s # Running test: glib/dataset.test 869s TAP version 14 869s # random seed: R02S0ca6208edc8ec03f4b86a6567aab0566 869s 1..14 869s # Start of quark tests 869s ok 1 /quark/basic 869s ok 2 /quark/string 869s # End of quark tests 869s # Start of dataset tests 869s ok - glib/dataset.test 869s # Running test: glib/gdbus-serialization.test 869s ok 3 /dataset/basic 869s ok 4 /dataset/id 869s ok 5 /dataset/full 869s ok 6 /dataset/foreach 869s ok 7 /dataset/destroy 869s # End of dataset tests 869s # Start of datalist tests 869s ok 8 /datalist/basic 869s ok 9 /datalist/id 869s ok 10 /datalist/recursive-clear 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 869s ok 11 /datalist/id-remove-multiple 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 869s ok 12 /datalist/id-remove-multiple-destroy-order 869s ok 13 /datalist/update-atomic 869s # Start of id-remove-multiple tests 869s ok 14 /datalist/id-remove-multiple/resize 869s # End of id-remove-multiple tests 869s # End of datalist tests 869s TAP version 14 869s # random seed: R02S3c4b557ce591c9826d5b5e25f6eb5db2 869s 1..18 869s # Start of gdbus tests 869s # Start of message-serialize tests 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/basic/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/basic/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/basic/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/basic/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/basic/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/basic/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/basic/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/basic/.dirs/runtime 869s ok 1 /gdbus/message-serialize/basic 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/complex/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/complex/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/complex/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/complex/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/complex/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/complex/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/complex/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/complex/.dirs/runtime 869s ok 2 /gdbus/message-serialize/complex 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/invalid/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/invalid/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/invalid/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/invalid/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/invalid/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/invalid/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/invalid/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/invalid/.dirs/runtime 869s ok 3 /gdbus/message-serialize/invalid 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/.dirs/runtime 869s ok 4 /gdbus/message-serialize/header-checks 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/double-array/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/double-array/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/double-array/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/double-array/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/double-array/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/double-array/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/double-array/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/double-array/.dirs/runtime 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 869s ok 5 /gdbus/message-serialize/double-array 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/empty-structure/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/empty-structure/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/empty-structure/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/empty-structure/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/empty-structure/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/empty-structure/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/empty-structure/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/empty-structure/.dirs/runtime 869s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 869s ok 6 /gdbus/message-serialize/empty-structure 869s # Start of header-checks tests 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/valid/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/valid/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/valid/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/valid/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/valid/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-serialize/header-checks/valid/.dirs/runtime 869s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 869s ok 7 /gdbus/message-serialize/header-checks/valid 869s # End of header-checks tests 869s # End of message-serialize tests 869s # Start of message-parse tests 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 869s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/non-signature-header/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/non-signature-header/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/non-signature-header/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/non-signature-header/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/non-signature-header/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/non-signature-header/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/non-signature-header/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/non-signature-header/.dirs/runtime 869s ok 9 /gdbus/message-parse/non-signature-header 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-signature-header/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-signature-header/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-signature-header/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-signature-header/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-signature-header/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-signature-header/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-signature-header/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-signature-header/.dirs/runtime 869s ok 10 /gdbus/message-parse/empty-signature-header 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/multiple-signature-header/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/multiple-signature-header/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/multiple-signature-header/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/multiple-signature-header/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/multiple-signature-header/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/multiple-signature-header/.dirs/runtime 869s ok 11 /gdbus/message-parse/multiple-signature-header 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/over-long-signature-header/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/over-long-signature-header/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/over-long-signature-header/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/over-long-signature-header/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/over-long-signature-header/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/over-long-signature-header/.dirs/runtime 869s ok 12 /gdbus/message-parse/over-long-signature-header 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-header-nesting/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-header-nesting/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-header-nesting/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-header-nesting/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-header-nesting/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-header-nesting/.dirs/runtime 869s ok 13 /gdbus/message-parse/deep-header-nesting 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-body-nesting/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-body-nesting/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-body-nesting/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-body-nesting/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-body-nesting/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/deep-body-nesting/.dirs/runtime 869s ok 14 /gdbus/message-parse/deep-body-nesting 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/truncated/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/truncated/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/truncated/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/truncated/.dirs/config 869s ok - glib/gdbus-serialization.test 869s # Running test: glib/gi-compile-repository.py.test 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/truncated/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/truncated/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/truncated/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/truncated/.dirs/runtime 869s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 869s ok 15 /gdbus/message-parse/truncated 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-structure/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-structure/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-structure/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-structure/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-structure/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-structure/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-structure/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/empty-structure/.dirs/runtime 869s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 869s ok 16 /gdbus/message-parse/empty-structure 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/missing-header/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/missing-header/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/missing-header/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/missing-header/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/missing-header/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/missing-header/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/missing-header/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/missing-header/.dirs/runtime 869s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 869s ok 17 /gdbus/message-parse/missing-header 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/invalid-header-type/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/invalid-header-type/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/invalid-header-type/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/invalid-header-type/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/invalid-header-type/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/invalid-header-type/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/invalid-header-type/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4SZW52/gdbus/message-parse/invalid-header-type/.dirs/runtime 869s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 869s ok 18 /gdbus/message-parse/invalid-header-type 869s # End of message-parse tests 869s # End of gdbus tests 869s TAP version 13 869s ok 1 __main__.TestGICompileRepository.test_open_failure 869s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 869s # gi-compile-repository: /usr/bin/gi-compile-repository 869s # tmpdir: /tmp/tmpuc_obfsv 869s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpuc_obfsv/invalid.typelib'] 869s # Return code: 1 869s # Output: 869s # 869s # Error: 869s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.girâ€: No such file or directory 869s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 869s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 869s # gi-compile-repository: /usr/bin/gi-compile-repository 869s # tmpdir: /tmp/tmpazu3z6gq 869s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpazu3z6gq/GLib-2.typelib'] 869s # Return code: 0 869s # Output: 869s # 869s # Error: 869s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 869s # gi-compile-repository: /usr/bin/gi-compile-repository 869s # tmpdir: /tmp/tmpibxofwev 869s # 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'] 869s # Return code: 1 869s # Output: 869s # 869s # Error: 869s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 869s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 869s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 869s # gi-compile-repository: /usr/bin/gi-compile-repository 869s # tmpdir: /tmp/tmp9g4i0f5b 869s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmp9g4i0f5b/GObject-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 869s # Return code: 0 869s # Output: 869s # 869s # Error: 869s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 869s # gi-compile-repository: /usr/bin/gi-compile-repository 869s # tmpdir: /tmp/tmp66_jfzpu 869s # 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'] 869s # Return code: 1 869s # Output: 869s # 869s # Error: 869s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 870s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 870s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 870s # gi-compile-repository: /usr/bin/gi-compile-repository 870s # tmpdir: /tmp/tmp8rti8krj 870s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmp8rti8krj/Gio-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 870s # Return code: 0 870s # Output: 870s # 870s # Error: 871s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 871s # gi-compile-repository: /usr/bin/gi-compile-repository 871s # tmpdir: /tmp/tmpfj4kw6t7 871s # 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'] 871s # Return code: 1 871s # Output: 871s # 871s # Error: 871s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 871s 1..7 871s ok - glib/gi-compile-repository.py.test 871s # Running test: glib/gobject-private.test 871s TAP version 14 871s # random seed: R02S8a8eeb3bed4515d5e5e77e0b160bebc1 871s 1..3 871s # Start of private tests 871s ok 1 /private/instance 871s ok 2 /private/derived-instance 871s ok 3 /private/mixed-derived-instance 871s # End of private tests 871s ok - glib/gobject-private.test 871s # Running test: glib/thumbnail-verification.test 871s ok - glib/thumbnail-verification.test 871s # Running test: glib/collate.test 871s ok - glib/collate.test 871s # Running test: glib/bitlock.test 871s ok - glib/bitlock.test 871s # Running test: glib/mappedfile.test 871s ok - glib/mappedfile.test 871s # Running test: glib/option-argv0.test 871s ok - glib/option-argv0.test 871s # Running test: glib/object.test 871s ok - glib/object.test 871s # Running test: glib/messages-low-memory.py.test 871s TAP version 14 871s # random seed: R02S427f1621aed4eca88d2f53a4f7a1b51a 871s 1..1 871s # Start of png-thumbs tests 871s ok 1 /png-thumbs/validity 871s # End of png-thumbs tests 871s TAP version 14 871s # random seed: R02S110da9bbf2f5a7fdba0b8e2337ca5105 871s 1..9 871s # Start of unicode tests 871s # Start of collate tests 871s ok 1 /unicode/collate/0 871s ok 2 /unicode/collate/1 871s ok 3 /unicode/collate/2 871s # End of collate tests 871s # Start of collate-key tests 871s ok 4 /unicode/collate-key/0 871s ok 5 /unicode/collate-key/1 871s ok 6 /unicode/collate-key/2 871s # End of collate-key tests 871s # Start of collate-filename tests 871s ok 7 /unicode/collate-filename/0 871s ok 8 /unicode/collate-filename/1 871s ok 9 /unicode/collate-filename/2 871s # End of collate-filename tests 871s # End of unicode tests 871s TAP version 14 871s # random seed: R02Sfde364728f28cbdce502f26b17437a6d 871s 1..1 871s # Start of bitlock tests 871s # Start of performance tests 871s # max perf: iterations per second 871s ok 1 /bitlock/performance/uncontended 871s # End of performance tests 871s # End of bitlock tests 871s TAP version 14 871s # random seed: R02Scea61c83c6ac8b5bdb0c4187a155b761 871s 1..7 871s # Start of mappedfile tests 871s ok 1 /mappedfile/basic 871s ok 2 /mappedfile/empty 871s ok 3 /mappedfile/device 871s ok 4 /mappedfile/nonexisting 871s ok 5 /mappedfile/writable 871s ok 6 /mappedfile/writable_fd 871s ok 7 /mappedfile/gbytes 871s # End of mappedfile tests 871s TAP version 14 871s # random seed: R02S0ce5a042c98afa912ecf89f85bf714f5 871s 1..1 871s # Start of option tests 871s ok 1 /option/argv0 871s # End of option tests 871s TAP version 14 871s # random seed: R02Sf43748183bebc3b8a6bb97c54ecf333e 871s 1..2 871s # Start of object tests 871s # Start of constructor tests 871s ok 1 /object/constructor/singleton 871s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 871s # End of constructor tests 871s # End of object tests 871s TAP version 13 871s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 871s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 871s # tmpdir: /tmp/tmpkk2z67b5 871s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 871s # Return code: -6 871s # Output: 871s # 871s # Error: 871s # GLib-Message: 20:28:52.088: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 871s # GLib-Message: 20:28:52.088: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 871s # ../../../glib/gprintf.c:350: failed to allocate memory 871s 1..1 871s ok - glib/messages-low-memory.py.test 871s # Running test: glib/properties-refcount4.test 871s TAP version 14 871s # random seed: R02Sddc986ee9c57b8c97304bdd586289d77 871s 1..1 871s # Start of gobject tests 871s # Start of refcount tests 871s ok 1 /gobject/refcount/properties-4 871s # End of refcount tests 871s # End of gobject tests 871s ok - glib/properties-refcount4.test 871s # Running test: glib/threadtests.test 871s TAP version 14 871s # random seed: R02S15f3f7a42f627e1575203a036cea945b 871s 1..5 871s # Start of GObject tests 871s ok 1 /GObject/threaded-object-init 872s ok 2 /GObject/threaded-weak-ref 872s # slow test /GObject/threaded-weak-ref executed in 1.12 secs 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 872s # /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 872s ok 3 /GObject/threaded-toggle-notify 872s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 872s # Start of threaded-weak-ref tests 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 872s # /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. 872s ok 5 /GObject/threaded-weak-ref/on-finalization 872s # End of threaded-weak-ref tests 872s # End of GObject tests 872s ok - glib/threadtests.test 872s # Running test: glib/gdbus-sasl.test 872s TAP version 14 872s # random seed: R02Sf6d23230c68884b712fe5dce3f46db3a 872s 1..1 872s # Start of gdbus tests 872s # Start of sasl tests 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_PKFV52/gdbus/sasl/server/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_PKFV52/gdbus/sasl/server/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_PKFV52/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_PKFV52/gdbus/sasl/server/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_PKFV52/gdbus/sasl/server/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_PKFV52/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_PKFV52/gdbus/sasl/server/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_PKFV52/gdbus/sasl/server/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_PKFV52/gdbus/sasl/server/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_PKFV52/gdbus/sasl/server/.dirs/runtime 872s # New handshake: EXTERNAL with incorrect initial response 872s # C:“AUTH EXTERNAL 30†872s # Expect: /^REJECTED.*$/ 872s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†872s # New handshake: EXTERNAL without initial response, failing to authenticate 872s # C:“AUTH EXTERNAL†872s # Expect: /^DATA$/ 872s # S:“DATA†872s # C:“DATA 30†872s # Expect: /^REJECTED.*$/ 872s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†872s # New handshake: EXTERNAL with initial response 872s # C:“AUTH EXTERNAL 31303030†872s # Expect: /^OK [0-9a-f]+$/ 872s # S:“OK de38e9ba9afb780fca683993681a7105†872s # New handshake: EXTERNAL without initial response 872s # C:“AUTH EXTERNAL†872s # Expect: /^DATA$/ 872s ok - glib/gdbus-sasl.test 872s # Running test: glib/shell.test 872s ok - glib/shell.test 872s # Running test: glib/registered-type-info.test 872s # S:“DATA†872s # C:“DATA 31303030†872s # Expect: /^OK [0-9a-f]+$/ 872s # S:“OK de38e9ba9afb780fca683993681a7105†872s # New handshake: EXTERNAL with empty authorization identity 872s # C:“AUTH EXTERNAL†872s # Expect: /^DATA$/ 872s # S:“DATA†872s # C:“DATA†872s # Expect: /^OK [0-9a-f]+$/ 872s # S:“OK de38e9ba9afb780fca683993681a7105†872s # New handshake: EXTERNAL with empty authorization identity and whitespace 872s # C:“AUTH EXTERNAL†872s # Expect: /^DATA$/ 872s # S:“DATA†872s # C:“DATA †872s # Expect: /^OK [0-9a-f]+$/ 872s # S:“OK de38e9ba9afb780fca683993681a7105†872s ok 1 /gdbus/sasl/server 872s # End of sasl tests 872s # End of gdbus tests 872s TAP version 14 872s # random seed: R02S965370d38e5ba4e285d20f27a7d37176 872s 1..51 872s # Start of shell tests 872s # Start of cmdline tests 872s test cmdline: foo bar 872s ok 1 /shell/cmdline/0 872s test cmdline: foo 'bar' 872s ok 2 /shell/cmdline/1 872s test cmdline: foo "bar" 872s ok 3 /shell/cmdline/2 872s test cmdline: foo '' 'bar' 872s ok 4 /shell/cmdline/3 872s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 872s ok 5 /shell/cmdline/4 872s test cmdline: foo blah foo bar baz 872s ok 6 /shell/cmdline/5 872s test cmdline: foo ' spaces more spaces lots of spaces in this ' 872s ok 7 /shell/cmdline/6 872s test cmdline: foo \ 872s bar 872s ok 8 /shell/cmdline/7 872s test cmdline: foo '' '' 872s ok 9 /shell/cmdline/8 872s test cmdline: foo \" la la la 872s ok 10 /shell/cmdline/9 872s test cmdline: foo \ foo woo woo\ 872s ok 11 /shell/cmdline/10 872s test cmdline: foo "yada yada \$\"" 872s ok 12 /shell/cmdline/11 872s test cmdline: foo "c:\\" 872s ok 13 /shell/cmdline/12 872s test cmdline: foo # bla bla bla 872s bar 872s ok 14 /shell/cmdline/13 872s test cmdline: foo a#b 872s ok 15 /shell/cmdline/14 872s test cmdline: #foo 872s ok 16 /shell/cmdline/15 872s test cmdline: foo bar \ 872s ok 17 /shell/cmdline/16 872s test cmdline: foo 'bar baz 872s ok 18 /shell/cmdline/17 872s test cmdline: foo '"bar" baz 872s ok 19 /shell/cmdline/18 872s test cmdline: 872s ok 20 /shell/cmdline/19 872s test cmdline: 872s ok 21 /shell/cmdline/20 872s test cmdline: # foo bar 872s ok 22 /shell/cmdline/21 872s test cmdline: foo '/bar/summer'\''09 tours.pdf' 872s ok 23 /shell/cmdline/22 872s # End of cmdline tests 872s # Start of quote tests 872s ok 24 /shell/quote/0 872s ok 25 /shell/quote/1 872s ok 26 /shell/quote/2 872s ok 27 /shell/quote/3 872s ok 28 /shell/quote/4 872s ok 29 /shell/quote/5 872s ok 30 /shell/quote/6 872s # End of quote tests 872s # Start of unquote tests 872s ok 31 /shell/unquote/0 872s ok 32 /shell/unquote/1 872s ok 33 /shell/unquote/2 872s ok 34 /shell/unquote/3 872s ok 35 /shell/unquote/4 872s ok 36 /shell/unquote/5 872s ok 37 /shell/unquote/6 872s ok 38 /shell/unquote/7 872s ok 39 /shell/unquote/8 872s ok 40 /shell/unquote/9 872s ok 41 /shell/unquote/10 872s ok 42 /shell/unquote/11 872s ok 43 /shell/unquote/12 872s ok 44 /shell/unquote/13 872s ok 45 /shell/unquote/14 872s ok 46 /shell/unquote/15 872s ok 47 /shell/unquote/16 872s ok 48 /shell/unquote/17 872s ok 49 /shell/unquote/18 872s ok 50 /shell/unquote/19 872s ok 51 /shell/unquote/20 872s # End of unquote tests 872s # End of shell tests 872s TAP version 14 872s ok - glib/registered-type-info.test 872s # Running test: glib/string.test 872s # random seed: R02Secdf03a021eaf671e67c45c2f91f12cb 872s 1..1 872s # Start of registered-type-info tests 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_9HXU52/registered-type-info/boxed/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_9HXU52/registered-type-info/boxed/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_9HXU52/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_9HXU52/registered-type-info/boxed/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_9HXU52/registered-type-info/boxed/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_9HXU52/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_9HXU52/registered-type-info/boxed/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_9HXU52/registered-type-info/boxed/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_9HXU52/registered-type-info/boxed/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_9HXU52/registered-type-info/boxed/.dirs/runtime 872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 872s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 872s # Expecting CClosure to not be boxed 872s # Expecting TypeCValue to not be boxed 872s # Expecting InitiallyUnownedClass to not be boxed 872s # Expecting BookmarkFile to be boxed 872s # Expecting Closure to be boxed 872s # Expecting Object to not be boxed 872s ok 1 /registered-type-info/boxed 872s # End of registered-type-info tests 872s TAP version 14 872s # random seed: R02S425c92cbcde7ddc587eb8fed074f7de6 872s 1..23 872s # Start of string tests 872s ok 1 /string/test-string-chunks 872s ok 2 /string/test-string-chunk-insert 872s ok 3 /string/test-string-new 872s ok 4 /string/test-string-printf 872s ok 5 /string/test-string-assign 872s ok 6 /string/test-string-append-c 872s ok 7 /string/test-string-append 872s ok 8 /string/test-string-append-vprintf 872s ok - glib/string.test 872s # Running test: glib/thread-deprecated.test 872s ok 9 /string/test-string-prepend-c 872s ok 10 /string/test-string-prepend 872s ok 11 /string/test-string-insert 872s ok 12 /string/test-string-insert-unichar 872s ok 13 /string/test-string-equal 872s ok 14 /string/test-string-truncate 872s ok 15 /string/test-string-overwrite 872s ok 16 /string/test-string-nul-handling 872s ok 17 /string/test-string-up-down 872s ok 18 /string/test-string-set-size 872s ok 19 /string/test-string-to-bytes 872s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 872s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 872s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 872s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 872s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 872s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 872s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 872s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 872s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 872s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 872s # 5: Replacing "o" with "" (limit 0) in "food for foals" 872s # -> 4 replacements, "fd fr fals" 872s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 872s # -> 3 replacements, "aaaaaaaaa" 872s # 7: Replacing "a" with "" (limit 0) in "aaa" 872s # -> 3 replacements, "" 872s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 872s # -> 1 replacements, "bba" 872s # 9: Replacing "" with "bar" (limit 0) in "foo" 872s # -> 4 replacements, "barfbarobarobar" 872s # 10: Replacing "" with "bar" (limit 1) in "foo" 872s # -> 1 replacements, "barfoo" 872s # 11: Replacing "" with "bar" (limit 2) in "foo" 872s # -> 2 replacements, "barfbaroo" 872s # 12: Replacing "" with "bar" (limit 3) in "foo" 872s # -> 3 replacements, "barfbarobaro" 872s # 13: Replacing "" with "bar" (limit 4) in "foo" 872s # -> 4 replacements, "barfbarobarobar" 872s # 14: Replacing "" with "bar" (limit 5) in "foo" 872s # -> 4 replacements, "barfbarobarobar" 872s # 15: Replacing "" with "x" (limit 0) in "" 872s # -> 1 replacements, "x" 872s # 16: Replacing "" with "" (limit 0) in "" 872s # -> 1 replacements, "" 872s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 872s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 872s ok 20 /string/test-string-replace 872s ok 21 /string/test-string-steal 872s ok 22 /string/test-string-new-take 872s # Start of test-string-new-take tests 872s ok 23 /string/test-string-new-take/null 872s # End of test-string-new-take tests 872s # End of string tests 872s TAP version 14 872s # random seed: R02Sed86f5f0a1ed8b5ad5fd39c5ad3014b0 872s 1..6 872s # Start of thread tests 872s ok 1 /thread/mutex 873s ok 2 /thread/static-rec-mutex 873s # Executing: glib/thread-deprecated.test 883s ok 3 /thread/static-private 883s # slow test /thread/static-private executed in 4.41 secs 883s # Executing: glib/thread-deprecated.test 883s ok 4 /thread/static-rw-lock 883s # slow test /thread/static-rw-lock executed in 5.00 secs 883s ok 5 /thread/once 883s # Executing: glib/thread-deprecated.test 888s # Executing: glib/thread-deprecated.test 892s ok - glib/thread-deprecated.test 892s ok 6 /thread/rerun-all 892s # slow test /thread/rerun-all executed in 9.62 secs 892s # End of thread tests 892s # Running test: glib/io-channel-basic.test 892s TAP version 14 892s # random seed: R02S7099990285fcc5eb25feed2519768c49 892s 1..1 892s # Start of gio tests 892s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 892s # random seed: R02Se24976fb42c95998c25611eecc30792f 892s # GLib-DEBUG: io-channel-basic: child writing 8+268 bytes to 6 892s # GLib-DEBUG: io-channel-basic: ...from 5: IN 892s # GLib-DEBUG: io-channel-basic: ...from 5: 268 bytes 892s # GLib-DEBUG: io-channel-basic: ...from 5: OK 892s # GLib-DEBUG: io-channel-basic: child writing 8+828 bytes to 6 892s # GLib-DEBUG: io-channel-basic: ...from 5: IN 892s # GLib-DEBUG: io-channel-basic: ...from 5: 828 bytes 892s # GLib-DEBUG: io-channel-basic: ...from 5: OK 892s # GLib-DEBUG: io-channel-basic: child writing 8+2425 bytes to 6 892s # GLib-DEBUG: io-channel-basic: ...from 5: IN 892s # GLib-DEBUG: io-channel-basic: ...from 5: 2425 bytes 892s # GLib-DEBUG: io-channel-basic: ...from 5: OK 893s # GLib-DEBUG: io-channel-basic: child writing 8+3508 bytes to 6 893s # GLib-DEBUG: io-channel-basic: ...from 5: IN 893s # GLib-DEBUG: io-channel-basic: ...from 5: 3508 bytes 893s # GLib-DEBUG: io-channel-basic: ...from 5: OK 893s # Executing: glib/io-channel-basic.test 893s # GLib-DEBUG: io-channel-basic: child writing 8+3092 bytes to 6 893s # GLib-DEBUG: io-channel-basic: ...from 5: IN 893s # GLib-DEBUG: io-channel-basic: ...from 5: 3092 bytes 893s # GLib-DEBUG: io-channel-basic: ...from 5: OK 893s # GLib-DEBUG: io-channel-basic: child writing 8+3815 bytes to 6 893s # GLib-DEBUG: io-channel-basic: ...from 5: IN 893s # GLib-DEBUG: io-channel-basic: ...from 5: 3815 bytes 893s # GLib-DEBUG: io-channel-basic: ...from 5: OK 894s # GLib-DEBUG: io-channel-basic: child writing 8+4463 bytes to 6 894s # GLib-DEBUG: io-channel-basic: ...from 5: IN 894s # GLib-DEBUG: io-channel-basic: ...from 5: 4463 bytes 894s # GLib-DEBUG: io-channel-basic: ...from 5: OK 894s # GLib-DEBUG: io-channel-basic: child writing 8+4786 bytes to 6 894s # GLib-DEBUG: io-channel-basic: ...from 5: IN 894s # GLib-DEBUG: io-channel-basic: ...from 5: 4786 bytes 894s # GLib-DEBUG: io-channel-basic: ...from 5: OK 894s # GLib-DEBUG: io-channel-basic: child writing 8+604 bytes to 6 894s # GLib-DEBUG: io-channel-basic: ...from 5: IN 894s # GLib-DEBUG: io-channel-basic: ...from 5: 604 bytes 894s # GLib-DEBUG: io-channel-basic: ...from 5: OK 894s # GLib-DEBUG: io-channel-basic: child writing 8+1557 bytes to 6 894s # GLib-DEBUG: io-channel-basic: ...from 5: IN 894s # GLib-DEBUG: io-channel-basic: ...from 5: 1557 bytes 894s # GLib-DEBUG: io-channel-basic: ...from 5: OK 894s # GLib-DEBUG: io-channel-basic: child writing 8+3442 bytes to 6 894s # GLib-DEBUG: io-channel-basic: ...from 5: IN 894s # GLib-DEBUG: io-channel-basic: ...from 5: 3442 bytes 894s # GLib-DEBUG: io-channel-basic: ...from 5: OK 895s # GLib-DEBUG: io-channel-basic: child writing 8+1465 bytes to 6 895s # GLib-DEBUG: io-channel-basic: ...from 5: IN 895s # GLib-DEBUG: io-channel-basic: ...from 5: 1465 bytes 895s # GLib-DEBUG: io-channel-basic: ...from 5: OK 895s # GLib-DEBUG: io-channel-basic: child writing 8+579 bytes to 6 895s # GLib-DEBUG: io-channel-basic: ...from 5: IN 895s # GLib-DEBUG: io-channel-basic: ...from 5: 579 bytes 895s # GLib-DEBUG: io-channel-basic: ...from 5: OK 895s # GLib-DEBUG: io-channel-basic: child writing 8+3939 bytes to 6 895s # GLib-DEBUG: io-channel-basic: ...from 5: IN 895s # GLib-DEBUG: io-channel-basic: ...from 5: 3939 bytes 895s # GLib-DEBUG: io-channel-basic: ...from 5: OK 896s # GLib-DEBUG: io-channel-basic: child writing 8+717 bytes to 6 896s # GLib-DEBUG: io-channel-basic: ...from 5: IN 896s # GLib-DEBUG: io-channel-basic: ...from 5: 717 bytes 896s # GLib-DEBUG: io-channel-basic: ...from 5: OK 896s # GLib-DEBUG: io-channel-basic: child writing 8+1155 bytes to 6 896s # GLib-DEBUG: io-channel-basic: ...from 5: IN 896s # GLib-DEBUG: io-channel-basic: ...from 5: 1155 bytes 896s # GLib-DEBUG: io-channel-basic: ...from 5: OK 896s # GLib-DEBUG: io-channel-basic: child writing 8+4228 bytes to 6 896s # GLib-DEBUG: io-channel-basic: ...from 5: IN 896s # GLib-DEBUG: io-channel-basic: ...from 5: 4228 bytes 896s # GLib-DEBUG: io-channel-basic: ...from 5: OK 896s # GLib-DEBUG: io-channel-basic: child writing 8+3177 bytes to 6 896s # GLib-DEBUG: io-channel-basic: ...from 5: IN 896s # GLib-DEBUG: io-channel-basic: ...from 5: 3177 bytes 896s # GLib-DEBUG: io-channel-basic: ...from 5: OK 897s # GLib-DEBUG: io-channel-basic: child writing 8+3491 bytes to 6 897s # GLib-DEBUG: io-channel-basic: ...from 5: IN 897s # GLib-DEBUG: io-channel-basic: ...from 5: 3491 bytes 897s # GLib-DEBUG: io-channel-basic: ...from 5: OK 897s # GLib-DEBUG: io-channel-basic: child writing 8+1091 bytes to 6 897s # GLib-DEBUG: io-channel-basic: ...from 5: IN 897s # GLib-DEBUG: io-channel-basic: ...from 5: 1091 bytes 897s # GLib-DEBUG: io-channel-basic: ...from 5: OK 897s # GLib-DEBUG: io-channel-basic: child writing 8+4554 bytes to 6 897s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 897s # GLib-DEBUG: io-channel-basic: ...from 5: IN 897s # GLib-DEBUG: io-channel-basic: ...from 5: 4554 bytes 897s # GLib-DEBUG: io-channel-basic: ...from 5: OK 897s # GLib-DEBUG: io-channel-basic: ...from 5: HUP 897s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 897s # random seed: R02S2e8fe45ba031e35892b7b35c61ba9023 897s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 897s # random seed: R02S0cde82009d653f869646fb9090ef9421 897s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 897s # random seed: R02S14aa7a0222f89a3a365d8cb1dd2e4e35 897s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 897s # random seed: R02S5e8c6e66f84023ea7bc9db611d699e20 897s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 897s # random seed: R02Saf82293e91b57d5e0d25099baf415b61 897s # GLib-DEBUG: io-channel-basic: child writing 8+2086 bytes to 11 897s # GLib-DEBUG: io-channel-basic: ...from 10: IN 897s # GLib-DEBUG: io-channel-basic: ...from 10: 2086 bytes 897s # GLib-DEBUG: io-channel-basic: ...from 10: OK 897s # GLib-DEBUG: io-channel-basic: child writing 8+4027 bytes to 15 897s # GLib-DEBUG: io-channel-basic: ...from 14: IN 897s # GLib-DEBUG: io-channel-basic: ...from 14: 4027 bytes 897s # GLib-DEBUG: io-channel-basic: ...from 14: OK 897s # GLib-DEBUG: io-channel-basic: child writing 8+2516 bytes to 17 897s # GLib-DEBUG: io-channel-basic: ...from 16: IN 897s # GLib-DEBUG: io-channel-basic: ...from 16: 2516 bytes 897s # GLib-DEBUG: io-channel-basic: ...from 16: OK 897s # GLib-DEBUG: io-channel-basic: child writing 8+188 bytes to 13 897s # GLib-DEBUG: io-channel-basic: ...from 12: IN 897s # GLib-DEBUG: io-channel-basic: ...from 12: 188 bytes 897s # GLib-DEBUG: io-channel-basic: ...from 12: OK 897s # GLib-DEBUG: io-channel-basic: child writing 8+441 bytes to 9 897s # GLib-DEBUG: io-channel-basic: ...from 8: IN 897s # GLib-DEBUG: io-channel-basic: ...from 8: 441 bytes 897s # GLib-DEBUG: io-channel-basic: ...from 8: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+4766 bytes to 11 898s # GLib-DEBUG: io-channel-basic: ...from 10: IN 898s # GLib-DEBUG: io-channel-basic: ...from 10: 4766 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 10: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+1814 bytes to 15 898s # GLib-DEBUG: io-channel-basic: ...from 14: IN 898s # GLib-DEBUG: io-channel-basic: ...from 14: 1814 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 14: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+1522 bytes to 13 898s # GLib-DEBUG: io-channel-basic: ...from 12: IN 898s # GLib-DEBUG: io-channel-basic: ...from 12: 1522 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 12: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+2931 bytes to 17 898s # GLib-DEBUG: io-channel-basic: ...from 16: IN 898s # GLib-DEBUG: io-channel-basic: ...from 16: 2931 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 16: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+4821 bytes to 9 898s # GLib-DEBUG: io-channel-basic: ...from 8: IN 898s # GLib-DEBUG: io-channel-basic: ...from 8: 4821 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 8: OK 898s # Executing: glib/io-channel-basic.test 898s # GLib-DEBUG: io-channel-basic: child writing 8+630 bytes to 11 898s # GLib-DEBUG: io-channel-basic: ...from 10: IN 898s # GLib-DEBUG: io-channel-basic: ...from 10: 630 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 10: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+3505 bytes to 15 898s # GLib-DEBUG: io-channel-basic: ...from 14: IN 898s # GLib-DEBUG: io-channel-basic: ...from 14: 3505 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 14: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+3733 bytes to 13 898s # GLib-DEBUG: io-channel-basic: ...from 12: IN 898s # GLib-DEBUG: io-channel-basic: ...from 12: 3733 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 12: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+3794 bytes to 17 898s # GLib-DEBUG: io-channel-basic: ...from 16: IN 898s # GLib-DEBUG: io-channel-basic: ...from 16: 3794 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 16: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+3310 bytes to 9 898s # GLib-DEBUG: io-channel-basic: ...from 8: IN 898s # GLib-DEBUG: io-channel-basic: ...from 8: 3310 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 8: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+2304 bytes to 13 898s # GLib-DEBUG: io-channel-basic: ...from 12: IN 898s # GLib-DEBUG: io-channel-basic: ...from 12: 2304 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 12: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+1889 bytes to 11 898s # GLib-DEBUG: io-channel-basic: ...from 10: IN 898s # GLib-DEBUG: io-channel-basic: ...from 10: 1889 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 10: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+3632 bytes to 15 898s # GLib-DEBUG: io-channel-basic: ...from 14: IN 898s # GLib-DEBUG: io-channel-basic: ...from 14: 3632 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 14: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+52 bytes to 9 898s # GLib-DEBUG: io-channel-basic: ...from 8: IN 898s # GLib-DEBUG: io-channel-basic: ...from 8: 52 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 8: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+473 bytes to 17 898s # GLib-DEBUG: io-channel-basic: ...from 16: IN 898s # GLib-DEBUG: io-channel-basic: ...from 16: 473 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 16: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+1952 bytes to 13 898s # GLib-DEBUG: io-channel-basic: ...from 12: IN 898s # GLib-DEBUG: io-channel-basic: ...from 12: 1952 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 12: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+3749 bytes to 15 898s # GLib-DEBUG: io-channel-basic: ...from 14: IN 898s # GLib-DEBUG: io-channel-basic: ...from 14: 3749 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 14: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+1104 bytes to 11 898s # GLib-DEBUG: io-channel-basic: ...from 10: IN 898s # GLib-DEBUG: io-channel-basic: ...from 10: 1104 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 10: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+2567 bytes to 9 898s # GLib-DEBUG: io-channel-basic: ...from 8: IN 898s # GLib-DEBUG: io-channel-basic: ...from 8: 2567 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 8: OK 898s # GLib-DEBUG: io-channel-basic: child writing 8+4039 bytes to 17 898s # GLib-DEBUG: io-channel-basic: ...from 16: IN 898s # GLib-DEBUG: io-channel-basic: ...from 16: 4039 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 16: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+4296 bytes to 13 899s # GLib-DEBUG: io-channel-basic: ...from 12: IN 899s # GLib-DEBUG: io-channel-basic: ...from 12: 4296 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 12: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+3425 bytes to 15 899s # GLib-DEBUG: io-channel-basic: ...from 14: IN 899s # GLib-DEBUG: io-channel-basic: ...from 14: 3425 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 14: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+333 bytes to 11 899s # GLib-DEBUG: io-channel-basic: ...from 10: IN 899s # GLib-DEBUG: io-channel-basic: ...from 10: 333 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 10: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+2846 bytes to 9 899s # GLib-DEBUG: io-channel-basic: ...from 8: IN 899s # GLib-DEBUG: io-channel-basic: ...from 8: 2846 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 8: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+3267 bytes to 17 899s # GLib-DEBUG: io-channel-basic: ...from 16: IN 899s # GLib-DEBUG: io-channel-basic: ...from 16: 3267 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 16: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+309 bytes to 13 899s # GLib-DEBUG: io-channel-basic: ...from 12: IN 899s # GLib-DEBUG: io-channel-basic: ...from 12: 309 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 12: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+158 bytes to 15 899s # GLib-DEBUG: io-channel-basic: ...from 14: IN 899s # GLib-DEBUG: io-channel-basic: ...from 14: 158 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 14: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+670 bytes to 9 899s # GLib-DEBUG: io-channel-basic: ...from 8: IN 899s # GLib-DEBUG: io-channel-basic: ...from 8: 670 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 8: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+4981 bytes to 11 899s # GLib-DEBUG: io-channel-basic: ...from 10: IN 899s # GLib-DEBUG: io-channel-basic: ...from 10: 4981 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 10: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+1737 bytes to 17 899s # GLib-DEBUG: io-channel-basic: ...from 16: IN 899s # GLib-DEBUG: io-channel-basic: ...from 16: 1737 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 16: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+1899 bytes to 13 899s # GLib-DEBUG: io-channel-basic: ...from 12: IN 899s # GLib-DEBUG: io-channel-basic: ...from 12: 1899 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 12: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+4640 bytes to 15 899s # GLib-DEBUG: io-channel-basic: ...from 14: IN 899s # GLib-DEBUG: io-channel-basic: ...from 14: 4640 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 14: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+1894 bytes to 9 899s # GLib-DEBUG: io-channel-basic: ...from 8: IN 899s # GLib-DEBUG: io-channel-basic: ...from 8: 1894 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 8: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+4164 bytes to 11 899s # GLib-DEBUG: io-channel-basic: ...from 10: IN 899s # GLib-DEBUG: io-channel-basic: ...from 10: 4164 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 10: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+4197 bytes to 17 899s # GLib-DEBUG: io-channel-basic: ...from 16: IN 899s # GLib-DEBUG: io-channel-basic: ...from 16: 4197 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 16: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+4927 bytes to 13 899s # GLib-DEBUG: io-channel-basic: ...from 12: IN 899s # GLib-DEBUG: io-channel-basic: ...from 12: 4927 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 12: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+466 bytes to 15 899s # GLib-DEBUG: io-channel-basic: ...from 14: IN 899s # GLib-DEBUG: io-channel-basic: ...from 14: 466 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 14: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+411 bytes to 9 899s # GLib-DEBUG: io-channel-basic: ...from 8: IN 899s # GLib-DEBUG: io-channel-basic: ...from 8: 411 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 8: OK 899s # GLib-DEBUG: io-channel-basic: child writing 8+1109 bytes to 11 899s # GLib-DEBUG: io-channel-basic: ...from 10: IN 899s # GLib-DEBUG: io-channel-basic: ...from 10: 1109 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 10: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+557 bytes to 17 900s # GLib-DEBUG: io-channel-basic: ...from 16: IN 900s # GLib-DEBUG: io-channel-basic: ...from 16: 557 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 16: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+2009 bytes to 15 900s # GLib-DEBUG: io-channel-basic: ...from 14: IN 900s # GLib-DEBUG: io-channel-basic: ...from 14: 2009 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 14: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+4488 bytes to 13 900s # GLib-DEBUG: io-channel-basic: ...from 12: IN 900s # GLib-DEBUG: io-channel-basic: ...from 12: 4488 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 12: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+524 bytes to 9 900s # GLib-DEBUG: io-channel-basic: ...from 8: IN 900s # GLib-DEBUG: io-channel-basic: ...from 8: 524 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 8: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+2098 bytes to 11 900s # GLib-DEBUG: io-channel-basic: ...from 10: IN 900s # GLib-DEBUG: io-channel-basic: ...from 10: 2098 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 10: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+1541 bytes to 17 900s # GLib-DEBUG: io-channel-basic: ...from 16: IN 900s # GLib-DEBUG: io-channel-basic: ...from 16: 1541 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 16: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+4613 bytes to 15 900s # GLib-DEBUG: io-channel-basic: ...from 14: IN 900s # GLib-DEBUG: io-channel-basic: ...from 14: 4613 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 14: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+826 bytes to 13 900s # GLib-DEBUG: io-channel-basic: ...from 12: IN 900s # GLib-DEBUG: io-channel-basic: ...from 12: 826 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 12: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+4373 bytes to 9 900s # GLib-DEBUG: io-channel-basic: ...from 8: IN 900s # GLib-DEBUG: io-channel-basic: ...from 8: 4373 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 8: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+3559 bytes to 11 900s # GLib-DEBUG: io-channel-basic: ...from 10: IN 900s # GLib-DEBUG: io-channel-basic: ...from 10: 3559 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 10: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+2138 bytes to 17 900s # GLib-DEBUG: io-channel-basic: ...from 16: IN 900s # GLib-DEBUG: io-channel-basic: ...from 16: 2138 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 16: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+930 bytes to 15 900s # GLib-DEBUG: io-channel-basic: ...from 14: IN 900s # GLib-DEBUG: io-channel-basic: ...from 14: 930 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 14: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+2229 bytes to 13 900s # GLib-DEBUG: io-channel-basic: ...from 12: IN 900s # GLib-DEBUG: io-channel-basic: ...from 12: 2229 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 12: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+824 bytes to 11 900s # GLib-DEBUG: io-channel-basic: ...from 10: IN 900s # GLib-DEBUG: io-channel-basic: ...from 10: 824 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 10: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+1220 bytes to 9 900s # GLib-DEBUG: io-channel-basic: ...from 8: IN 900s # GLib-DEBUG: io-channel-basic: ...from 8: 1220 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 8: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+2135 bytes to 17 900s # GLib-DEBUG: io-channel-basic: ...from 16: IN 900s # GLib-DEBUG: io-channel-basic: ...from 16: 2135 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 16: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+391 bytes to 15 900s # GLib-DEBUG: io-channel-basic: ...from 14: IN 900s # GLib-DEBUG: io-channel-basic: ...from 14: 391 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 14: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+2055 bytes to 13 900s # GLib-DEBUG: io-channel-basic: ...from 12: IN 900s # GLib-DEBUG: io-channel-basic: ...from 12: 2055 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 12: OK 900s # GLib-DEBUG: io-channel-basic: child writing 8+489 bytes to 11 900s # GLib-DEBUG: io-channel-basic: ...from 10: IN 900s # GLib-DEBUG: io-channel-basic: ...from 10: 489 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 10: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+4628 bytes to 9 901s # GLib-DEBUG: io-channel-basic: ...from 8: IN 901s # GLib-DEBUG: io-channel-basic: ...from 8: 4628 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 8: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+1452 bytes to 17 901s # GLib-DEBUG: io-channel-basic: ...from 16: IN 901s # GLib-DEBUG: io-channel-basic: ...from 16: 1452 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 16: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+3778 bytes to 15 901s # GLib-DEBUG: io-channel-basic: ...from 14: IN 901s # GLib-DEBUG: io-channel-basic: ...from 14: 3778 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 14: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+4369 bytes to 11 901s # GLib-DEBUG: io-channel-basic: ...from 10: IN 901s # GLib-DEBUG: io-channel-basic: ...from 10: 4369 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 10: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+2025 bytes to 13 901s # GLib-DEBUG: io-channel-basic: ...from 12: IN 901s # GLib-DEBUG: io-channel-basic: ...from 12: 2025 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 12: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+872 bytes to 9 901s # GLib-DEBUG: io-channel-basic: ...from 8: IN 901s # GLib-DEBUG: io-channel-basic: ...from 8: 872 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 8: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+4921 bytes to 17 901s # GLib-DEBUG: io-channel-basic: ...from 16: IN 901s # GLib-DEBUG: io-channel-basic: ...from 16: 4921 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 16: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+2239 bytes to 15 901s # GLib-DEBUG: io-channel-basic: ...from 14: IN 901s # GLib-DEBUG: io-channel-basic: ...from 14: 2239 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 14: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+4074 bytes to 11 901s # GLib-DEBUG: io-channel-basic: ...from 10: IN 901s # GLib-DEBUG: io-channel-basic: ...from 10: 4074 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 10: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+3457 bytes to 13 901s # GLib-DEBUG: io-channel-basic: ...from 12: IN 901s # GLib-DEBUG: io-channel-basic: ...from 12: 3457 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 12: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+3516 bytes to 9 901s # GLib-DEBUG: io-channel-basic: ...from 8: IN 901s # GLib-DEBUG: io-channel-basic: ...from 8: 3516 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 8: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+4138 bytes to 17 901s # GLib-DEBUG: io-channel-basic: ...from 16: IN 901s # GLib-DEBUG: io-channel-basic: ...from 16: 4138 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 16: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+2002 bytes to 11 901s # GLib-DEBUG: io-channel-basic: ...from 10: IN 901s # GLib-DEBUG: io-channel-basic: ...from 10: 2002 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 10: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+3035 bytes to 15 901s # GLib-DEBUG: io-channel-basic: ...from 14: IN 901s # GLib-DEBUG: io-channel-basic: ...from 14: 3035 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 14: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+102 bytes to 9 901s # GLib-DEBUG: io-channel-basic: ...from 8: IN 901s # GLib-DEBUG: io-channel-basic: ...from 8: 102 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 8: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+1042 bytes to 13 901s # GLib-DEBUG: io-channel-basic: ...from 12: IN 901s # GLib-DEBUG: io-channel-basic: ...from 12: 1042 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 12: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+477 bytes to 17 901s # GLib-DEBUG: io-channel-basic: ...from 16: IN 901s # GLib-DEBUG: io-channel-basic: ...from 16: 477 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 16: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+1967 bytes to 15 902s # GLib-DEBUG: io-channel-basic: ...from 14: IN 902s # GLib-DEBUG: io-channel-basic: ...from 14: 1967 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 14: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+4821 bytes to 11 902s # GLib-DEBUG: io-channel-basic: ...from 10: IN 902s # GLib-DEBUG: io-channel-basic: ...from 10: 4821 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 10: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+3255 bytes to 9 902s # GLib-DEBUG: io-channel-basic: ...from 8: IN 902s # GLib-DEBUG: io-channel-basic: ...from 8: 3255 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 8: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+585 bytes to 13 902s # GLib-DEBUG: io-channel-basic: ...from 12: IN 902s # GLib-DEBUG: io-channel-basic: ...from 12: 585 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 12: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+408 bytes to 17 902s # GLib-DEBUG: io-channel-basic: ...from 16: IN 902s # GLib-DEBUG: io-channel-basic: ...from 16: 408 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 16: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+476 bytes to 15 902s # GLib-DEBUG: io-channel-basic: ...from 14: IN 902s # GLib-DEBUG: io-channel-basic: ...from 14: 476 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 14: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+4749 bytes to 11 902s # GLib-DEBUG: io-channel-basic: ...from 10: IN 902s # GLib-DEBUG: io-channel-basic: ...from 10: 4749 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 10: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+1200 bytes to 9 902s # GLib-DEBUG: io-channel-basic: ...from 8: IN 902s # GLib-DEBUG: io-channel-basic: ...from 8: 1200 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 8: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+2944 bytes to 13 902s # GLib-DEBUG: io-channel-basic: ...from 12: IN 902s # GLib-DEBUG: io-channel-basic: ...from 12: 2944 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 12: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+1574 bytes to 17 902s # GLib-DEBUG: io-channel-basic: ...from 16: IN 902s # GLib-DEBUG: io-channel-basic: ...from 16: 1574 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 16: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+266 bytes to 15 902s # GLib-DEBUG: io-channel-basic: ...from 14: IN 902s # GLib-DEBUG: io-channel-basic: ...from 14: 266 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 14: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+237 bytes to 11 902s # GLib-DEBUG: io-channel-basic: ...from 10: IN 902s # GLib-DEBUG: io-channel-basic: ...from 10: 237 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 10: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+4486 bytes to 9 902s # GLib-DEBUG: io-channel-basic: ...from 8: IN 902s # GLib-DEBUG: io-channel-basic: ...from 8: 4486 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 8: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+412 bytes to 13 902s # GLib-DEBUG: io-channel-basic: ...from 12: IN 902s # GLib-DEBUG: io-channel-basic: ...from 12: 412 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 12: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+2622 bytes to 17 902s # GLib-DEBUG: io-channel-basic: ...from 16: IN 902s # GLib-DEBUG: io-channel-basic: ...from 16: 2622 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 16: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+1890 bytes to 15 902s # GLib-DEBUG: io-channel-basic: ...from 14: IN 902s # GLib-DEBUG: io-channel-basic: ...from 14: 1890 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 14: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+4802 bytes to 11 902s # GLib-DEBUG: io-channel-basic: ...from 10: IN 902s # GLib-DEBUG: io-channel-basic: ...from 10: 4802 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 10: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+3578 bytes to 9 902s # GLib-DEBUG: io-channel-basic: ...from 8: IN 902s # GLib-DEBUG: io-channel-basic: ...from 8: 3578 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 8: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+3091 bytes to 13 902s # GLib-DEBUG: io-channel-basic: ...from 12: IN 902s # GLib-DEBUG: io-channel-basic: ...from 12: 3091 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 12: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+4366 bytes to 17 902s # GLib-DEBUG: io-channel-basic: ...from 16: IN 902s # GLib-DEBUG: io-channel-basic: ...from 16: 4366 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 16: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+1632 bytes to 15 903s # GLib-DEBUG: io-channel-basic: ...from 14: IN 903s # GLib-DEBUG: io-channel-basic: ...from 14: 1632 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 14: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+3658 bytes to 11 903s # GLib-DEBUG: io-channel-basic: ...from 10: IN 903s # GLib-DEBUG: io-channel-basic: ...from 10: 3658 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 10: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+395 bytes to 9 903s # GLib-DEBUG: io-channel-basic: ...from 8: IN 903s # GLib-DEBUG: io-channel-basic: ...from 8: 395 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 8: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+3826 bytes to 13 903s # GLib-DEBUG: io-channel-basic: ...from 12: IN 903s # GLib-DEBUG: io-channel-basic: ...from 12: 3826 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 12: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+3032 bytes to 17 903s # GLib-DEBUG: io-channel-basic: ...from 16: IN 903s # GLib-DEBUG: io-channel-basic: ...from 16: 3032 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 16: OK 903s # Executing: glib/io-channel-basic.test 903s # GLib-DEBUG: io-channel-basic: child writing 8+276 bytes to 15 903s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 903s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 903s # GLib-DEBUG: io-channel-basic: ...from 14: 276 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 14: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+958 bytes to 11 903s # GLib-DEBUG: io-channel-basic: ...from 10: IN 903s # GLib-DEBUG: io-channel-basic: ...from 10: 958 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 10: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+3534 bytes to 9 903s # GLib-DEBUG: io-channel-basic: ...from 8: IN 903s # GLib-DEBUG: io-channel-basic: ...from 8: 3534 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 8: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+118 bytes to 13 903s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 903s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 903s # GLib-DEBUG: io-channel-basic: ...from 12: 118 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 12: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+4109 bytes to 17 903s # GLib-DEBUG: io-channel-basic: ...from 16: IN 903s # GLib-DEBUG: io-channel-basic: ...from 16: 4109 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 16: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+3745 bytes to 9 903s # GLib-DEBUG: io-channel-basic: ...from 8: IN 903s # GLib-DEBUG: io-channel-basic: ...from 8: 3745 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 8: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+2524 bytes to 11 903s # GLib-DEBUG: io-channel-basic: ...from 10: IN 903s # GLib-DEBUG: io-channel-basic: ...from 10: 2524 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 10: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+4113 bytes to 17 903s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 903s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 903s # GLib-DEBUG: io-channel-basic: ...from 16: 4113 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 16: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+4545 bytes to 11 903s # GLib-DEBUG: io-channel-basic: ...from 10: IN 903s # GLib-DEBUG: io-channel-basic: ...from 10: 4545 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 10: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+3295 bytes to 9 903s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 903s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 903s # GLib-DEBUG: io-channel-basic: ...from 8: 3295 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 8: OK 904s # GLib-DEBUG: io-channel-basic: child writing 8+3255 bytes to 11 904s # GLib-DEBUG: io-channel-basic: ...from 10: IN 904s # GLib-DEBUG: io-channel-basic: ...from 10: 3255 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 10: OK 904s # GLib-DEBUG: io-channel-basic: child writing 8+1947 bytes to 11 904s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 904s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 904s # GLib-DEBUG: io-channel-basic: ...from 10: 1947 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 10: OK 904s ok 1 /gio/io-basics 904s # slow test /gio/io-basics executed in 12.26 secs 904s # End of gio tests 904s ok - glib/io-channel-basic.test 904s # Running test: glib/utils.test 904s TAP version 14 904s # random seed: R02S9f57580da17ecfeb68c2d0f05f225610 904s 1..41 904s # Start of utils tests 904s ok 1 /utils/language-names 904s ok 2 /utils/locale-variants 904s ok 3 /utils/version 904s ok 4 /utils/appname 904s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 904s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 904s ok 5 /utils/prgname-thread-safety 904s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 904s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 904s ok 6 /utils/tmpdir 904s ok 7 /utils/basic_bits 904s ok 8 /utils/bits 904s ok 9 /utils/swap 904s ok 10 /utils/find-program 904s ok 11 /utils/find-program-for-path 904s ok 12 /utils/debug 904s ok 13 /utils/codeset 904s ok 14 /utils/codeset2 904s ok 15 /utils/console-charset 904s ok 16 /utils/gettext 904s ok 17 /utils/username 904s ok 18 /utils/realname 904s ok 19 /utils/hostname 904s ok 20 /utils/xdgdirs 904s ok 21 /utils/specialdir 904s # NAME: Ubuntu 904s ok 22 /utils/os-info 904s ok 23 /utils/clear-pointer 904s ok 24 /utils/clear-pointer-cast 904s ok 25 /utils/take-pointer 904s ok 26 /utils/clear-source 904s ok 27 /utils/misc-mem 904s # /utils/aligned-mem summary: Aligned memory allocator 904s # Alignment must not be zero 904s # Alignment must be a power of two 904s # Alignment must be a multiple of sizeof(void*) 904s ok 28 /utils/aligned-mem 904s # /utils/free-sized summary: Check that g_free_sized() works 904s ok 29 /utils/free-sized 904s ok 30 /utils/nullify 904s ok 31 /utils/atexit 904s ok 32 /utils/check-setuid 904s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 904s ok 33 /utils/int-limits 904s ok 34 /utils/clear-list 904s ok 35 /utils/clear-slist 904s ok 36 /utils/steal-handle-id 904s # Start of specialdir tests 904s ok 37 /utils/specialdir/desktop 904s # End of specialdir tests 904s # Start of clear-pointer tests 904s ok 38 /utils/clear-pointer/side-effects 904s # End of clear-pointer tests 904s # Start of aligned-mem tests 904s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 904s ok 39 /utils/aligned-mem/alignment 904s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 904s ok 40 /utils/aligned-mem/zeroed 904s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 904s ok 41 /utils/aligned-mem/free-sized 904s # Start of subprocess tests 904s # End of subprocess tests 904s # End of aligned-mem tests 904s # End of utils tests 904s TAP version 14 904s # random seed: R02S29c85a12c5fd92e9c9041d895cbf3392 904s 1..2 904s # Start of fdo-notification-backend tests 904s # Test constructing a GFdoNotificationBackend 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s ok 1 /fdo-notification-backend/construction 904s # Start of dbus tests 904s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s ok - glib/utils.test 904s # Running test: glib/fdo-notification-backend.test 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s ok 2 /fdo-notification-backend/dbus/activate-action 904s # End of dbus tests 904s # End of fdo-notification-backend tests 904s ok - glib/fdo-notification-backend.test 904s # Running test: glib/gdbus-connection-loss.test 904s TAP version 14 904s # random seed: R02Sc42552de912596b84666850c35deabf1 904s 1..1 904s # Start of gdbus tests 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_V7P852/gdbus/connection-loss/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_V7P852/gdbus/connection-loss/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_V7P852/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_V7P852/gdbus/connection-loss/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_V7P852/gdbus/connection-loss/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_V7P852/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_V7P852/gdbus/connection-loss/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_V7P852/gdbus/connection-loss/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_V7P852/gdbus/connection-loss/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_V7P852/gdbus/connection-loss/.dirs/runtime 904s ok 1 /gdbus/connection-loss 904s # End of gdbus tests 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s ok - glib/gdbus-connection-loss.test 904s # Running test: glib/async-close-output-stream.test 904s TAP version 14 904s # random seed: R02S9a941ac2e2309abc602a544f6fb6c509 904s 1..3 904s # Start of close-async tests 904s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 904s ok 1 /close-async/without-flush 904s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 904s ok 2 /close-async/with-flush 904s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 904s ok 3 /close-async/with-async-flush 904s # End of close-async tests 904s ok - glib/async-close-output-stream.test 904s # Running test: glib/override.test 904s TAP version 14 904s # random seed: R02S7951df463444e8ea23b3c93a1e99c796 904s 1..1 904s # Start of gobject tests 904s # *** emitting foo on a TestA instance 904s # Expecting: TestA::foo,TestI::foo 904s # Got: TestA::foo,TestI::foo 904s # *** emitting bar on a TestA instance 904s # Expecting: TestA::bar 904s # Got: TestA::bar 904s # *** emitting baz on a TestA instance 904s # Expecting: TestA::baz 904s # Got: TestA::baz 904s # *** emitting foo on a TestB instance 904s # Expecting: TestB::foo,TestA::foo,TestI::foo 904s # Got: TestB::foo,TestA::foo,TestI::foo 904s # *** emitting bar on a TestB instance 904s # Expecting: TestB::bar,TestA::bar 904s # Got: TestB::bar,TestA::bar 904s # *** emitting baz on a TestB instance 904s # Expecting: TestB::baz,TestA::baz 904s # Got: TestB::baz,TestA::baz 904s # *** emitting foo on a TestC instance 904s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 904s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 904s # *** emitting bar on a TestC instance 904s # Expecting: TestC::bar,TestB::bar,TestA::bar 904s # Got: TestC::bar,TestB::bar,TestA::bar 904s # *** emitting baz on a TestC instance 904s # Expecting: TestC::baz,TestB::baz,TestA::baz 904s # Got: TestC::baz,TestB::baz,TestA::baz 904s ok 1 /gobject/override 904s # End of gobject tests 904s ok - glib/override.test 904s # Running test: glib/unix-fd.test 904s TAP version 14 904s # random seed: R02S483b6f972dc0da1191b2e85193bf542b 904s 1..2 904s # Start of unix-fd tests 904s ok 1 /unix-fd/fd-list 904s ok 2 /unix-fd/scm 904s # End of unix-fd tests 904s ok - glib/unix-fd.test 904s # Running test: glib/gdbus-proxy-threads.test 904s TAP version 14 904s # random seed: R02Scdb58f9f1317e9153cdc67e3b700b65b 904s 1..1 904s # Start of gdbus tests 904s # Start of proxy tests 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_0GKU52/gdbus/proxy/vs-threads/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_0GKU52/gdbus/proxy/vs-threads/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_0GKU52/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_0GKU52/gdbus/proxy/vs-threads/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_0GKU52/gdbus/proxy/vs-threads/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_0GKU52/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_0GKU52/gdbus/proxy/vs-threads/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_0GKU52/gdbus/proxy/vs-threads/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_0GKU52/gdbus/proxy/vs-threads/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_0GKU52/gdbus/proxy/vs-threads/.dirs/runtime 906s ok 1 /gdbus/proxy/vs-threads 906s # slow test /gdbus/proxy/vs-threads executed in 1.91 secs 906s # End of proxy tests 906s # End of gdbus tests 906s cleaning up pid 12871 906s ok - glib/gdbus-proxy-threads.test 906s # Running test: glib/signalgroup.test 906s TAP version 14 906s # random seed: R02Sc9179bca7725b6291d7389400a8ea5ba 906s 1..9 906s # Start of GObject tests 906s # Start of SignalGroup tests 906s ok 1 /GObject/SignalGroup/invalid 906s ok 2 /GObject/SignalGroup/simple 906s ok 3 /GObject/SignalGroup/changing-target 906s ok 4 /GObject/SignalGroup/blocking 906s ok 5 /GObject/SignalGroup/weak-ref-target 906s ok 6 /GObject/SignalGroup/connect-object 906s ok 7 /GObject/SignalGroup/signal-parsing 906s ok 8 /GObject/SignalGroup/properties 906s ok - glib/signalgroup.test 906s # Running test: glib/repository-search-paths.test 906s ok - glib/repository-search-paths.test 906s # Running test: glib/notify-init2.test 906s ok 9 /GObject/SignalGroup/interface 906s # Start of signal-parsing tests 906s # End of signal-parsing tests 906s # End of SignalGroup tests 906s # End of GObject tests 906s TAP version 14 906s # random seed: R02Sf1816dc2984193eef7b4c5130e8c65d0 906s 1..4 906s # Start of repository tests 906s # Start of search-paths tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_A8S852/repository/search-paths/default/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_A8S852/repository/search-paths/default/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_A8S852/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_A8S852/repository/search-paths/default/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_A8S852/repository/search-paths/default/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_A8S852/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_A8S852/repository/search-paths/default/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_A8S852/repository/search-paths/default/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_A8S852/repository/search-paths/default/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_A8S852/repository/search-paths/default/.dirs/runtime 906s ok 1 /repository/search-paths/default 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_A8S852/repository/search-paths/prepend/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_A8S852/repository/search-paths/prepend/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_A8S852/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_A8S852/repository/search-paths/prepend/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_A8S852/repository/search-paths/prepend/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_A8S852/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_A8S852/repository/search-paths/prepend/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_A8S852/repository/search-paths/prepend/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_A8S852/repository/search-paths/prepend/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_A8S852/repository/search-paths/prepend/.dirs/runtime 906s ok 2 /repository/search-paths/prepend 906s # End of search-paths tests 906s # Start of library-paths tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_A8S852/repository/library-paths/default/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_A8S852/repository/library-paths/default/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_A8S852/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_A8S852/repository/library-paths/default/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_A8S852/repository/library-paths/default/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_A8S852/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_A8S852/repository/library-paths/default/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_A8S852/repository/library-paths/default/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_A8S852/repository/library-paths/default/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_A8S852/repository/library-paths/default/.dirs/runtime 906s ok 3 /repository/library-paths/default 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_A8S852/repository/library-paths/prepend/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_A8S852/repository/library-paths/prepend/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_A8S852/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_A8S852/repository/library-paths/prepend/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_A8S852/repository/library-paths/prepend/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_A8S852/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_A8S852/repository/library-paths/prepend/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_A8S852/repository/library-paths/prepend/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_A8S852/repository/library-paths/prepend/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_A8S852/repository/library-paths/prepend/.dirs/runtime 906s ok 4 /repository/library-paths/prepend 906s # End of library-paths tests 906s # End of repository tests 906s TAP version 14 906s # random seed: R02Sa9f909da7407ff76e5ea2e78942be9f7 906s 1..1 906s # Start of properties tests 906s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 906s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 906s ok 1 /properties/notify-in-init2 906s # End of properties tests 906s TAP version 14 906s # random seed: R02Sb96eff935d1ee05033634d00afda6c7d 906s 1..1 906s # Start of gthash tests 906s ok 1 /gthash/build-retrieve 906s # End of gthash tests 906s TAP version 14 906s # random seed: R02S9af605b8846a649a9b7c8c8e863f4ee7 906s 1..32 906s # Start of param tests 906s ok 1 /param/value 906s ok 2 /param/strings 906s ok 3 /param/qdata 906s ok 4 /param/validate 906s ok 5 /param/convert 906s ok 6 /param/implement # SKIP Skipping slow /param/implement test 906s ok 7 /param/default 906s ok 8 /param/is-valid-name 906s # Start of invalid-name tests 906s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 906s ok - glib/notify-init2.test 906s # Running test: glib/gthash.test 906s ok - glib/gthash.test 906s # Running test: glib/param.test 906s ok 9 /param/invalid-name/colon 906s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 906s ok 10 /param/invalid-name/first-char 906s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 906s ok 11 /param/invalid-name/empty 906s # End of invalid-name tests 906s # Start of implement tests 906s # Start of subprocess tests 906s # End of subprocess tests 906s # End of implement tests 906s # End of param tests 906s # Start of value tests 906s ok 12 /value/transform 906s # End of value tests 906s # Start of paramspec tests 906s ok 13 /paramspec/char 906s ok 14 /paramspec/uchar 906s ok 15 /paramspec/int 906s ok 16 /paramspec/uint 906s ok 17 /paramspec/long 906s ok 18 /paramspec/ulong 906s ok 19 /paramspec/int64 906s ok 20 /paramspec/uint64 906s ok 21 /paramspec/float 906s ok 22 /paramspec/double 906s ok 23 /paramspec/unichar 906s ok 24 /paramspec/param 906s ok 25 /paramspec/null-param 906s ok 26 /paramspec/string 906s ok 27 /paramspec/override 906s ok 28 /paramspec/gtype 906s ok 29 /paramspec/variant 906s ok 30 /paramspec/custom 906s ok 31 /paramspec/pool 906s # Start of variant tests 906s ok 32 /paramspec/variant/cmp 906s # End of variant tests 906s # End of paramspec tests 906s ok - glib/param.test 906s # Running test: glib/gdbus-non-socket.test 906s TAP version 14 906s # random seed: R02S16c08ab315e6d6431a0c725a477c05c5 906s 1..1 906s # Start of gdbus tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_PHZV52/gdbus/non-socket/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_PHZV52/gdbus/non-socket/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_PHZV52/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_PHZV52/gdbus/non-socket/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_PHZV52/gdbus/non-socket/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_PHZV52/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_PHZV52/gdbus/non-socket/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_PHZV52/gdbus/non-socket/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_PHZV52/gdbus/non-socket/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_PHZV52/gdbus/non-socket/.dirs/runtime 906s ok 1 /gdbus/non-socket 906s # End of gdbus tests 906s ok - glib/gdbus-non-socket.test 906s # Running test: glib/application-command-line.test 906s TAP version 14 906s # random seed: R02S81fb2bfcb965e18a661d75f23d86c509 906s 1..1 906s # Start of application-command-line tests 906s ok 1 /application-command-line/basic-properties 906s # End of application-command-line tests 906s ok - glib/application-command-line.test 906s # Running test: glib/memory-settings-backend.test 906s TAP version 14 906s # random seed: R02Sc0f050e236cb6c9cb31d3b1f197db9e8 906s 1..1 906s # Start of memory-settings-backend tests 906s ok 1 /memory-settings-backend/extension-point-registered 906s # End of memory-settings-backend tests 906s ok - glib/memory-settings-backend.test 906s # Running test: glib/module-test-library.test 906s TAP version 14 906s # random seed: R02S7f28dd93a2a8ea0f361437aaa7264cd2 906s ok - glib/module-test-library.test 906s # Running test: glib/include.test 906s ok - glib/include.test 906s # Running test: glib/gdbus-test-codegen-old.test 906s 1..3 906s # Start of module tests 906s ok 1 /module/basics 906s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 906s ok 2 /module/invalid-libtool-archive 906s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 906s ok 3 /module/local-binding 906s # End of module tests 906s TAP version 14 906s # random seed: R02S8603e49e4d19bd75d1417892219cba19 906s 1..1 906s # Start of include tests 906s ok 1 /include/rwlock 906s # End of include tests 906s TAP version 14 906s # random seed: R02S2f3e82340b1ed147ad988b8e7f74e53f 906s 1..8 906s # Start of gdbus tests 906s # Start of codegen tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/annotations/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/annotations/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/annotations/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/annotations/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/annotations/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/annotations/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/annotations/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/annotations/.dirs/runtime 906s ok 1 /gdbus/codegen/annotations 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/interface_stability/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/interface_stability/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/interface_stability/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/interface_stability/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/interface_stability/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/interface_stability/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/interface_stability/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/interface_stability/.dirs/runtime 906s ok 2 /gdbus/codegen/interface_stability 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/object-manager/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/object-manager/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/object-manager/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/object-manager/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/object-manager/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/object-manager/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/object-manager/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/object-manager/.dirs/runtime 906s ok 3 /gdbus/codegen/object-manager 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/property-naming/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/property-naming/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/property-naming/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/property-naming/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/property-naming/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/property-naming/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/property-naming/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/property-naming/.dirs/runtime 906s ok 4 /gdbus/codegen/property-naming 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/autocleanups/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/autocleanups/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/autocleanups/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/autocleanups/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/autocleanups/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/autocleanups/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/autocleanups/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/autocleanups/.dirs/runtime 906s ok 5 /gdbus/codegen/autocleanups 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/deprecations/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/deprecations/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/deprecations/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/deprecations/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/deprecations/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/deprecations/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/deprecations/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/deprecations/.dirs/runtime 906s ok 6 /gdbus/codegen/deprecations 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/standalone-interface-info/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/standalone-interface-info/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/standalone-interface-info/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/standalone-interface-info/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/standalone-interface-info/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/standalone-interface-info/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/standalone-interface-info/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/standalone-interface-info/.dirs/runtime 906s ok 7 /gdbus/codegen/standalone-interface-info 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/unix-fd-list/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/unix-fd-list/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/unix-fd-list/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/unix-fd-list/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/unix-fd-list/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/unix-fd-list/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/unix-fd-list/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7G5Q52/gdbus/codegen/unix-fd-list/.dirs/runtime 906s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 906s ok 8 /gdbus/codegen/unix-fd-list 906s # End of codegen tests 906s # End of gdbus tests 906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 906s ok - glib/gdbus-test-codegen-old.test 906s # Running test: glib/mkenums.py.test 906s TAP version 13 906s ok 1 __main__.TestMkenums.test_available_in 906s # glib-mkenums: /usr/bin/glib-mkenums 906s # tmpdir: /tmp/tmp6guk07gg 906s # rspfile: False 906s # /tmp/tmp6guk07gg/tmplcfhhxno.h: 906s # typedef enum { 906s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 906s # } GDBusServerFlags; 906s # 906s # /tmp/tmp6guk07gg/tmpe73gg9zp.template: 906s # /*** BEGIN file-header ***/ 906s # file-header 906s # /*** END file-header ***/ 906s # 906s # /*** BEGIN file-production ***/ 906s # file-production 906s # filename: @filename@ 906s # basename: @basename@ 906s # /*** END file-production ***/ 906s # 906s # /*** BEGIN enumeration-production ***/ 906s # enumeration-production 906s # EnumName: @EnumName@ 906s # enum_name: @enum_name@ 906s # ENUMNAME: @ENUMNAME@ 906s # ENUMSHORT: @ENUMSHORT@ 906s # ENUMPREFIX: @ENUMPREFIX@ 906s # enumsince: @enumsince@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END enumeration-production ***/ 906s # 906s # /*** BEGIN value-header ***/ 906s # value-header 906s # EnumName: @EnumName@ 906s # enum_name: @enum_name@ 906s # ENUMNAME: @ENUMNAME@ 906s # ENUMSHORT: @ENUMSHORT@ 906s # ENUMPREFIX: @ENUMPREFIX@ 906s # enumsince: @enumsince@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END value-header ***/ 906s # 906s # /*** BEGIN value-production ***/ 906s # value-production 906s # VALUENAME: @VALUENAME@ 906s # valuenick: @valuenick@ 906s # valuenum: @valuenum@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END value-production ***/ 906s # 906s # /*** BEGIN value-tail ***/ 906s # value-tail 906s # EnumName: @EnumName@ 906s # enum_name: @enum_name@ 906s # ENUMNAME: @ENUMNAME@ 906s # ENUMSHORT: @ENUMSHORT@ 906s # ENUMPREFIX: @ENUMPREFIX@ 906s # enumsince: @enumsince@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END value-tail ***/ 906s # 906s # /*** BEGIN comment ***/ 906s # comment 906s # comment: @comment@ 906s # /*** END comment ***/ 906s # 906s # /*** BEGIN file-tail ***/ 906s # file-tail 906s # /*** END file-tail ***/ 906s # 906s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6guk07gg/tmpe73gg9zp.template', '/tmp/tmp6guk07gg/tmplcfhhxno.h'] 906s # Return code: 0 906s # Output: 906s # comment 906s # 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. 906s # 906s # 906s # file-header 906s # file-production 906s # filename: /tmp/tmp6guk07gg/tmplcfhhxno.h 906s # basename: tmplcfhhxno.h 906s # enumeration-production 906s # EnumName: GDBusServerFlags 906s # enum_name: g_dbus_server_flags 906s # ENUMNAME: G_DBUS_SERVER_FLAGS 906s # ENUMSHORT: DBUS_SERVER_FLAGS 906s # ENUMPREFIX: G 906s # enumsince: 906s # type: flags 906s # Type: Flags 906s # TYPE: FLAGS 906s # value-header 906s # EnumName: GDBusServerFlags 906s # enum_name: g_dbus_server_flags 906s # ENUMNAME: G_DBUS_SERVER_FLAGS 906s # ENUMSHORT: DBUS_SERVER_FLAGS 906s # ENUMPREFIX: G 906s # enumsince: 906s # type: flags 906s # Type: Flags 906s # TYPE: FLAGS 906s # value-production 906s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 906s # valuenick: user 906s # valuenum: 4 906s # type: flags 906s # Type: Flags 906s # TYPE: FLAGS 906s # value-tail 906s # EnumName: GDBusServerFlags 906s # enum_name: g_dbus_server_flags 906s # ENUMNAME: G_DBUS_SERVER_FLAGS 906s # ENUMSHORT: DBUS_SERVER_FLAGS 906s # ENUMPREFIX: G 906s # enumsince: 906s # type: flags 906s # Type: Flags 906s # TYPE: FLAGS 906s # file-tail 906s # 906s # comment 906s # comment: Generated data ends here 906s # Error: 906s ok 2 __main__.TestMkenums.test_comma_in_enum_value 906s # glib-mkenums: /usr/bin/glib-mkenums 906s # tmpdir: /tmp/tmptycfs9mh 906s # rspfile: False 906s # /tmp/tmptycfs9mh/tmpowsouea1.h: 906s # typedef enum { 906s # ENUM_VALUE_WITH_COMMA = ',', 906s # } TestCommaEnum; 906s # 906s # /tmp/tmptycfs9mh/tmpy5jjpnvd.template: 906s # /*** BEGIN file-header ***/ 906s # file-header 906s # /*** END file-header ***/ 906s # 906s # /*** BEGIN file-production ***/ 906s # file-production 906s # filename: @filename@ 906s # basename: @basename@ 906s # /*** END file-production ***/ 906s # 906s # /*** BEGIN enumeration-production ***/ 906s # enumeration-production 906s # EnumName: @EnumName@ 906s # enum_name: @enum_name@ 906s # ENUMNAME: @ENUMNAME@ 906s # ENUMSHORT: @ENUMSHORT@ 906s # ENUMPREFIX: @ENUMPREFIX@ 906s # enumsince: @enumsince@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END enumeration-production ***/ 906s # 906s # /*** BEGIN value-header ***/ 906s # value-header 906s # EnumName: @EnumName@ 906s # enum_name: @enum_name@ 906s # ENUMNAME: @ENUMNAME@ 906s # ENUMSHORT: @ENUMSHORT@ 906s # ENUMPREFIX: @ENUMPREFIX@ 906s # enumsince: @enumsince@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END value-header ***/ 906s # 906s # /*** BEGIN value-production ***/ 906s # value-production 906s # VALUENAME: @VALUENAME@ 906s # valuenick: @valuenick@ 906s # valuenum: @valuenum@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END value-production ***/ 906s # 906s # /*** BEGIN value-tail ***/ 906s # value-tail 906s # EnumName: @EnumName@ 906s # enum_name: @enum_name@ 906s # ENUMNAME: @ENUMNAME@ 906s # ENUMSHORT: @ENUMSHORT@ 906s # ENUMPREFIX: @ENUMPREFIX@ 906s # enumsince: @enumsince@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END value-tail ***/ 906s # 906s # /*** BEGIN comment ***/ 906s # comment 906s # comment: @comment@ 906s # /*** END comment ***/ 906s # 906s # /*** BEGIN file-tail ***/ 906s # file-tail 906s # /*** END file-tail ***/ 906s # 906s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptycfs9mh/tmpy5jjpnvd.template', '/tmp/tmptycfs9mh/tmpowsouea1.h'] 906s # Return code: 0 906s # Output: 906s # comment 906s # 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. 906s # 906s # 906s # file-header 906s # file-production 906s # filename: /tmp/tmptycfs9mh/tmpowsouea1.h 906s # basename: tmpowsouea1.h 906s # enumeration-production 906s # EnumName: TestCommaEnum 906s # enum_name: test_comma_enum 906s # ENUMNAME: TEST_COMMA_ENUM 906s # ENUMSHORT: COMMA_ENUM 906s # ENUMPREFIX: TEST 906s # enumsince: 906s # type: enum 906s # Type: Enum 906s # TYPE: ENUM 906s # value-header 906s # EnumName: TestCommaEnum 906s # enum_name: test_comma_enum 906s # ENUMNAME: TEST_COMMA_ENUM 906s # ENUMSHORT: COMMA_ENUM 906s # ENUMPREFIX: TEST 906s # enumsince: 906s # type: enum 906s # Type: Enum 906s # TYPE: ENUM 906s # value-production 906s # VALUENAME: ENUM_VALUE_WITH_COMMA 906s # valuenick: comma 906s # valuenum: 44 906s # type: enum 906s # Type: Enum 906s # TYPE: ENUM 906s # value-tail 906s # EnumName: TestCommaEnum 906s # enum_name: test_comma_enum 906s # ENUMNAME: TEST_COMMA_ENUM 906s # ENUMSHORT: COMMA_ENUM 906s # ENUMPREFIX: TEST 906s # enumsince: 906s # type: enum 906s # Type: Enum 906s # TYPE: ENUM 906s # file-tail 906s # 906s # comment 906s # comment: Generated data ends here 906s # Error: 906s ok 3 __main__.TestMkenums.test_deprecated_in 906s # glib-mkenums: /usr/bin/glib-mkenums 906s # tmpdir: /tmp/tmp5sb3uzc1 906s # rspfile: False 906s # /tmp/tmp5sb3uzc1/tmp_8_6r24j.h: 906s # typedef enum { 906s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 906s # } GDBusServerFlags; 906s # 906s # /tmp/tmp5sb3uzc1/tmpbqem257h.template: 906s # /*** BEGIN file-header ***/ 906s # file-header 906s # /*** END file-header ***/ 906s # 906s # /*** BEGIN file-production ***/ 906s # file-production 906s # filename: @filename@ 906s # basename: @basename@ 906s # /*** END file-production ***/ 906s # 906s # /*** BEGIN enumeration-production ***/ 906s # enumeration-production 906s # EnumName: @EnumName@ 906s # enum_name: @enum_name@ 906s # ENUMNAME: @ENUMNAME@ 906s # ENUMSHORT: @ENUMSHORT@ 906s # ENUMPREFIX: @ENUMPREFIX@ 906s # enumsince: @enumsince@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END enumeration-production ***/ 906s # 906s # /*** BEGIN value-header ***/ 906s # value-header 906s # EnumName: @EnumName@ 906s # enum_name: @enum_name@ 906s # ENUMNAME: @ENUMNAME@ 906s # ENUMSHORT: @ENUMSHORT@ 906s # ENUMPREFIX: @ENUMPREFIX@ 906s # enumsince: @enumsince@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END value-header ***/ 906s # 906s # /*** BEGIN value-production ***/ 906s # value-production 906s # VALUENAME: @VALUENAME@ 906s # valuenick: @valuenick@ 906s # valuenum: @valuenum@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END value-production ***/ 906s # 906s # /*** BEGIN value-tail ***/ 906s # value-tail 906s # EnumName: @EnumName@ 906s # enum_name: @enum_name@ 906s # ENUMNAME: @ENUMNAME@ 906s # ENUMSHORT: @ENUMSHORT@ 906s # ENUMPREFIX: @ENUMPREFIX@ 906s # enumsince: @enumsince@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END value-tail ***/ 906s # 906s # /*** BEGIN comment ***/ 906s # comment 906s # comment: @comment@ 906s # /*** END comment ***/ 906s # 906s # /*** BEGIN file-tail ***/ 906s # file-tail 906s # /*** END file-tail ***/ 906s # 906s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5sb3uzc1/tmpbqem257h.template', '/tmp/tmp5sb3uzc1/tmp_8_6r24j.h'] 906s # Return code: 0 906s # Output: 906s # comment 906s # 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. 906s # 906s # 906s # file-header 906s # file-production 906s # filename: /tmp/tmp5sb3uzc1/tmp_8_6r24j.h 906s # basename: tmp_8_6r24j.h 906s # enumeration-production 906s # EnumName: GDBusServerFlags 906s # enum_name: g_dbus_server_flags 906s # ENUMNAME: G_DBUS_SERVER_FLAGS 906s # ENUMSHORT: DBUS_SERVER_FLAGS 906s # ENUMPREFIX: G 906s # enumsince: 906s # type: flags 906s # Type: Flags 906s # TYPE: FLAGS 906s # value-header 906s # EnumName: GDBusServerFlags 906s # enum_name: g_dbus_server_flags 906s # ENUMNAME: G_DBUS_SERVER_FLAGS 906s # ENUMSHORT: DBUS_SERVER_FLAGS 906s # ENUMPREFIX: G 906s # enumsince: 906s # type: flags 906s # Type: Flags 906s # TYPE: FLAGS 906s # value-production 906s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 906s # valuenick: user 906s # valuenum: 4 906s # type: flags 906s # Type: Flags 906s # TYPE: FLAGS 906s # value-tail 906s # EnumName: GDBusServerFlags 906s # enum_name: g_dbus_server_flags 906s # ENUMNAME: G_DBUS_SERVER_FLAGS 906s # ENUMSHORT: DBUS_SERVER_FLAGS 906s # ENUMPREFIX: G 906s # enumsince: 906s # type: flags 906s # Type: Flags 906s # TYPE: FLAGS 906s # file-tail 906s # 906s # comment 906s # comment: Generated data ends here 906s # Error: 906s ok 4 __main__.TestMkenums.test_deprecated_in_for 906s # glib-mkenums: /usr/bin/glib-mkenums 906s # tmpdir: /tmp/tmpld3vctah 906s # rspfile: False 906s # /tmp/tmpld3vctah/tmpi5f9j1hu.h: 906s # typedef enum { 906s # 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) 906s # } GDBusServerFlags; 906s # 906s # /tmp/tmpld3vctah/tmpim979zeg.template: 906s # /*** BEGIN file-header ***/ 906s # file-header 906s # /*** END file-header ***/ 906s # 906s # /*** BEGIN file-production ***/ 906s # file-production 906s # filename: @filename@ 906s # basename: @basename@ 906s # /*** END file-production ***/ 906s # 906s # /*** BEGIN enumeration-production ***/ 906s # enumeration-production 906s # EnumName: @EnumName@ 906s # enum_name: @enum_name@ 906s # ENUMNAME: @ENUMNAME@ 906s # ENUMSHORT: @ENUMSHORT@ 906s # ENUMPREFIX: @ENUMPREFIX@ 906s # enumsince: @enumsince@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END enumeration-production ***/ 906s # 906s # /*** BEGIN value-header ***/ 906s # value-header 906s # EnumName: @EnumName@ 906s # enum_name: @enum_name@ 906s # ENUMNAME: @ENUMNAME@ 906s # ENUMSHORT: @ENUMSHORT@ 906s # ENUMPREFIX: @ENUMPREFIX@ 906s # enumsince: @enumsince@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END value-header ***/ 906s # 906s # /*** BEGIN value-production ***/ 906s # value-production 906s # VALUENAME: @VALUENAME@ 906s # valuenick: @valuenick@ 906s # valuenum: @valuenum@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END value-production ***/ 906s # 906s # /*** BEGIN value-tail ***/ 906s # value-tail 906s # EnumName: @EnumName@ 906s # enum_name: @enum_name@ 906s # ENUMNAME: @ENUMNAME@ 906s # ENUMSHORT: @ENUMSHORT@ 906s # ENUMPREFIX: @ENUMPREFIX@ 906s # enumsince: @enumsince@ 906s # type: @type@ 906s # Type: @Type@ 906s # TYPE: @TYPE@ 906s # /*** END value-tail ***/ 906s # 906s # /*** BEGIN comment ***/ 906s # comment 906s # comment: @comment@ 906s # /*** END comment ***/ 906s # 906s # /*** BEGIN file-tail ***/ 906s # file-tail 906s # /*** END file-tail ***/ 906s # 906s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpld3vctah/tmpim979zeg.template', '/tmp/tmpld3vctah/tmpi5f9j1hu.h'] 906s # Return code: 0 906s # Output: 906s # comment 906s # 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. 906s # 906s # 906s # file-header 906s # file-production 906s # filename: /tmp/tmpld3vctah/tmpi5f9j1hu.h 906s # basename: tmpi5f9j1hu.h 906s # enumeration-production 906s # EnumName: GDBusServerFlags 906s # enum_name: g_dbus_server_flags 906s # ENUMNAME: G_DBUS_SERVER_FLAGS 906s # ENUMSHORT: DBUS_SERVER_FLAGS 906s # ENUMPREFIX: G 906s # enumsince: 906s # type: flags 906s # Type: Flags 906s # TYPE: FLAGS 906s # value-header 906s # EnumName: GDBusServerFlags 906s # enum_name: g_dbus_server_flags 906s # ENUMNAME: G_DBUS_SERVER_FLAGS 906s # ENUMSHORT: DBUS_SERVER_FLAGS 906s # ENUMPREFIX: G 906s # enumsince: 906s # type: flags 906s # Type: Flags 906s # TYPE: FLAGS 906s # value-production 906s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 906s # valuenick: user 906s # valuenum: 4 906s # type: flags 906s # Type: Flags 906s # TYPE: FLAGS 906s # value-tail 906s # EnumName: GDBusServerFlags 906s # enum_name: g_dbus_server_flags 906s # ENUMNAME: G_DBUS_SERVER_FLAGS 906s # ENUMSHORT: DBUS_SERVER_FLAGS 906s # ENUMPREFIX: G 906s # enumsince: 906s # type: flags 906s # Type: Flags 906s # TYPE: FLAGS 906s # file-tail 906s # 906s # comment 906s # comment: Generated data ends here 906s # Error: 907s ok 5 __main__.TestMkenums.test_empty_header 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpb2ul7x4j 907s # rspfile: False 907s # /tmp/tmpb2ul7x4j/tmp4dqf2fhx.h: 907s # /tmp/tmpb2ul7x4j/tmpg6grkp3q.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb2ul7x4j/tmpg6grkp3q.template', '/tmp/tmpb2ul7x4j/tmp4dqf2fhx.h'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 6 __main__.TestMkenums.test_empty_template 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpghf3iupl 907s # rspfile: False 907s # /tmp/tmpghf3iupl/tmpndsmxarw.template: 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpghf3iupl/tmpndsmxarw.template'] 907s # Return code: 0 907s # Output: 907s # /* 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. */ 907s # 907s # 907s # /* Generated data ends here */ 907s # Error: 907s ok 7 __main__.TestMkenums.test_enum_name 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpn4uymbvw 907s # rspfile: False 907s # /tmp/tmpn4uymbvw/tmp0o0qibhf.h: 907s # typedef enum _SomeEnumIdentifier { 907s # ENUM_VALUE 907s # } SomeEnumIdentifier; 907s # 907s # /tmp/tmpn4uymbvw/tmp2entijs0.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn4uymbvw/tmp2entijs0.template', '/tmp/tmpn4uymbvw/tmp0o0qibhf.h'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmpn4uymbvw/tmp0o0qibhf.h 907s # basename: tmp0o0qibhf.h 907s # enumeration-production 907s # EnumName: SomeEnumIdentifier 907s # enum_name: some_enum_identifier 907s # ENUMNAME: SOME_ENUM_IDENTIFIER 907s # ENUMSHORT: ENUM_IDENTIFIER 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-header 907s # EnumName: SomeEnumIdentifier 907s # enum_name: some_enum_identifier 907s # ENUMNAME: SOME_ENUM_IDENTIFIER 907s # ENUMSHORT: ENUM_IDENTIFIER 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-production 907s # VALUENAME: ENUM_VALUE 907s # valuenick: value 907s # valuenum: 0 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-tail 907s # EnumName: SomeEnumIdentifier 907s # enum_name: some_enum_identifier 907s # ENUMNAME: SOME_ENUM_IDENTIFIER 907s # ENUMSHORT: ENUM_IDENTIFIER 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 8 __main__.TestMkenums.test_enum_private_public 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpv5tp57u9 907s # rspfile: False 907s # /tmp/tmpv5tp57u9/tmpwd5nawxn.h: 907s # typedef enum { 907s # ENUM_VALUE_PUBLIC1, 907s # /*< private >*/ 907s # ENUM_VALUE_PRIVATE, 907s # } SomeEnumA 907s # 907s # /tmp/tmpv5tp57u9/tmpxaxtnymu.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpv5tp57u9/tmpxaxtnymu.template', '/tmp/tmpv5tp57u9/tmpwd5nawxn.h'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmpv5tp57u9/tmpwd5nawxn.h 907s # basename: tmpwd5nawxn.h 907s # enumeration-production 907s # EnumName: SomeEnumA 907s # enum_name: some_enum_a 907s # ENUMNAME: SOME_ENUM_A 907s # ENUMSHORT: ENUM_A 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-header 907s # EnumName: SomeEnumA 907s # enum_name: some_enum_a 907s # ENUMNAME: SOME_ENUM_A 907s # ENUMSHORT: ENUM_A 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-production 907s # VALUENAME: ENUM_VALUE_PUBLIC1 907s # valuenick: public1 907s # valuenum: 0 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-tail 907s # EnumName: SomeEnumA 907s # enum_name: some_enum_a 907s # ENUMNAME: SOME_ENUM_A 907s # ENUMSHORT: ENUM_A 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s # 907s # /tmp/tmpv5tp57u9/tmpyzxvgb0o.h: 907s # typedef enum { 907s # /*< private >*/ 907s # ENUM_VALUE_PRIVATE, 907s # /*< public >*/ 907s # ENUM_VALUE_PUBLIC2, 907s # } SomeEnumB; 907s # 907s # /tmp/tmpv5tp57u9/tmpjn9hiire.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpv5tp57u9/tmpjn9hiire.template', '/tmp/tmpv5tp57u9/tmpyzxvgb0o.h'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmpv5tp57u9/tmpyzxvgb0o.h 907s # basename: tmpyzxvgb0o.h 907s # enumeration-production 907s # EnumName: SomeEnumB 907s # enum_name: some_enum_b 907s # ENUMNAME: SOME_ENUM_B 907s # ENUMSHORT: ENUM_B 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-header 907s # EnumName: SomeEnumB 907s # enum_name: some_enum_b 907s # ENUMNAME: SOME_ENUM_B 907s # ENUMSHORT: ENUM_B 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-production 907s # VALUENAME: ENUM_VALUE_PUBLIC2 907s # valuenick: public2 907s # valuenum: 1 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-tail 907s # EnumName: SomeEnumB 907s # enum_name: some_enum_b 907s # ENUMNAME: SOME_ENUM_B 907s # ENUMSHORT: ENUM_B 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpnlhiy8zh 907s # rspfile: False 907s # /tmp/tmpnlhiy8zh/tmp2hv5xd9x.h: 907s # typedef enum { 907s # /*< private >*/ 907s # ENUM_VALUE_PRIVATE = 5, 907s # /*< public >*/ 907s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 907s # } TestSymbolicEnum; 907s # 907s # /tmp/tmpnlhiy8zh/tmp84e64n_l.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnlhiy8zh/tmp84e64n_l.template', '/tmp/tmpnlhiy8zh/tmp2hv5xd9x.h'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmpnlhiy8zh/tmp2hv5xd9x.h 907s # basename: tmp2hv5xd9x.h 907s # enumeration-production 907s # EnumName: TestSymbolicEnum 907s # enum_name: test_symbolic_enum 907s # ENUMNAME: TEST_SYMBOLIC_ENUM 907s # ENUMSHORT: SYMBOLIC_ENUM 907s # ENUMPREFIX: TEST 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-header 907s # EnumName: TestSymbolicEnum 907s # enum_name: test_symbolic_enum 907s # ENUMNAME: TEST_SYMBOLIC_ENUM 907s # ENUMSHORT: SYMBOLIC_ENUM 907s # ENUMPREFIX: TEST 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-production 907s # VALUENAME: ENUM_VALUE_PUBLIC 907s # valuenick: public 907s # valuenum: 7 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-tail 907s # EnumName: TestSymbolicEnum 907s # enum_name: test_symbolic_enum 907s # ENUMNAME: TEST_SYMBOLIC_ENUM 907s # ENUMSHORT: SYMBOLIC_ENUM 907s # ENUMPREFIX: TEST 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmp5opf5mjo 907s # rspfile: False 907s # /tmp/tmp5opf5mjo/tmp57_lin0x.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-tail ***/ 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5opf5mjo/tmp57_lin0x.template'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # filename: @filename@ 907s # basename: @basename@ 907s # file-tail 907s # filename: @filename@ 907s # basename: @basename@ 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s # WARNING: @filename@ used in file-header section. 907s # WARNING: @basename@ used in file-header section. 907s # WARNING: @filename@ used in file-tail section. 907s # WARNING: @basename@ used in file-tail section. 907s ok 11 __main__.TestMkenums.test_help 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpb0t9v924 907s # rspfile: False 907s # Running: ['/usr/bin/glib-mkenums', '--help'] 907s # Return code: 0 907s # Output: 907s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 907s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 907s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 907s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 907s # [--comments COMMENT_TMPL] [--template TEMPLATE] 907s # [--output OUTPUT] [--version] 907s # [args ...] 907s # 907s # positional arguments: 907s # args One or more input files, or a single argument 907s # @rspfile_path pointing to a file that contains the 907s # actual arguments 907s # 907s # options: 907s # -h, --help show this help message and exit 907s # --identifier-prefix IDPREFIX 907s # Identifier prefix 907s # --symbol-prefix SYMPREFIX 907s # Symbol prefix 907s # --fhead FHEAD Output file header 907s # --ftail FTAIL Output file footer 907s # --fprod FPROD Put out TEXT every time a new input file is being 907s # processed. 907s # --eprod EPROD Per enum text, produced prior to value iterations 907s # --vhead VHEAD Value header, produced before iterating over enum 907s # values 907s # --vprod VPROD Value text, produced for each enum value. 907s # --vtail VTAIL Value tail, produced after iterating over enum values 907s # --comments COMMENT_TMPL 907s # Comment structure 907s # --template TEMPLATE Template file 907s # --output OUTPUT 907s # --version, -v Print version information 907s # 907s # Production text substitutions: 907s # @EnumName@ PrefixTheXEnum 907s # @enum_name@ prefix_the_xenum 907s # @ENUMNAME@ PREFIX_THE_XENUM 907s # @ENUMSHORT@ THE_XENUM 907s # @ENUMPREFIX@ PREFIX 907s # @enumsince@ the user-provided since value given 907s # @VALUENAME@ PREFIX_THE_XVALUE 907s # @valuenick@ the-xvalue 907s # @valuenum@ the integer value (limited support, Since: 2.26) 907s # @type@ either enum or flags 907s # @Type@ either Enum or Flags 907s # @TYPE@ either ENUM or FLAGS 907s # @filename@ name of current input file 907s # @basename@ base name of the current input file (Since: 2.22) 907s # Error: 907s ok 12 __main__.TestMkenums.test_no_args 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmp1hbvc9ju 907s # rspfile: False 907s # Running: ['/usr/bin/glib-mkenums'] 907s # Return code: 0 907s # Output: 907s # /* 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. */ 907s # 907s # 907s # /* Generated data ends here */ 907s # Error: 907s ok 13 __main__.TestMkenums.test_no_headers 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpe5fmikx8 907s # rspfile: False 907s # /tmp/tmpe5fmikx8/tmpmb7ofiss.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpe5fmikx8/tmpmb7ofiss.template'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 14 __main__.TestMkenums.test_no_nick 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmp2j4s3j8f 907s # rspfile: False 907s # /tmp/tmp2j4s3j8f/tmp1im5bo8d.h: 907s # typedef enum { 907s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 907s # } GeglSamplerType; 907s # 907s # /tmp/tmp2j4s3j8f/tmpfs7mng9d.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2j4s3j8f/tmpfs7mng9d.template', '/tmp/tmp2j4s3j8f/tmp1im5bo8d.h'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmp2j4s3j8f/tmp1im5bo8d.h 907s # basename: tmp1im5bo8d.h 907s # enumeration-production 907s # EnumName: GeglSamplerType 907s # enum_name: gegl_sampler_type 907s # ENUMNAME: GEGL_SAMPLER_TYPE 907s # ENUMSHORT: SAMPLER_TYPE 907s # ENUMPREFIX: GEGL 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-header 907s # EnumName: GeglSamplerType 907s # enum_name: gegl_sampler_type 907s # ENUMNAME: GEGL_SAMPLER_TYPE 907s # ENUMSHORT: SAMPLER_TYPE 907s # ENUMPREFIX: GEGL 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-production 907s # VALUENAME: GEGL_SAMPLER_NEAREST 907s # valuenick: nearest 907s # valuenum: 0 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-tail 907s # EnumName: GeglSamplerType 907s # enum_name: gegl_sampler_type 907s # ENUMNAME: GEGL_SAMPLER_TYPE 907s # ENUMSHORT: SAMPLER_TYPE 907s # ENUMPREFIX: GEGL 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 15 __main__.TestMkenums.test_non_utf8_encoding 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpz2bwpxyc 907s # rspfile: False 907s # /tmp/tmpz2bwpxyc/tmpzzhxjji3.h: 907s # /* Copyright © La Peña */ 907s # typedef enum { 907s # ENUM_VALUE 907s # } SomeEnumIdentifier; 907s # 907s # /tmp/tmpz2bwpxyc/tmpf9n93cur.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpz2bwpxyc/tmpf9n93cur.template', '/tmp/tmpz2bwpxyc/tmpzzhxjji3.h'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmpz2bwpxyc/tmpzzhxjji3.h 907s # basename: tmpzzhxjji3.h 907s # enumeration-production 907s # EnumName: SomeEnumIdentifier 907s # enum_name: some_enum_identifier 907s # ENUMNAME: SOME_ENUM_IDENTIFIER 907s # ENUMSHORT: ENUM_IDENTIFIER 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-header 907s # EnumName: SomeEnumIdentifier 907s # enum_name: some_enum_identifier 907s # ENUMNAME: SOME_ENUM_IDENTIFIER 907s # ENUMSHORT: ENUM_IDENTIFIER 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-production 907s # VALUENAME: ENUM_VALUE 907s # valuenick: value 907s # valuenum: 0 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-tail 907s # EnumName: SomeEnumIdentifier 907s # enum_name: some_enum_identifier 907s # ENUMNAME: SOME_ENUM_IDENTIFIER 907s # ENUMSHORT: ENUM_IDENTIFIER 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 907s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 907s ok 16 __main__.TestMkenums.test_reproducible 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpvtz6z1sa 907s # rspfile: False 907s # /tmp/tmpvtz6z1sa/tmpyaf8r969.template: template 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvtz6z1sa/tmpyaf8r969.template', '/tmp/tmpvtz6z1sa/tmpclh5o3tf1.h', '/tmp/tmpvtz6z1sa/tmpo_ip21tu2.h'] 907s # Return code: 0 907s # Output: 907s # /* 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. */ 907s # 907s # 907s # /* Generated data ends here */ 907s # Error: 907s # 907s # /tmp/tmpvtz6z1sa/tmpwngzn3g0.template: template 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvtz6z1sa/tmpwngzn3g0.template', '/tmp/tmpvtz6z1sa/tmpo_ip21tu2.h', '/tmp/tmpvtz6z1sa/tmpclh5o3tf1.h'] 907s # Return code: 0 907s # Output: 907s # /* 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. */ 907s # 907s # 907s # /* Generated data ends here */ 907s # Error: 907s ok 17 __main__.TestMkenums.test_since 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpliby8jeu 907s # rspfile: False 907s # /tmp/tmpliby8jeu/tmpn2b81s6f.h: 907s # typedef enum { /*< since=1.0 >*/ 907s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 907s # } QmiWmsMessageProtocol; 907s # 907s # /tmp/tmpliby8jeu/tmpj_a0192m.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpliby8jeu/tmpj_a0192m.template', '/tmp/tmpliby8jeu/tmpn2b81s6f.h'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmpliby8jeu/tmpn2b81s6f.h 907s # basename: tmpn2b81s6f.h 907s # enumeration-production 907s # EnumName: QmiWmsMessageProtocol 907s # enum_name: qmi_wms_message_protocol 907s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 907s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 907s # ENUMPREFIX: QMI 907s # enumsince: 1.0 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-header 907s # EnumName: QmiWmsMessageProtocol 907s # enum_name: qmi_wms_message_protocol 907s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 907s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 907s # ENUMPREFIX: QMI 907s # enumsince: 1.0 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-production 907s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 907s # valuenick: cdma 907s # valuenum: 0 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-tail 907s # EnumName: QmiWmsMessageProtocol 907s # enum_name: qmi_wms_message_protocol 907s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 907s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 907s # ENUMPREFIX: QMI 907s # enumsince: 1.0 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 18 __main__.TestMkenums.test_with_double_quotes 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpcqpjz22e 907s # rspfile: False 907s # /tmp/tmpcqpjz22e/tmpr56rugqs.h: 907s # typedef enum { 907s # FOO_VALUE /*< nick="eek, a comma" >*/ 907s # } Foo; 907s # 907s # /tmp/tmpcqpjz22e/tmppgic3ttk.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcqpjz22e/tmppgic3ttk.template', '/tmp/tmpcqpjz22e/tmpr56rugqs.h'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmpcqpjz22e/tmpr56rugqs.h 907s # basename: tmpr56rugqs.h 907s # enumeration-production 907s # EnumName: Foo 907s # enum_name: foo_ 907s # ENUMNAME: FOO_ 907s # ENUMSHORT: 907s # ENUMPREFIX: FOO 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-header 907s # EnumName: Foo 907s # enum_name: foo_ 907s # ENUMNAME: FOO_ 907s # ENUMSHORT: 907s # ENUMPREFIX: FOO 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-production 907s # VALUENAME: FOO_VALUE 907s # valuenick: eek, a comma 907s # valuenum: 0 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-tail 907s # EnumName: Foo 907s # enum_name: foo_ 907s # ENUMNAME: FOO_ 907s # ENUMSHORT: 907s # ENUMPREFIX: FOO 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 19 __main__.TestRspMkenums.test_available_in 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpfatw8uzm 907s # rspfile: True 907s # /tmp/tmpfatw8uzm/tmpm66jo6zi.h: 907s # typedef enum { 907s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 907s # } GDBusServerFlags; 907s # 907s # /tmp/tmpfatw8uzm/tmp42rie978.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Response file contains: --template /tmp/tmpfatw8uzm/tmp42rie978.template /tmp/tmpfatw8uzm/tmpm66jo6zi.h 907s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfatw8uzm/tmp55vgsa7r'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmpfatw8uzm/tmpm66jo6zi.h 907s # basename: tmpm66jo6zi.h 907s # enumeration-production 907s # EnumName: GDBusServerFlags 907s # enum_name: g_dbus_server_flags 907s # ENUMNAME: G_DBUS_SERVER_FLAGS 907s # ENUMSHORT: DBUS_SERVER_FLAGS 907s # ENUMPREFIX: G 907s # enumsince: 907s # type: flags 907s # Type: Flags 907s # TYPE: FLAGS 907s # value-header 907s # EnumName: GDBusServerFlags 907s # enum_name: g_dbus_server_flags 907s # ENUMNAME: G_DBUS_SERVER_FLAGS 907s # ENUMSHORT: DBUS_SERVER_FLAGS 907s # ENUMPREFIX: G 907s # enumsince: 907s # type: flags 907s # Type: Flags 907s # TYPE: FLAGS 907s # value-production 907s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 907s # valuenick: user 907s # valuenum: 4 907s # type: flags 907s # Type: Flags 907s # TYPE: FLAGS 907s # value-tail 907s # EnumName: GDBusServerFlags 907s # enum_name: g_dbus_server_flags 907s # ENUMNAME: G_DBUS_SERVER_FLAGS 907s # ENUMSHORT: DBUS_SERVER_FLAGS 907s # ENUMPREFIX: G 907s # enumsince: 907s # type: flags 907s # Type: Flags 907s # TYPE: FLAGS 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpy3pvejhe 907s # rspfile: True 907s # /tmp/tmpy3pvejhe/tmp1v9o0pu1.h: 907s # typedef enum { 907s # ENUM_VALUE_WITH_COMMA = ',', 907s # } TestCommaEnum; 907s # 907s # /tmp/tmpy3pvejhe/tmpy63suqf5.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Response file contains: --template /tmp/tmpy3pvejhe/tmpy63suqf5.template /tmp/tmpy3pvejhe/tmp1v9o0pu1.h 907s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpy3pvejhe/tmpte9pjugi'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmpy3pvejhe/tmp1v9o0pu1.h 907s # basename: tmp1v9o0pu1.h 907s # enumeration-production 907s # EnumName: TestCommaEnum 907s # enum_name: test_comma_enum 907s # ENUMNAME: TEST_COMMA_ENUM 907s # ENUMSHORT: COMMA_ENUM 907s # ENUMPREFIX: TEST 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-header 907s # EnumName: TestCommaEnum 907s # enum_name: test_comma_enum 907s # ENUMNAME: TEST_COMMA_ENUM 907s # ENUMSHORT: COMMA_ENUM 907s # ENUMPREFIX: TEST 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-production 907s # VALUENAME: ENUM_VALUE_WITH_COMMA 907s # valuenick: comma 907s # valuenum: 44 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-tail 907s # EnumName: TestCommaEnum 907s # enum_name: test_comma_enum 907s # ENUMNAME: TEST_COMMA_ENUM 907s # ENUMSHORT: COMMA_ENUM 907s # ENUMPREFIX: TEST 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 21 __main__.TestRspMkenums.test_deprecated_in 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpm1tnxk_i 907s # rspfile: True 907s # /tmp/tmpm1tnxk_i/tmpt9hyasv3.h: 907s # typedef enum { 907s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 907s # } GDBusServerFlags; 907s # 907s # /tmp/tmpm1tnxk_i/tmpt6dg5tir.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Response file contains: --template /tmp/tmpm1tnxk_i/tmpt6dg5tir.template /tmp/tmpm1tnxk_i/tmpt9hyasv3.h 907s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm1tnxk_i/tmp04lhlm9o'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmpm1tnxk_i/tmpt9hyasv3.h 907s # basename: tmpt9hyasv3.h 907s # enumeration-production 907s # EnumName: GDBusServerFlags 907s # enum_name: g_dbus_server_flags 907s # ENUMNAME: G_DBUS_SERVER_FLAGS 907s # ENUMSHORT: DBUS_SERVER_FLAGS 907s # ENUMPREFIX: G 907s # enumsince: 907s # type: flags 907s # Type: Flags 907s # TYPE: FLAGS 907s # value-header 907s # EnumName: GDBusServerFlags 907s # enum_name: g_dbus_server_flags 907s # ENUMNAME: G_DBUS_SERVER_FLAGS 907s # ENUMSHORT: DBUS_SERVER_FLAGS 907s # ENUMPREFIX: G 907s # enumsince: 907s # type: flags 907s # Type: Flags 907s # TYPE: FLAGS 907s # value-production 907s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 907s # valuenick: user 907s # valuenum: 4 907s # type: flags 907s # Type: Flags 907s # TYPE: FLAGS 907s # value-tail 907s # EnumName: GDBusServerFlags 907s # enum_name: g_dbus_server_flags 907s # ENUMNAME: G_DBUS_SERVER_FLAGS 907s # ENUMSHORT: DBUS_SERVER_FLAGS 907s # ENUMPREFIX: G 907s # enumsince: 907s # type: flags 907s # Type: Flags 907s # TYPE: FLAGS 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpm6_g4cby 907s # rspfile: True 907s # /tmp/tmpm6_g4cby/tmp9nm1cx6x.h: 907s # typedef enum { 907s # 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) 907s # } GDBusServerFlags; 907s # 907s # /tmp/tmpm6_g4cby/tmpo6b6h6qa.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Response file contains: --template /tmp/tmpm6_g4cby/tmpo6b6h6qa.template /tmp/tmpm6_g4cby/tmp9nm1cx6x.h 907s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm6_g4cby/tmpoyyua_sm'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmpm6_g4cby/tmp9nm1cx6x.h 907s # basename: tmp9nm1cx6x.h 907s # enumeration-production 907s # EnumName: GDBusServerFlags 907s # enum_name: g_dbus_server_flags 907s # ENUMNAME: G_DBUS_SERVER_FLAGS 907s # ENUMSHORT: DBUS_SERVER_FLAGS 907s # ENUMPREFIX: G 907s # enumsince: 907s # type: flags 907s # Type: Flags 907s # TYPE: FLAGS 907s # value-header 907s # EnumName: GDBusServerFlags 907s # enum_name: g_dbus_server_flags 907s # ENUMNAME: G_DBUS_SERVER_FLAGS 907s # ENUMSHORT: DBUS_SERVER_FLAGS 907s # ENUMPREFIX: G 907s # enumsince: 907s # type: flags 907s # Type: Flags 907s # TYPE: FLAGS 907s # value-production 907s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 907s # valuenick: user 907s # valuenum: 4 907s # type: flags 907s # Type: Flags 907s # TYPE: FLAGS 907s # value-tail 907s # EnumName: GDBusServerFlags 907s # enum_name: g_dbus_server_flags 907s # ENUMNAME: G_DBUS_SERVER_FLAGS 907s # ENUMSHORT: DBUS_SERVER_FLAGS 907s # ENUMPREFIX: G 907s # enumsince: 907s # type: flags 907s # Type: Flags 907s # TYPE: FLAGS 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 23 __main__.TestRspMkenums.test_empty_header 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpm1981mp6 907s # rspfile: True 907s # /tmp/tmpm1981mp6/tmpquu22pxg.h: 907s # /tmp/tmpm1981mp6/tmp6tjq4x5v.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Response file contains: --template /tmp/tmpm1981mp6/tmp6tjq4x5v.template /tmp/tmpm1981mp6/tmpquu22pxg.h 907s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm1981mp6/tmpubv6rah6'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 24 __main__.TestRspMkenums.test_empty_template 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmprty_9g0b 907s # rspfile: True 907s # /tmp/tmprty_9g0b/tmpd9y35mkr.template: 907s # Response file contains: --template /tmp/tmprty_9g0b/tmpd9y35mkr.template 907s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprty_9g0b/tmpdug1qupo'] 907s # Return code: 0 907s # Output: 907s # /* 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. */ 907s # 907s # 907s # /* Generated data ends here */ 907s # Error: 907s ok 25 __main__.TestRspMkenums.test_enum_name 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmpbr0n8ks0 907s # rspfile: True 907s # /tmp/tmpbr0n8ks0/tmp9py4nn0l.h: 907s # typedef enum _SomeEnumIdentifier { 907s # ENUM_VALUE 907s # } SomeEnumIdentifier; 907s # 907s # /tmp/tmpbr0n8ks0/tmptlmzyylv.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Response file contains: --template /tmp/tmpbr0n8ks0/tmptlmzyylv.template /tmp/tmpbr0n8ks0/tmp9py4nn0l.h 907s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbr0n8ks0/tmpatchio7f'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmpbr0n8ks0/tmp9py4nn0l.h 907s # basename: tmp9py4nn0l.h 907s # enumeration-production 907s # EnumName: SomeEnumIdentifier 907s # enum_name: some_enum_identifier 907s # ENUMNAME: SOME_ENUM_IDENTIFIER 907s # ENUMSHORT: ENUM_IDENTIFIER 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-header 907s # EnumName: SomeEnumIdentifier 907s # enum_name: some_enum_identifier 907s # ENUMNAME: SOME_ENUM_IDENTIFIER 907s # ENUMSHORT: ENUM_IDENTIFIER 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-production 907s # VALUENAME: ENUM_VALUE 907s # valuenick: value 907s # valuenum: 0 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-tail 907s # EnumName: SomeEnumIdentifier 907s # enum_name: some_enum_identifier 907s # ENUMNAME: SOME_ENUM_IDENTIFIER 907s # ENUMSHORT: ENUM_IDENTIFIER 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s ok 26 __main__.TestRspMkenums.test_enum_private_public 907s # glib-mkenums: /usr/bin/glib-mkenums 907s # tmpdir: /tmp/tmp5vfjk60c 907s # rspfile: True 907s # /tmp/tmp5vfjk60c/tmppataeu99.h: 907s # typedef enum { 907s # ENUM_VALUE_PUBLIC1, 907s # /*< private >*/ 907s # ENUM_VALUE_PRIVATE, 907s # } SomeEnumA 907s # 907s # /tmp/tmp5vfjk60c/tmp81298dx0.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Response file contains: --template /tmp/tmp5vfjk60c/tmp81298dx0.template /tmp/tmp5vfjk60c/tmppataeu99.h 907s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5vfjk60c/tmprjwxbn4l'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmp5vfjk60c/tmppataeu99.h 907s # basename: tmppataeu99.h 907s # enumeration-production 907s # EnumName: SomeEnumA 907s # enum_name: some_enum_a 907s # ENUMNAME: SOME_ENUM_A 907s # ENUMSHORT: ENUM_A 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-header 907s # EnumName: SomeEnumA 907s # enum_name: some_enum_a 907s # ENUMNAME: SOME_ENUM_A 907s # ENUMSHORT: ENUM_A 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-production 907s # VALUENAME: ENUM_VALUE_PUBLIC1 907s # valuenick: public1 907s # valuenum: 0 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-tail 907s # EnumName: SomeEnumA 907s # enum_name: some_enum_a 907s # ENUMNAME: SOME_ENUM_A 907s # ENUMSHORT: ENUM_A 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 907s # 907s # /tmp/tmp5vfjk60c/tmpwbse8szj.h: 907s # typedef enum { 907s # /*< private >*/ 907s # ENUM_VALUE_PRIVATE, 907s # /*< public >*/ 907s # ENUM_VALUE_PUBLIC2, 907s # } SomeEnumB; 907s # 907s # /tmp/tmp5vfjk60c/tmp_k1ndtj7.template: 907s # /*** BEGIN file-header ***/ 907s # file-header 907s # /*** END file-header ***/ 907s # 907s # /*** BEGIN file-production ***/ 907s # file-production 907s # filename: @filename@ 907s # basename: @basename@ 907s # /*** END file-production ***/ 907s # 907s # /*** BEGIN enumeration-production ***/ 907s # enumeration-production 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END enumeration-production ***/ 907s # 907s # /*** BEGIN value-header ***/ 907s # value-header 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-header ***/ 907s # 907s # /*** BEGIN value-production ***/ 907s # value-production 907s # VALUENAME: @VALUENAME@ 907s # valuenick: @valuenick@ 907s # valuenum: @valuenum@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-production ***/ 907s # 907s # /*** BEGIN value-tail ***/ 907s # value-tail 907s # EnumName: @EnumName@ 907s # enum_name: @enum_name@ 907s # ENUMNAME: @ENUMNAME@ 907s # ENUMSHORT: @ENUMSHORT@ 907s # ENUMPREFIX: @ENUMPREFIX@ 907s # enumsince: @enumsince@ 907s # type: @type@ 907s # Type: @Type@ 907s # TYPE: @TYPE@ 907s # /*** END value-tail ***/ 907s # 907s # /*** BEGIN comment ***/ 907s # comment 907s # comment: @comment@ 907s # /*** END comment ***/ 907s # 907s # /*** BEGIN file-tail ***/ 907s # file-tail 907s # /*** END file-tail ***/ 907s # 907s # Response file contains: --template /tmp/tmp5vfjk60c/tmp_k1ndtj7.template /tmp/tmp5vfjk60c/tmpwbse8szj.h 907s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5vfjk60c/tmpv3tjk7jr'] 907s # Return code: 0 907s # Output: 907s # comment 907s # 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. 907s # 907s # 907s # file-header 907s # file-production 907s # filename: /tmp/tmp5vfjk60c/tmpwbse8szj.h 907s # basename: tmpwbse8szj.h 907s # enumeration-production 907s # EnumName: SomeEnumB 907s # enum_name: some_enum_b 907s # ENUMNAME: SOME_ENUM_B 907s # ENUMSHORT: ENUM_B 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-header 907s # EnumName: SomeEnumB 907s # enum_name: some_enum_b 907s # ENUMNAME: SOME_ENUM_B 907s # ENUMSHORT: ENUM_B 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-production 907s # VALUENAME: ENUM_VALUE_PUBLIC2 907s # valuenick: public2 907s # valuenum: 1 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # value-tail 907s # EnumName: SomeEnumB 907s # enum_name: some_enum_b 907s # ENUMNAME: SOME_ENUM_B 907s # ENUMSHORT: ENUM_B 907s # ENUMPREFIX: SOME 907s # enumsince: 907s # type: enum 907s # Type: Enum 907s # TYPE: ENUM 907s # file-tail 907s # 907s # comment 907s # comment: Generated data ends here 907s # Error: 908s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 908s # glib-mkenums: /usr/bin/glib-mkenums 908s # tmpdir: /tmp/tmptd6k68kh 908s # rspfile: True 908s # /tmp/tmptd6k68kh/tmpoq_mzceo.h: 908s # typedef enum { 908s # /*< private >*/ 908s # ENUM_VALUE_PRIVATE = 5, 908s # /*< public >*/ 908s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 908s # } TestSymbolicEnum; 908s # 908s # /tmp/tmptd6k68kh/tmpkioow6g_.template: 908s # /*** BEGIN file-header ***/ 908s # file-header 908s # /*** END file-header ***/ 908s # 908s # /*** BEGIN file-production ***/ 908s # file-production 908s # filename: @filename@ 908s # basename: @basename@ 908s # /*** END file-production ***/ 908s # 908s # /*** BEGIN enumeration-production ***/ 908s # enumeration-production 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END enumeration-production ***/ 908s # 908s # /*** BEGIN value-header ***/ 908s # value-header 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-header ***/ 908s # 908s # /*** BEGIN value-production ***/ 908s # value-production 908s # VALUENAME: @VALUENAME@ 908s # valuenick: @valuenick@ 908s # valuenum: @valuenum@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-production ***/ 908s # 908s # /*** BEGIN value-tail ***/ 908s # value-tail 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-tail ***/ 908s # 908s # /*** BEGIN comment ***/ 908s # comment 908s # comment: @comment@ 908s # /*** END comment ***/ 908s # 908s # /*** BEGIN file-tail ***/ 908s # file-tail 908s # /*** END file-tail ***/ 908s # 908s # Response file contains: --template /tmp/tmptd6k68kh/tmpkioow6g_.template /tmp/tmptd6k68kh/tmpoq_mzceo.h 908s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptd6k68kh/tmpy8f9csh0'] 908s # Return code: 0 908s # Output: 908s # comment 908s # 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. 908s # 908s # 908s # file-header 908s # file-production 908s # filename: /tmp/tmptd6k68kh/tmpoq_mzceo.h 908s # basename: tmpoq_mzceo.h 908s # enumeration-production 908s # EnumName: TestSymbolicEnum 908s # enum_name: test_symbolic_enum 908s # ENUMNAME: TEST_SYMBOLIC_ENUM 908s # ENUMSHORT: SYMBOLIC_ENUM 908s # ENUMPREFIX: TEST 908s # enumsince: 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-header 908s # EnumName: TestSymbolicEnum 908s # enum_name: test_symbolic_enum 908s # ENUMNAME: TEST_SYMBOLIC_ENUM 908s # ENUMSHORT: SYMBOLIC_ENUM 908s # ENUMPREFIX: TEST 908s # enumsince: 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-production 908s # VALUENAME: ENUM_VALUE_PUBLIC 908s # valuenick: public 908s # valuenum: 7 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-tail 908s # EnumName: TestSymbolicEnum 908s # enum_name: test_symbolic_enum 908s # ENUMNAME: TEST_SYMBOLIC_ENUM 908s # ENUMSHORT: SYMBOLIC_ENUM 908s # ENUMPREFIX: TEST 908s # enumsince: 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # file-tail 908s # 908s # comment 908s # comment: Generated data ends here 908s # Error: 908s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 908s # glib-mkenums: /usr/bin/glib-mkenums 908s # tmpdir: /tmp/tmpxsp8ipkl 908s # rspfile: True 908s # /tmp/tmpxsp8ipkl/tmpirp3v5ky.template: 908s # /*** BEGIN file-header ***/ 908s # file-header 908s # filename: @filename@ 908s # basename: @basename@ 908s # /*** END file-header ***/ 908s # 908s # /*** BEGIN comment ***/ 908s # comment 908s # comment: @comment@ 908s # /*** END comment ***/ 908s # 908s # /*** BEGIN file-tail ***/ 908s # file-tail 908s # filename: @filename@ 908s # basename: @basename@ 908s # /*** END file-tail ***/ 908s # Response file contains: --template /tmp/tmpxsp8ipkl/tmpirp3v5ky.template 908s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxsp8ipkl/tmp8uttc58e'] 908s # Return code: 0 908s # Output: 908s # comment 908s # 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. 908s # 908s # 908s # file-header 908s # filename: @filename@ 908s # basename: @basename@ 908s # file-tail 908s # filename: @filename@ 908s # basename: @basename@ 908s # 908s # comment 908s # comment: Generated data ends here 908s # Error: 908s # WARNING: @filename@ used in file-header section. 908s # WARNING: @basename@ used in file-header section. 908s # WARNING: @filename@ used in file-tail section. 908s # WARNING: @basename@ used in file-tail section. 908s ok 29 __main__.TestRspMkenums.test_help 908s # glib-mkenums: /usr/bin/glib-mkenums 908s # tmpdir: /tmp/tmpbqgqtbzv 908s # rspfile: True 908s # Response file contains: --help 908s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbqgqtbzv/tmpldg7bc6i'] 908s # Return code: 0 908s # Output: 908s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 908s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 908s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 908s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 908s # [--comments COMMENT_TMPL] [--template TEMPLATE] 908s # [--output OUTPUT] [--version] 908s # [args ...] 908s # 908s # positional arguments: 908s # args One or more input files, or a single argument 908s # @rspfile_path pointing to a file that contains the 908s # actual arguments 908s # 908s # options: 908s # -h, --help show this help message and exit 908s # --identifier-prefix IDPREFIX 908s # Identifier prefix 908s # --symbol-prefix SYMPREFIX 908s # Symbol prefix 908s # --fhead FHEAD Output file header 908s # --ftail FTAIL Output file footer 908s # --fprod FPROD Put out TEXT every time a new input file is being 908s # processed. 908s # --eprod EPROD Per enum text, produced prior to value iterations 908s # --vhead VHEAD Value header, produced before iterating over enum 908s # values 908s # --vprod VPROD Value text, produced for each enum value. 908s # --vtail VTAIL Value tail, produced after iterating over enum values 908s # --comments COMMENT_TMPL 908s # Comment structure 908s # --template TEMPLATE Template file 908s # --output OUTPUT 908s # --version, -v Print version information 908s # 908s # Production text substitutions: 908s # @EnumName@ PrefixTheXEnum 908s # @enum_name@ prefix_the_xenum 908s # @ENUMNAME@ PREFIX_THE_XENUM 908s # @ENUMSHORT@ THE_XENUM 908s # @ENUMPREFIX@ PREFIX 908s # @enumsince@ the user-provided since value given 908s # @VALUENAME@ PREFIX_THE_XVALUE 908s # @valuenick@ the-xvalue 908s # @valuenum@ the integer value (limited support, Since: 2.26) 908s # @type@ either enum or flags 908s # @Type@ either Enum or Flags 908s # @TYPE@ either ENUM or FLAGS 908s # @filename@ name of current input file 908s # @basename@ base name of the current input file (Since: 2.22) 908s # Error: 908s ok 30 __main__.TestRspMkenums.test_no_args 908s # glib-mkenums: /usr/bin/glib-mkenums 908s # tmpdir: /tmp/tmpycmgn9c1 908s # rspfile: True 908s # Response file contains: 908s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpycmgn9c1/tmpba8nr05o'] 908s # Return code: 0 908s # Output: 908s # /* 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. */ 908s # 908s # 908s # /* Generated data ends here */ 908s # Error: 908s ok 31 __main__.TestRspMkenums.test_no_headers 908s # glib-mkenums: /usr/bin/glib-mkenums 908s # tmpdir: /tmp/tmpxs_1qriq 908s # rspfile: True 908s # /tmp/tmpxs_1qriq/tmpoi1gulku.template: 908s # /*** BEGIN file-header ***/ 908s # file-header 908s # /*** END file-header ***/ 908s # 908s # /*** BEGIN file-production ***/ 908s # file-production 908s # filename: @filename@ 908s # basename: @basename@ 908s # /*** END file-production ***/ 908s # 908s # /*** BEGIN enumeration-production ***/ 908s # enumeration-production 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END enumeration-production ***/ 908s # 908s # /*** BEGIN value-header ***/ 908s # value-header 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-header ***/ 908s # 908s # /*** BEGIN value-production ***/ 908s # value-production 908s # VALUENAME: @VALUENAME@ 908s # valuenick: @valuenick@ 908s # valuenum: @valuenum@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-production ***/ 908s # 908s # /*** BEGIN value-tail ***/ 908s # value-tail 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-tail ***/ 908s # 908s # /*** BEGIN comment ***/ 908s # comment 908s # comment: @comment@ 908s # /*** END comment ***/ 908s # 908s # /*** BEGIN file-tail ***/ 908s # file-tail 908s # /*** END file-tail ***/ 908s # 908s # Response file contains: --template /tmp/tmpxs_1qriq/tmpoi1gulku.template 908s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxs_1qriq/tmp8jcshiyi'] 908s # Return code: 0 908s # Output: 908s # comment 908s # 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. 908s # 908s # 908s # file-header 908s # file-tail 908s # 908s # comment 908s # comment: Generated data ends here 908s # Error: 908s ok 32 __main__.TestRspMkenums.test_no_nick 908s # glib-mkenums: /usr/bin/glib-mkenums 908s # tmpdir: /tmp/tmpt0khwc6b 908s # rspfile: True 908s # /tmp/tmpt0khwc6b/tmp2fbu8kuw.h: 908s # typedef enum { 908s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 908s # } GeglSamplerType; 908s # 908s # /tmp/tmpt0khwc6b/tmphf2or33i.template: 908s # /*** BEGIN file-header ***/ 908s # file-header 908s # /*** END file-header ***/ 908s # 908s # /*** BEGIN file-production ***/ 908s # file-production 908s # filename: @filename@ 908s # basename: @basename@ 908s # /*** END file-production ***/ 908s # 908s # /*** BEGIN enumeration-production ***/ 908s # enumeration-production 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END enumeration-production ***/ 908s # 908s # /*** BEGIN value-header ***/ 908s # value-header 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-header ***/ 908s # 908s # /*** BEGIN value-production ***/ 908s # value-production 908s # VALUENAME: @VALUENAME@ 908s # valuenick: @valuenick@ 908s # valuenum: @valuenum@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-production ***/ 908s # 908s # /*** BEGIN value-tail ***/ 908s # value-tail 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-tail ***/ 908s # 908s # /*** BEGIN comment ***/ 908s # comment 908s # comment: @comment@ 908s # /*** END comment ***/ 908s # 908s # /*** BEGIN file-tail ***/ 908s # file-tail 908s # /*** END file-tail ***/ 908s # 908s # Response file contains: --template /tmp/tmpt0khwc6b/tmphf2or33i.template /tmp/tmpt0khwc6b/tmp2fbu8kuw.h 908s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpt0khwc6b/tmphlg3ek0r'] 908s # Return code: 0 908s # Output: 908s # comment 908s # 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. 908s # 908s # 908s # file-header 908s # file-production 908s # filename: /tmp/tmpt0khwc6b/tmp2fbu8kuw.h 908s # basename: tmp2fbu8kuw.h 908s # enumeration-production 908s # EnumName: GeglSamplerType 908s # enum_name: gegl_sampler_type 908s # ENUMNAME: GEGL_SAMPLER_TYPE 908s # ENUMSHORT: SAMPLER_TYPE 908s # ENUMPREFIX: GEGL 908s # enumsince: 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-header 908s # EnumName: GeglSamplerType 908s # enum_name: gegl_sampler_type 908s # ENUMNAME: GEGL_SAMPLER_TYPE 908s # ENUMSHORT: SAMPLER_TYPE 908s # ENUMPREFIX: GEGL 908s # enumsince: 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-production 908s # VALUENAME: GEGL_SAMPLER_NEAREST 908s # valuenick: nearest 908s # valuenum: 0 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-tail 908s # EnumName: GeglSamplerType 908s # enum_name: gegl_sampler_type 908s # ENUMNAME: GEGL_SAMPLER_TYPE 908s # ENUMSHORT: SAMPLER_TYPE 908s # ENUMPREFIX: GEGL 908s # enumsince: 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # file-tail 908s # 908s # comment 908s # comment: Generated data ends here 908s # Error: 908s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 908s # glib-mkenums: /usr/bin/glib-mkenums 908s # tmpdir: /tmp/tmpahf1_c4m 908s # rspfile: True 908s # /tmp/tmpahf1_c4m/tmpriravnym.h: 908s # /* Copyright © La Peña */ 908s # typedef enum { 908s # ENUM_VALUE 908s # } SomeEnumIdentifier; 908s # 908s # /tmp/tmpahf1_c4m/tmp37wecv17.template: 908s # /*** BEGIN file-header ***/ 908s # file-header 908s # /*** END file-header ***/ 908s # 908s # /*** BEGIN file-production ***/ 908s # file-production 908s # filename: @filename@ 908s # basename: @basename@ 908s # /*** END file-production ***/ 908s # 908s # /*** BEGIN enumeration-production ***/ 908s # enumeration-production 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END enumeration-production ***/ 908s # 908s # /*** BEGIN value-header ***/ 908s # value-header 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-header ***/ 908s # 908s # /*** BEGIN value-production ***/ 908s # value-production 908s # VALUENAME: @VALUENAME@ 908s # valuenick: @valuenick@ 908s # valuenum: @valuenum@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-production ***/ 908s # 908s # /*** BEGIN value-tail ***/ 908s # value-tail 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-tail ***/ 908s # 908s # /*** BEGIN comment ***/ 908s # comment 908s # comment: @comment@ 908s # /*** END comment ***/ 908s # 908s # /*** BEGIN file-tail ***/ 908s # file-tail 908s # /*** END file-tail ***/ 908s # 908s # Response file contains: --template /tmp/tmpahf1_c4m/tmp37wecv17.template /tmp/tmpahf1_c4m/tmpriravnym.h 908s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpahf1_c4m/tmp8p3h3ex4'] 908s # Return code: 0 908s # Output: 908s # comment 908s # 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. 908s # 908s # 908s # file-header 908s # file-production 908s # filename: /tmp/tmpahf1_c4m/tmpriravnym.h 908s # basename: tmpriravnym.h 908s # enumeration-production 908s # EnumName: SomeEnumIdentifier 908s # enum_name: some_enum_identifier 908s # ENUMNAME: SOME_ENUM_IDENTIFIER 908s # ENUMSHORT: ENUM_IDENTIFIER 908s # ENUMPREFIX: SOME 908s # enumsince: 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-header 908s # EnumName: SomeEnumIdentifier 908s # enum_name: some_enum_identifier 908s # ENUMNAME: SOME_ENUM_IDENTIFIER 908s # ENUMSHORT: ENUM_IDENTIFIER 908s # ENUMPREFIX: SOME 908s # enumsince: 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-production 908s # VALUENAME: ENUM_VALUE 908s # valuenick: value 908s # valuenum: 0 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-tail 908s # EnumName: SomeEnumIdentifier 908s # enum_name: some_enum_identifier 908s # ENUMNAME: SOME_ENUM_IDENTIFIER 908s # ENUMSHORT: ENUM_IDENTIFIER 908s # ENUMPREFIX: SOME 908s # enumsince: 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # file-tail 908s # 908s # comment 908s # comment: Generated data ends here 908s # Error: 908s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 908s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 908s # Executing: glib/mkenums.py.test 908s ok 34 __main__.TestRspMkenums.test_reproducible 908s # glib-mkenums: /usr/bin/glib-mkenums 908s # tmpdir: /tmp/tmp2m1yy5z8 908s # rspfile: True 908s # /tmp/tmp2m1yy5z8/tmpiknqx47o.template: template 908s # Response file contains: --template /tmp/tmp2m1yy5z8/tmpiknqx47o.template /tmp/tmp2m1yy5z8/tmpc3nug3tu1.h /tmp/tmp2m1yy5z8/tmp2a8abd6a2.h 908s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2m1yy5z8/tmpghs5y9w5'] 908s # Return code: 0 908s # Output: 908s # /* 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. */ 908s # 908s # 908s # /* Generated data ends here */ 908s # Error: 908s # 908s # /tmp/tmp2m1yy5z8/tmpncjm24x4.template: template 908s # Response file contains: --template /tmp/tmp2m1yy5z8/tmpncjm24x4.template /tmp/tmp2m1yy5z8/tmp2a8abd6a2.h /tmp/tmp2m1yy5z8/tmpc3nug3tu1.h 908s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2m1yy5z8/tmpjp478hmj'] 908s # Return code: 0 908s # Output: 908s # /* 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. */ 908s # 908s # 908s # /* Generated data ends here */ 908s # Error: 908s ok 35 __main__.TestRspMkenums.test_since 908s # glib-mkenums: /usr/bin/glib-mkenums 908s # tmpdir: /tmp/tmphw8z3rc7 908s # rspfile: True 908s # /tmp/tmphw8z3rc7/tmpls1mrg_y.h: 908s # typedef enum { /*< since=1.0 >*/ 908s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 908s # } QmiWmsMessageProtocol; 908s # 908s # /tmp/tmphw8z3rc7/tmpjmez45l_.template: 908s # /*** BEGIN file-header ***/ 908s # file-header 908s # /*** END file-header ***/ 908s # 908s # /*** BEGIN file-production ***/ 908s # file-production 908s # filename: @filename@ 908s # basename: @basename@ 908s # /*** END file-production ***/ 908s # 908s # /*** BEGIN enumeration-production ***/ 908s # enumeration-production 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END enumeration-production ***/ 908s # 908s # /*** BEGIN value-header ***/ 908s # value-header 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-header ***/ 908s # 908s # /*** BEGIN value-production ***/ 908s # value-production 908s # VALUENAME: @VALUENAME@ 908s # valuenick: @valuenick@ 908s # valuenum: @valuenum@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-production ***/ 908s # 908s # /*** BEGIN value-tail ***/ 908s # value-tail 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-tail ***/ 908s # 908s # /*** BEGIN comment ***/ 908s # comment 908s # comment: @comment@ 908s # /*** END comment ***/ 908s # 908s # /*** BEGIN file-tail ***/ 908s # file-tail 908s # /*** END file-tail ***/ 908s # 908s # Response file contains: --template /tmp/tmphw8z3rc7/tmpjmez45l_.template /tmp/tmphw8z3rc7/tmpls1mrg_y.h 908s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphw8z3rc7/tmpk75xbffm'] 908s # Return code: 0 908s # Output: 908s # comment 908s # 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. 908s # 908s # 908s # file-header 908s # file-production 908s # filename: /tmp/tmphw8z3rc7/tmpls1mrg_y.h 908s # basename: tmpls1mrg_y.h 908s # enumeration-production 908s # EnumName: QmiWmsMessageProtocol 908s # enum_name: qmi_wms_message_protocol 908s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 908s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 908s # ENUMPREFIX: QMI 908s # enumsince: 1.0 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-header 908s # EnumName: QmiWmsMessageProtocol 908s # enum_name: qmi_wms_message_protocol 908s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 908s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 908s # ENUMPREFIX: QMI 908s # enumsince: 1.0 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-production 908s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 908s # valuenick: cdma 908s # valuenum: 0 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-tail 908s # EnumName: QmiWmsMessageProtocol 908s # enum_name: qmi_wms_message_protocol 908s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 908s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 908s # ENUMPREFIX: QMI 908s # enumsince: 1.0 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # file-tail 908s # 908s # comment 908s # comment: Generated data ends here 908s # Error: 908s ok 36 __main__.TestRspMkenums.test_with_double_quotes 908s # glib-mkenums: /usr/bin/glib-mkenums 908s # tmpdir: /tmp/tmpnjht50id 908s # rspfile: True 908s # /tmp/tmpnjht50id/tmp9_z3z7fb.h: 908s # typedef enum { 908s # FOO_VALUE /*< nick="eek, a comma" >*/ 908s # } Foo; 908s # 908s # /tmp/tmpnjht50id/tmpo3z3xhdi.template: 908s # /*** BEGIN file-header ***/ 908s # file-header 908s # /*** END file-header ***/ 908s # 908s # /*** BEGIN file-production ***/ 908s # file-production 908s # filename: @filename@ 908s # basename: @basename@ 908s # /*** END file-production ***/ 908s # 908s # /*** BEGIN enumeration-production ***/ 908s # enumeration-production 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END enumeration-production ***/ 908s # 908s # /*** BEGIN value-header ***/ 908s # value-header 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-header ***/ 908s # 908s # /*** BEGIN value-production ***/ 908s # value-production 908s # VALUENAME: @VALUENAME@ 908s # valuenick: @valuenick@ 908s # valuenum: @valuenum@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-production ***/ 908s # 908s # /*** BEGIN value-tail ***/ 908s # value-tail 908s # EnumName: @EnumName@ 908s # enum_name: @enum_name@ 908s # ENUMNAME: @ENUMNAME@ 908s # ENUMSHORT: @ENUMSHORT@ 908s # ENUMPREFIX: @ENUMPREFIX@ 908s # enumsince: @enumsince@ 908s # type: @type@ 908s # Type: @Type@ 908s # TYPE: @TYPE@ 908s # /*** END value-tail ***/ 908s # 908s # /*** BEGIN comment ***/ 908s # comment 908s # comment: @comment@ 908s # /*** END comment ***/ 908s # 908s # /*** BEGIN file-tail ***/ 908s # file-tail 908s # /*** END file-tail ***/ 908s # 908s # Response file contains: --template /tmp/tmpnjht50id/tmpo3z3xhdi.template /tmp/tmpnjht50id/tmp9_z3z7fb.h 908s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnjht50id/tmpa2v6__ci'] 908s # Return code: 0 908s # Output: 908s # comment 908s # 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. 908s # 908s # 908s # file-header 908s # file-production 908s # filename: /tmp/tmpnjht50id/tmp9_z3z7fb.h 908s # basename: tmp9_z3z7fb.h 908s # enumeration-production 908s # EnumName: Foo 908s # enum_name: foo_ 908s # ENUMNAME: FOO_ 908s # ENUMSHORT: 908s # ENUMPREFIX: FOO 908s # enumsince: 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-header 908s # EnumName: Foo 908s # enum_name: foo_ 908s # ENUMNAME: FOO_ 908s # ENUMSHORT: 908s # ENUMPREFIX: FOO 908s # enumsince: 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-production 908s # VALUENAME: FOO_VALUE 908s # valuenick: eek, a comma 908s # valuenum: 0 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # value-tail 908s # EnumName: Foo 908s # enum_name: foo_ 908s # ENUMNAME: FOO_ 908s # ENUMSHORT: 908s # ENUMPREFIX: FOO 908s # enumsince: 908s # type: enum 908s # Type: Enum 908s # TYPE: ENUM 908s # file-tail 908s # 908s # comment 908s # comment: Generated data ends here 908s # Error: 908s 1..36 908s ok - glib/mkenums.py.test 908s # Running test: glib/macros-c-99.test 908s ok - glib/macros-c-99.test 908s # Running test: glib/gobject-query.py.test 908s TAP version 14 908s # random seed: R02S39486ba7f320ad9578ce8bbe88019ab8 908s 1..4 908s # Start of C tests 908s ok 1 /C/standard-99 908s # End of C tests 908s # Start of alignof tests 908s ok 2 /alignof/fallback 908s # End of alignof tests 908s # Start of assert tests 908s ok 3 /assert/static 908s # End of assert tests 908s # Start of struct tests 908s ok 4 /struct/sizeof_member 908s # End of struct tests 908s TAP version 13 908s ok 1 __main__.TestGobjectQuery.test_froots 908s # gobject-query: /usr/bin/gobject-query 908s # tmpdir: /tmp/tmpx_0e1rr4 908s # Running: ['/usr/bin/gobject-query', 'froots'] 908s # Return code: 0 908s # Output: 908s # ├void 908s # ├GInterface 908s # │ â””GTypePlugin 908s # ├gchar 908s # ├guchar 908s # ├gboolean 908s # ├gint 908s # ├guint 908s # ├glong 908s # ├gulong 908s # ├gint64 908s # ├guint64 908s # ├GEnum 908s # ├GFlags 908s # ├gfloat 908s # ├gdouble 908s # ├gchararray 908s # ├gpointer 908s # │ â””GType 908s # ├GBoxed 908s # │ â””GValueArray 908s # ├GParam 908s # │ ├GParamChar 908s # │ ├GParamUChar 908s # │ ├GParamBoolean 908s # │ ├GParamInt 908s # │ ├GParamUInt 908s # │ ├GParamLong 908s # │ ├GParamULong 908s # │ ├GParamInt64 908s # │ ├GParamUInt64 908s # │ ├GParamUnichar 908s # │ ├GParamEnum 908s # │ ├GParamFlags 908s # │ ├GParamFloat 908s # │ ├GParamDouble 908s # │ ├GParamString 908s # │ ├GParamParam 908s # │ ├GParamBoxed 908s # │ ├GParamPointer 908s # │ ├GParamValueArray 908s # │ ├GParamObject 908s # │ ├GParamOverride 908s # │ ├GParamGType 908s # │ â””GParamVariant 908s # ├GObject 908s # â””GVariant 908s # Error: 908s ok 2 __main__.TestGobjectQuery.test_help 908s # gobject-query: /usr/bin/gobject-query 908s # tmpdir: /tmp/tmp28pp9ai2 908s # Running: ['/usr/bin/gobject-query', '--help'] 908s # Return code: 0 908s # Output: 908s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 908s # -r specify root type 908s # -n don't descend type tree 908s # -h show help 908s # -b specify indent string 908s # -i specify incremental indent string 908s # -s specify line spacing 908s # qualifiers: 908s # froots iterate over fundamental roots 908s # tree print type tree 908s # Error: 908s ok 3 __main__.TestGobjectQuery.test_tree 908s # gobject-query: /usr/bin/gobject-query 908s # tmpdir: /tmp/tmp27hhueh0 908s # Running: ['/usr/bin/gobject-query', 'tree'] 908s # Return code: 0 908s # Output: 908s # GObject 908s # Error: 908s ok 4 __main__.TestGobjectQuery.test_version 908s # gobject-query: /usr/bin/gobject-query 908s # tmpdir: /tmp/tmpd88iamgf 908s # Running: ['/usr/bin/gobject-query', '--version'] 908s # Return code: 0 908s # Output: 908s # 2.84.1 908s # Error: 908s 1..4 908s ok - glib/gobject-query.py.test 908s # Running test: glib/cmph-bdz.test 908s TAP version 14 908s # random seed: R02S7d9a02758ac6d81fb9443e16eb0fd9b7 908s 1..2 908s # Start of cmph-bdz tests 908s ok 1 /cmph-bdz/search 908s ok 2 /cmph-bdz/search-packed 908s # End of cmph-bdz tests 908s ok - glib/cmph-bdz.test 908s # Running test: glib/static-link.test 908s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 908s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 908s and make sure you have glib build dependencies installed, including 908s meson. 908s ok # SKIP - glib/static-link.test 908s # Running test: glib/ifaceproperties.test 908s TAP version 14 908s # random seed: R02Sff8f589b349cccc379118e9e87e1aba0 908s 1..7 908s # Start of interface tests 908s # Start of properties tests 908s ok 1 /interface/properties/set 908s ok 2 /interface/properties/notify 908s ok 3 /interface/properties/find-overridden 908s ok 4 /interface/properties/list-overridden 908s ok 5 /interface/properties/find-interface 908s ok 6 /interface/properties/list-interface 908s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 908s ok 7 /interface/properties/not-overridden 908s # End of properties tests 908s # End of interface tests 908s ok - glib/ifaceproperties.test 908s # Running test: glib/checksum.test 908s TAP version 14 908s # random seed: R02S70018b3c580b3ce88e6df70920cc3261 908s 1..1851 908s # Start of checksum tests 908s ok 1 /checksum/unsupported 908s # Start of MD5 tests 908s ok 2 /checksum/MD5/0 908s ok 3 /checksum/MD5/1 908s ok 4 /checksum/MD5/2 908s ok 5 /checksum/MD5/3 908s ok 6 /checksum/MD5/4 908s ok 7 /checksum/MD5/5 908s ok 8 /checksum/MD5/6 908s ok 9 /checksum/MD5/7 908s ok 10 /checksum/MD5/8 908s ok 11 /checksum/MD5/9 908s ok 12 /checksum/MD5/10 908s ok 13 /checksum/MD5/11 908s ok 14 /checksum/MD5/12 908s ok 15 /checksum/MD5/13 908s ok 16 /checksum/MD5/14 908s ok 17 /checksum/MD5/15 908s ok 18 /checksum/MD5/16 908s ok 19 /checksum/MD5/17 908s ok 20 /checksum/MD5/18 908s ok 21 /checksum/MD5/19 908s ok 22 /checksum/MD5/20 908s ok 23 /checksum/MD5/21 908s ok 24 /checksum/MD5/22 908s ok 25 /checksum/MD5/23 908s ok 26 /checksum/MD5/24 908s ok 27 /checksum/MD5/25 908s ok 28 /checksum/MD5/26 908s ok 29 /checksum/MD5/27 908s ok 30 /checksum/MD5/28 908s ok 31 /checksum/MD5/29 908s ok 32 /checksum/MD5/30 908s ok 33 /checksum/MD5/31 908s ok 34 /checksum/MD5/32 908s ok 35 /checksum/MD5/33 908s ok 36 /checksum/MD5/34 908s ok 37 /checksum/MD5/35 908s ok 38 /checksum/MD5/36 908s ok 39 /checksum/MD5/37 908s ok 40 /checksum/MD5/38 908s ok 41 /checksum/MD5/39 908s ok 42 /checksum/MD5/40 908s ok 43 /checksum/MD5/41 908s ok 44 /checksum/MD5/42 908s ok 45 /checksum/MD5/43 908s ok 46 /checksum/MD5/44 908s ok 47 /checksum/MD5/45 908s ok 48 /checksum/MD5/46 908s ok 49 /checksum/MD5/47 908s ok 50 /checksum/MD5/48 908s ok 51 /checksum/MD5/49 908s ok 52 /checksum/MD5/50 908s ok 53 /checksum/MD5/51 908s ok 54 /checksum/MD5/52 908s ok 55 /checksum/MD5/53 908s ok 56 /checksum/MD5/54 908s ok 57 /checksum/MD5/55 908s ok 58 /checksum/MD5/56 908s ok 59 /checksum/MD5/57 908s ok 60 /checksum/MD5/58 908s ok 61 /checksum/MD5/59 908s ok 62 /checksum/MD5/60 908s ok 63 /checksum/MD5/61 908s ok 64 /checksum/MD5/62 908s ok 65 /checksum/MD5/63 908s ok 66 /checksum/MD5/64 908s ok 67 /checksum/MD5/65 908s ok 68 /checksum/MD5/66 908s ok 69 /checksum/MD5/67 908s ok 70 /checksum/MD5/68 908s ok 71 /checksum/MD5/69 908s ok 72 /checksum/MD5/70 908s ok 73 /checksum/MD5/71 908s ok 74 /checksum/MD5/72 908s ok 75 /checksum/MD5/73 908s ok 76 /checksum/MD5/74 908s ok 77 /checksum/MD5/75 908s ok 78 /checksum/MD5/76 908s ok 79 /checksum/MD5/77 908s ok 80 /checksum/MD5/78 908s ok 81 /checksum/MD5/79 908s ok 82 /checksum/MD5/80 908s ok 83 /checksum/MD5/81 908s ok 84 /checksum/MD5/82 908s ok 85 /checksum/MD5/83 908s ok 86 /checksum/MD5/84 908s ok 87 /checksum/MD5/85 908s ok 88 /checksum/MD5/86 908s ok 89 /checksum/MD5/87 908s ok 90 /checksum/MD5/88 908s ok 91 /checksum/MD5/89 908s ok 92 /checksum/MD5/90 908s ok 93 /checksum/MD5/91 908s ok 94 /checksum/MD5/92 908s ok 95 /checksum/MD5/93 908s ok 96 /checksum/MD5/94 908s ok 97 /checksum/MD5/95 908s ok 98 /checksum/MD5/96 908s ok 99 /checksum/MD5/97 908s ok 100 /checksum/MD5/98 908s ok 101 /checksum/MD5/99 908s ok 102 /checksum/MD5/100 908s ok 103 /checksum/MD5/101 908s ok 104 /checksum/MD5/102 908s ok 105 /checksum/MD5/103 908s ok 106 /checksum/MD5/104 908s ok 107 /checksum/MD5/105 908s ok 108 /checksum/MD5/106 908s ok 109 /checksum/MD5/107 908s ok 110 /checksum/MD5/108 908s ok 111 /checksum/MD5/109 908s ok 112 /checksum/MD5/110 908s ok 113 /checksum/MD5/111 908s ok 114 /checksum/MD5/112 908s ok 115 /checksum/MD5/113 908s ok 116 /checksum/MD5/114 908s ok 117 /checksum/MD5/115 908s ok 118 /checksum/MD5/116 908s ok 119 /checksum/MD5/117 908s ok 120 /checksum/MD5/118 908s ok 121 /checksum/MD5/119 908s ok 122 /checksum/MD5/120 908s ok 123 /checksum/MD5/121 908s ok 124 /checksum/MD5/122 908s ok 125 /checksum/MD5/123 908s ok 126 /checksum/MD5/124 908s ok 127 /checksum/MD5/125 908s ok 128 /checksum/MD5/126 908s ok 129 /checksum/MD5/127 908s ok 130 /checksum/MD5/128 908s ok 131 /checksum/MD5/129 908s ok 132 /checksum/MD5/130 908s ok 133 /checksum/MD5/131 908s ok 134 /checksum/MD5/132 908s ok 135 /checksum/MD5/133 908s ok 136 /checksum/MD5/134 908s ok 137 /checksum/MD5/135 908s ok 138 /checksum/MD5/136 908s ok 139 /checksum/MD5/137 908s ok 140 /checksum/MD5/138 908s ok 141 /checksum/MD5/139 908s ok 142 /checksum/MD5/140 908s ok 143 /checksum/MD5/141 908s ok 144 /checksum/MD5/142 908s ok 145 /checksum/MD5/143 908s ok 146 /checksum/MD5/144 908s ok 147 /checksum/MD5/145 908s ok 148 /checksum/MD5/146 908s ok 149 /checksum/MD5/147 908s ok 150 /checksum/MD5/148 908s ok 151 /checksum/MD5/149 908s ok 152 /checksum/MD5/150 908s ok 153 /checksum/MD5/151 908s ok 154 /checksum/MD5/152 908s ok 155 /checksum/MD5/153 908s ok 156 /checksum/MD5/154 908s ok 157 /checksum/MD5/155 908s ok 158 /checksum/MD5/156 908s ok 159 /checksum/MD5/157 908s ok 160 /checksum/MD5/158 908s ok 161 /checksum/MD5/159 908s ok 162 /checksum/MD5/160 908s ok 163 /checksum/MD5/161 908s ok 164 /checksum/MD5/162 908s ok 165 /checksum/MD5/163 908s ok 166 /checksum/MD5/164 908s ok 167 /checksum/MD5/165 908s ok 168 /checksum/MD5/166 908s ok 169 /checksum/MD5/167 908s ok 170 /checksum/MD5/168 908s ok 171 /checksum/MD5/169 908s ok 172 /checksum/MD5/170 908s ok 173 /checksum/MD5/171 908s ok 174 /checksum/MD5/172 908s ok 175 /checksum/MD5/173 908s ok 176 /checksum/MD5/174 908s ok 177 /checksum/MD5/175 908s ok 178 /checksum/MD5/176 908s ok 179 /checksum/MD5/177 908s ok 180 /checksum/MD5/178 908s ok 181 /checksum/MD5/179 908s ok 182 /checksum/MD5/180 908s ok 183 /checksum/MD5/181 908s ok 184 /checksum/MD5/182 908s ok 185 /checksum/MD5/183 908s ok 186 /checksum/MD5/string 908s ok 187 /checksum/MD5/bytes 908s # Start of reset tests 908s ok 188 /checksum/MD5/reset/0 908s ok 189 /checksum/MD5/reset/1 908s ok 190 /checksum/MD5/reset/2 908s ok 191 /checksum/MD5/reset/3 908s ok 192 /checksum/MD5/reset/4 908s ok 193 /checksum/MD5/reset/5 908s ok 194 /checksum/MD5/reset/6 908s ok 195 /checksum/MD5/reset/7 908s ok 196 /checksum/MD5/reset/8 908s ok 197 /checksum/MD5/reset/9 908s ok 198 /checksum/MD5/reset/10 908s ok 199 /checksum/MD5/reset/11 908s ok 200 /checksum/MD5/reset/12 908s ok 201 /checksum/MD5/reset/13 908s ok 202 /checksum/MD5/reset/14 908s ok 203 /checksum/MD5/reset/15 908s ok 204 /checksum/MD5/reset/16 908s ok 205 /checksum/MD5/reset/17 908s ok 206 /checksum/MD5/reset/18 908s ok 207 /checksum/MD5/reset/19 908s ok 208 /checksum/MD5/reset/20 908s ok 209 /checksum/MD5/reset/21 908s ok 210 /checksum/MD5/reset/22 908s ok 211 /checksum/MD5/reset/23 908s ok 212 /checksum/MD5/reset/24 908s ok 213 /checksum/MD5/reset/25 908s ok 214 /checksum/MD5/reset/26 908s ok 215 /checksum/MD5/reset/27 908s ok 216 /checksum/MD5/reset/28 908s ok 217 /checksum/MD5/reset/29 908s ok 218 /checksum/MD5/reset/30 908s ok 219 /checksum/MD5/reset/31 908s ok 220 /checksum/MD5/reset/32 908s ok 221 /checksum/MD5/reset/33 908s ok 222 /checksum/MD5/reset/34 908s ok 223 /checksum/MD5/reset/35 908s ok 224 /checksum/MD5/reset/36 908s ok 225 /checksum/MD5/reset/37 908s ok 226 /checksum/MD5/reset/38 908s ok 227 /checksum/MD5/reset/39 908s ok 228 /checksum/MD5/reset/40 908s ok 229 /checksum/MD5/reset/41 908s ok 230 /checksum/MD5/reset/42 908s ok 231 /checksum/MD5/reset/43 908s ok 232 /checksum/MD5/reset/44 908s ok 233 /checksum/MD5/reset/45 908s ok 234 /checksum/MD5/reset/46 908s ok 235 /checksum/MD5/reset/47 908s ok 236 /checksum/MD5/reset/48 908s ok 237 /checksum/MD5/reset/49 908s ok 238 /checksum/MD5/reset/50 908s ok 239 /checksum/MD5/reset/51 908s ok 240 /checksum/MD5/reset/52 908s ok 241 /checksum/MD5/reset/53 908s ok 242 /checksum/MD5/reset/54 908s ok 243 /checksum/MD5/reset/55 908s ok 244 /checksum/MD5/reset/56 908s ok 245 /checksum/MD5/reset/57 908s ok 246 /checksum/MD5/reset/58 908s ok 247 /checksum/MD5/reset/59 908s ok 248 /checksum/MD5/reset/60 908s ok 249 /checksum/MD5/reset/61 908s ok 250 /checksum/MD5/reset/62 908s ok 251 /checksum/MD5/reset/63 908s ok 252 /checksum/MD5/reset/64 908s ok 253 /checksum/MD5/reset/65 908s ok 254 /checksum/MD5/reset/66 908s ok 255 /checksum/MD5/reset/67 908s ok 256 /checksum/MD5/reset/68 908s ok 257 /checksum/MD5/reset/69 908s ok 258 /checksum/MD5/reset/70 908s ok 259 /checksum/MD5/reset/71 908s ok 260 /checksum/MD5/reset/72 908s ok 261 /checksum/MD5/reset/73 908s ok 262 /checksum/MD5/reset/74 908s ok 263 /checksum/MD5/reset/75 908s ok 264 /checksum/MD5/reset/76 908s ok 265 /checksum/MD5/reset/77 908s ok 266 /checksum/MD5/reset/78 908s ok 267 /checksum/MD5/reset/79 908s ok 268 /checksum/MD5/reset/80 908s ok 269 /checksum/MD5/reset/81 908s ok 270 /checksum/MD5/reset/82 908s ok 271 /checksum/MD5/reset/83 908s ok 272 /checksum/MD5/reset/84 908s ok 273 /checksum/MD5/reset/85 908s ok 274 /checksum/MD5/reset/86 908s ok 275 /checksum/MD5/reset/87 908s ok 276 /checksum/MD5/reset/88 908s ok 277 /checksum/MD5/reset/89 908s ok 278 /checksum/MD5/reset/90 908s ok 279 /checksum/MD5/reset/91 908s ok 280 /checksum/MD5/reset/92 908s ok 281 /checksum/MD5/reset/93 908s ok 282 /checksum/MD5/reset/94 908s ok 283 /checksum/MD5/reset/95 908s ok 284 /checksum/MD5/reset/96 908s ok 285 /checksum/MD5/reset/97 908s ok 286 /checksum/MD5/reset/98 908s ok 287 /checksum/MD5/reset/99 908s ok 288 /checksum/MD5/reset/100 908s ok 289 /checksum/MD5/reset/101 908s ok 290 /checksum/MD5/reset/102 908s ok 291 /checksum/MD5/reset/103 908s ok 292 /checksum/MD5/reset/104 908s ok 293 /checksum/MD5/reset/105 908s ok 294 /checksum/MD5/reset/106 908s ok 295 /checksum/MD5/reset/107 908s ok 296 /checksum/MD5/reset/108 908s ok 297 /checksum/MD5/reset/109 908s ok 298 /checksum/MD5/reset/110 908s ok 299 /checksum/MD5/reset/111 908s ok 300 /checksum/MD5/reset/112 908s ok 301 /checksum/MD5/reset/113 908s ok 302 /checksum/MD5/reset/114 908s ok 303 /checksum/MD5/reset/115 908s ok 304 /checksum/MD5/reset/116 908s ok 305 /checksum/MD5/reset/117 908s ok 306 /checksum/MD5/reset/118 908s ok 307 /checksum/MD5/reset/119 908s ok 308 /checksum/MD5/reset/120 908s ok 309 /checksum/MD5/reset/121 908s ok 310 /checksum/MD5/reset/122 908s ok 311 /checksum/MD5/reset/123 908s ok 312 /checksum/MD5/reset/124 908s ok 313 /checksum/MD5/reset/125 908s ok 314 /checksum/MD5/reset/126 908s ok 315 /checksum/MD5/reset/127 908s ok 316 /checksum/MD5/reset/128 908s ok 317 /checksum/MD5/reset/129 908s ok 318 /checksum/MD5/reset/130 908s ok 319 /checksum/MD5/reset/131 908s ok 320 /checksum/MD5/reset/132 908s ok 321 /checksum/MD5/reset/133 908s ok 322 /checksum/MD5/reset/134 908s ok 323 /checksum/MD5/reset/135 908s ok 324 /checksum/MD5/reset/136 908s ok 325 /checksum/MD5/reset/137 908s ok 326 /checksum/MD5/reset/138 908s ok 327 /checksum/MD5/reset/139 908s ok 328 /checksum/MD5/reset/140 908s ok 329 /checksum/MD5/reset/141 908s ok 330 /checksum/MD5/reset/142 908s ok 331 /checksum/MD5/reset/143 908s ok 332 /checksum/MD5/reset/144 908s ok 333 /checksum/MD5/reset/145 908s ok 334 /checksum/MD5/reset/146 908s ok 335 /checksum/MD5/reset/147 908s ok 336 /checksum/MD5/reset/148 908s ok 337 /checksum/MD5/reset/149 908s ok 338 /checksum/MD5/reset/150 908s ok 339 /checksum/MD5/reset/151 908s ok 340 /checksum/MD5/reset/152 908s ok 341 /checksum/MD5/reset/153 908s ok 342 /checksum/MD5/reset/154 908s ok 343 /checksum/MD5/reset/155 908s ok 344 /checksum/MD5/reset/156 908s ok 345 /checksum/MD5/reset/157 908s ok 346 /checksum/MD5/reset/158 908s ok 347 /checksum/MD5/reset/159 908s ok 348 /checksum/MD5/reset/160 908s ok 349 /checksum/MD5/reset/161 908s ok 350 /checksum/MD5/reset/162 908s ok 351 /checksum/MD5/reset/163 908s ok 352 /checksum/MD5/reset/164 908s ok 353 /checksum/MD5/reset/165 908s ok 354 /checksum/MD5/reset/166 908s ok 355 /checksum/MD5/reset/167 908s ok 356 /checksum/MD5/reset/168 908s ok 357 /checksum/MD5/reset/169 908s ok 358 /checksum/MD5/reset/170 908s ok 359 /checksum/MD5/reset/171 908s ok 360 /checksum/MD5/reset/172 908s ok 361 /checksum/MD5/reset/173 908s ok 362 /checksum/MD5/reset/174 908s ok 363 /checksum/MD5/reset/175 908s ok 364 /checksum/MD5/reset/176 908s ok 365 /checksum/MD5/reset/177 908s ok 366 /checksum/MD5/reset/178 908s ok 367 /checksum/MD5/reset/179 908s ok 368 /checksum/MD5/reset/180 908s ok 369 /checksum/MD5/reset/181 908s ok 370 /checksum/MD5/reset/182 908s ok 371 /checksum/MD5/reset/183 908s # End of reset tests 908s # End of MD5 tests 908s # Start of SHA1 tests 908s ok 372 /checksum/SHA1/0 908s ok 373 /checksum/SHA1/1 908s ok 374 /checksum/SHA1/2 908s ok 375 /checksum/SHA1/3 908s ok 376 /checksum/SHA1/4 908s ok 377 /checksum/SHA1/5 908s ok 378 /checksum/SHA1/6 908s ok 379 /checksum/SHA1/7 908s ok 380 /checksum/SHA1/8 908s ok 381 /checksum/SHA1/9 908s ok 382 /checksum/SHA1/10 908s ok 383 /checksum/SHA1/11 908s ok 384 /checksum/SHA1/12 908s ok 385 /checksum/SHA1/13 908s ok 386 /checksum/SHA1/14 908s ok 387 /checksum/SHA1/15 908s ok 388 /checksum/SHA1/16 908s ok 389 /checksum/SHA1/17 908s ok 390 /checksum/SHA1/18 908s ok 391 /checksum/SHA1/19 908s ok 392 /checksum/SHA1/20 908s ok 393 /checksum/SHA1/21 908s ok 394 /checksum/SHA1/22 908s ok 395 /checksum/SHA1/23 908s ok 396 /checksum/SHA1/24 908s ok 397 /checksum/SHA1/25 908s ok 398 /checksum/SHA1/26 908s ok 399 /checksum/SHA1/27 908s ok 400 /checksum/SHA1/28 908s ok 401 /checksum/SHA1/29 908s ok 402 /checksum/SHA1/30 908s ok 403 /checksum/SHA1/31 908s ok 404 /checksum/SHA1/32 908s ok 405 /checksum/SHA1/33 908s ok 406 /checksum/SHA1/34 908s ok 407 /checksum/SHA1/35 908s ok 408 /checksum/SHA1/36 908s ok 409 /checksum/SHA1/37 908s ok 410 /checksum/SHA1/38 908s ok 411 /checksum/SHA1/39 908s ok 412 /checksum/SHA1/40 908s ok 413 /checksum/SHA1/41 908s ok 414 /checksum/SHA1/42 908s ok 415 /checksum/SHA1/43 908s ok 416 /checksum/SHA1/44 908s ok 417 /checksum/SHA1/45 908s ok 418 /checksum/SHA1/46 908s ok 419 /checksum/SHA1/47 908s ok 420 /checksum/SHA1/48 908s ok 421 /checksum/SHA1/49 908s ok 422 /checksum/SHA1/50 908s ok 423 /checksum/SHA1/51 908s ok 424 /checksum/SHA1/52 908s ok 425 /checksum/SHA1/53 908s ok 426 /checksum/SHA1/54 908s ok 427 /checksum/SHA1/55 908s ok 428 /checksum/SHA1/56 908s ok 429 /checksum/SHA1/57 908s ok 430 /checksum/SHA1/58 908s ok 431 /checksum/SHA1/59 908s ok 432 /checksum/SHA1/60 908s ok 433 /checksum/SHA1/61 908s ok 434 /checksum/SHA1/62 908s ok 435 /checksum/SHA1/63 908s ok 436 /checksum/SHA1/64 908s ok 437 /checksum/SHA1/65 908s ok 438 /checksum/SHA1/66 908s ok 439 /checksum/SHA1/67 908s ok 440 /checksum/SHA1/68 908s ok 441 /checksum/SHA1/69 908s ok 442 /checksum/SHA1/70 908s ok 443 /checksum/SHA1/71 908s ok 444 /checksum/SHA1/72 908s ok 445 /checksum/SHA1/73 908s ok 446 /checksum/SHA1/74 908s ok 447 /checksum/SHA1/75 908s ok 448 /checksum/SHA1/76 908s ok 449 /checksum/SHA1/77 908s ok 450 /checksum/SHA1/78 908s ok 451 /checksum/SHA1/79 908s ok 452 /checksum/SHA1/80 908s ok 453 /checksum/SHA1/81 908s ok 454 /checksum/SHA1/82 908s ok 455 /checksum/SHA1/83 908s ok 456 /checksum/SHA1/84 908s ok 457 /checksum/SHA1/85 908s ok 458 /checksum/SHA1/86 908s ok 459 /checksum/SHA1/87 908s ok 460 /checksum/SHA1/88 908s ok 461 /checksum/SHA1/89 908s ok 462 /checksum/SHA1/90 908s ok 463 /checksum/SHA1/91 908s ok 464 /checksum/SHA1/92 908s ok 465 /checksum/SHA1/93 908s ok 466 /checksum/SHA1/94 908s ok 467 /checksum/SHA1/95 908s ok 468 /checksum/SHA1/96 908s ok 469 /checksum/SHA1/97 908s ok 470 /checksum/SHA1/98 908s ok 471 /checksum/SHA1/99 908s ok 472 /checksum/SHA1/100 908s ok 473 /checksum/SHA1/101 908s ok 474 /checksum/SHA1/102 908s ok 475 /checksum/SHA1/103 908s ok 476 /checksum/SHA1/104 908s ok 477 /checksum/SHA1/105 908s ok 478 /checksum/SHA1/106 908s ok 479 /checksum/SHA1/107 908s ok 480 /checksum/SHA1/108 908s ok 481 /checksum/SHA1/109 908s ok 482 /checksum/SHA1/110 908s ok 483 /checksum/SHA1/111 908s ok 484 /checksum/SHA1/112 908s ok 485 /checksum/SHA1/113 908s ok 486 /checksum/SHA1/114 908s ok 487 /checksum/SHA1/115 908s ok 488 /checksum/SHA1/116 908s ok 489 /checksum/SHA1/117 908s ok 490 /checksum/SHA1/118 908s ok 491 /checksum/SHA1/119 908s ok 492 /checksum/SHA1/120 908s ok 493 /checksum/SHA1/121 908s ok 494 /checksum/SHA1/122 908s ok 495 /checksum/SHA1/123 908s ok 496 /checksum/SHA1/124 908s ok 497 /checksum/SHA1/125 908s ok 498 /checksum/SHA1/126 908s ok 499 /checksum/SHA1/127 908s ok 500 /checksum/SHA1/128 908s ok 501 /checksum/SHA1/129 908s ok 502 /checksum/SHA1/130 908s ok 503 /checksum/SHA1/131 908s ok 504 /checksum/SHA1/132 908s ok 505 /checksum/SHA1/133 908s ok 506 /checksum/SHA1/134 908s ok 507 /checksum/SHA1/135 908s ok 508 /checksum/SHA1/136 908s ok 509 /checksum/SHA1/137 908s ok 510 /checksum/SHA1/138 908s ok 511 /checksum/SHA1/139 908s ok 512 /checksum/SHA1/140 908s ok 513 /checksum/SHA1/141 908s ok 514 /checksum/SHA1/142 908s ok 515 /checksum/SHA1/143 908s ok 516 /checksum/SHA1/144 908s ok 517 /checksum/SHA1/145 908s ok 518 /checksum/SHA1/146 908s ok 519 /checksum/SHA1/147 908s ok 520 /checksum/SHA1/148 908s ok 521 /checksum/SHA1/149 908s ok 522 /checksum/SHA1/150 908s ok 523 /checksum/SHA1/151 908s ok 524 /checksum/SHA1/152 908s ok 525 /checksum/SHA1/153 908s ok 526 /checksum/SHA1/154 908s ok 527 /checksum/SHA1/155 908s ok 528 /checksum/SHA1/156 908s ok 529 /checksum/SHA1/157 908s ok 530 /checksum/SHA1/158 908s ok 531 /checksum/SHA1/159 908s ok 532 /checksum/SHA1/160 908s ok 533 /checksum/SHA1/161 908s ok 534 /checksum/SHA1/162 908s ok 535 /checksum/SHA1/163 908s ok 536 /checksum/SHA1/164 908s ok 537 /checksum/SHA1/165 908s ok 538 /checksum/SHA1/166 908s ok 539 /checksum/SHA1/167 908s ok 540 /checksum/SHA1/168 908s ok 541 /checksum/SHA1/169 908s ok 542 /checksum/SHA1/170 908s ok 543 /checksum/SHA1/171 908s ok 544 /checksum/SHA1/172 908s ok 545 /checksum/SHA1/173 908s ok 546 /checksum/SHA1/174 908s ok 547 /checksum/SHA1/175 908s ok 548 /checksum/SHA1/176 908s ok 549 /checksum/SHA1/177 908s ok 550 /checksum/SHA1/178 908s ok 551 /checksum/SHA1/179 908s ok 552 /checksum/SHA1/180 908s ok 553 /checksum/SHA1/181 908s ok 554 /checksum/SHA1/182 908s ok 555 /checksum/SHA1/183 908s ok 556 /checksum/SHA1/string 908s ok 557 /checksum/SHA1/bytes 908s # Start of reset tests 908s ok 558 /checksum/SHA1/reset/0 908s ok 559 /checksum/SHA1/reset/1 908s ok 560 /checksum/SHA1/reset/2 908s ok 561 /checksum/SHA1/reset/3 908s ok 562 /checksum/SHA1/reset/4 908s ok 563 /checksum/SHA1/reset/5 908s ok 564 /checksum/SHA1/reset/6 908s ok 565 /checksum/SHA1/reset/7 908s ok 566 /checksum/SHA1/reset/8 908s ok 567 /checksum/SHA1/reset/9 908s ok 568 /checksum/SHA1/reset/10 908s ok 569 /checksum/SHA1/reset/11 908s ok 570 /checksum/SHA1/reset/12 908s ok 571 /checksum/SHA1/reset/13 908s ok 572 /checksum/SHA1/reset/14 908s ok 573 /checksum/SHA1/reset/15 908s ok 574 /checksum/SHA1/reset/16 908s ok 575 /checksum/SHA1/reset/17 908s ok 576 /checksum/SHA1/reset/18 908s ok 577 /checksum/SHA1/reset/19 908s ok 578 /checksum/SHA1/reset/20 908s ok 579 /checksum/SHA1/reset/21 908s ok 580 /checksum/SHA1/reset/22 908s ok 581 /checksum/SHA1/reset/23 908s ok 582 /checksum/SHA1/reset/24 908s ok 583 /checksum/SHA1/reset/25 908s ok 584 /checksum/SHA1/reset/26 908s ok 585 /checksum/SHA1/reset/27 908s ok 586 /checksum/SHA1/reset/28 908s ok 587 /checksum/SHA1/reset/29 908s ok 588 /checksum/SHA1/reset/30 908s ok 589 /checksum/SHA1/reset/31 908s ok 590 /checksum/SHA1/reset/32 908s ok 591 /checksum/SHA1/reset/33 908s ok 592 /checksum/SHA1/reset/34 908s ok 593 /checksum/SHA1/reset/35 908s ok 594 /checksum/SHA1/reset/36 908s ok 595 /checksum/SHA1/reset/37 908s ok 596 /checksum/SHA1/reset/38 908s ok 597 /checksum/SHA1/reset/39 908s ok 598 /checksum/SHA1/reset/40 908s ok 599 /checksum/SHA1/reset/41 908s ok 600 /checksum/SHA1/reset/42 908s ok 601 /checksum/SHA1/reset/43 908s ok 602 /checksum/SHA1/reset/44 908s ok 603 /checksum/SHA1/reset/45 908s ok 604 /checksum/SHA1/reset/46 908s ok 605 /checksum/SHA1/reset/47 908s ok 606 /checksum/SHA1/reset/48 908s ok 607 /checksum/SHA1/reset/49 908s ok 608 /checksum/SHA1/reset/50 908s ok 609 /checksum/SHA1/reset/51 908s ok 610 /checksum/SHA1/reset/52 908s ok 611 /checksum/SHA1/reset/53 908s ok 612 /checksum/SHA1/reset/54 908s ok 613 /checksum/SHA1/reset/55 908s ok 614 /checksum/SHA1/reset/56 908s ok 615 /checksum/SHA1/reset/57 908s ok 616 /checksum/SHA1/reset/58 908s ok 617 /checksum/SHA1/reset/59 908s ok 618 /checksum/SHA1/reset/60 908s ok 619 /checksum/SHA1/reset/61 908s ok 620 /checksum/SHA1/reset/62 908s ok 621 /checksum/SHA1/reset/63 908s ok 622 /checksum/SHA1/reset/64 908s ok 623 /checksum/SHA1/reset/65 908s ok 624 /checksum/SHA1/reset/66 908s ok 625 /checksum/SHA1/reset/67 908s ok 626 /checksum/SHA1/reset/68 908s ok 627 /checksum/SHA1/reset/69 908s ok 628 /checksum/SHA1/reset/70 908s ok 629 /checksum/SHA1/reset/71 908s ok 630 /checksum/SHA1/reset/72 908s ok 631 /checksum/SHA1/reset/73 908s ok 632 /checksum/SHA1/reset/74 908s ok 633 /checksum/SHA1/reset/75 908s ok 634 /checksum/SHA1/reset/76 908s ok 635 /checksum/SHA1/reset/77 908s ok 636 /checksum/SHA1/reset/78 908s ok 637 /checksum/SHA1/reset/79 908s ok 638 /checksum/SHA1/reset/80 908s ok 639 /checksum/SHA1/reset/81 908s ok 640 /checksum/SHA1/reset/82 908s ok 641 /checksum/SHA1/reset/83 908s ok 642 /checksum/SHA1/reset/84 908s ok 643 /checksum/SHA1/reset/85 908s ok 644 /checksum/SHA1/reset/86 908s ok 645 /checksum/SHA1/reset/87 908s ok 646 /checksum/SHA1/reset/88 908s ok 647 /checksum/SHA1/reset/89 908s ok 648 /checksum/SHA1/reset/90 908s ok 649 /checksum/SHA1/reset/91 908s ok 650 /checksum/SHA1/reset/92 908s ok 651 /checksum/SHA1/reset/93 908s ok 652 /checksum/SHA1/reset/94 908s ok 653 /checksum/SHA1/reset/95 908s ok 654 /checksum/SHA1/reset/96 908s ok 655 /checksum/SHA1/reset/97 908s ok 656 /checksum/SHA1/reset/98 908s ok 657 /checksum/SHA1/reset/99 908s ok 658 /checksum/SHA1/reset/100 908s ok 659 /checksum/SHA1/reset/101 908s ok 660 /checksum/SHA1/reset/102 908s ok 661 /checksum/SHA1/reset/103 908s ok 662 /checksum/SHA1/reset/104 908s ok 663 /checksum/SHA1/reset/105 908s ok 664 /checksum/SHA1/reset/106 908s ok 665 /checksum/SHA1/reset/107 908s ok 666 /checksum/SHA1/reset/108 908s ok 667 /checksum/SHA1/reset/109 908s ok 668 /checksum/SHA1/reset/110 908s ok 669 /checksum/SHA1/reset/111 908s ok 670 /checksum/SHA1/reset/112 908s ok 671 /checksum/SHA1/reset/113 908s ok 672 /checksum/SHA1/reset/114 908s ok 673 /checksum/SHA1/reset/115 908s ok 674 /checksum/SHA1/reset/116 908s ok 675 /checksum/SHA1/reset/117 908s ok 676 /checksum/SHA1/reset/118 908s ok 677 /checksum/SHA1/reset/119 908s ok 678 /checksum/SHA1/reset/120 908s ok 679 /checksum/SHA1/reset/121 908s ok 680 /checksum/SHA1/reset/122 908s ok 681 /checksum/SHA1/reset/123 908s ok 682 /checksum/SHA1/reset/124 908s ok 683 /checksum/SHA1/reset/125 908s ok 684 /checksum/SHA1/reset/126 908s ok 685 /checksum/SHA1/reset/127 908s ok 686 /checksum/SHA1/reset/128 908s ok 687 /checksum/SHA1/reset/129 908s ok 688 /checksum/SHA1/reset/130 908s ok 689 /checksum/SHA1/reset/131 908s ok 690 /checksum/SHA1/reset/132 908s ok 691 /checksum/SHA1/reset/133 908s ok 692 /checksum/SHA1/reset/134 908s ok 693 /checksum/SHA1/reset/135 908s ok 694 /checksum/SHA1/reset/136 908s ok 695 /checksum/SHA1/reset/137 908s ok 696 /checksum/SHA1/reset/138 908s ok 697 /checksum/SHA1/reset/139 908s ok 698 /checksum/SHA1/reset/140 908s ok 699 /checksum/SHA1/reset/141 908s ok 700 /checksum/SHA1/reset/142 908s ok 701 /checksum/SHA1/reset/143 908s ok 702 /checksum/SHA1/reset/144 908s ok 703 /checksum/SHA1/reset/145 908s ok 704 /checksum/SHA1/reset/146 908s ok 705 /checksum/SHA1/reset/147 908s ok 706 /checksum/SHA1/reset/148 908s ok 707 /checksum/SHA1/reset/149 908s ok 708 /checksum/SHA1/reset/150 908s ok 709 /checksum/SHA1/reset/151 908s ok 710 /checksum/SHA1/reset/152 908s ok 711 /checksum/SHA1/reset/153 908s ok 712 /checksum/SHA1/reset/154 908s ok 713 /checksum/SHA1/reset/155 908s ok 714 /checksum/SHA1/reset/156 908s ok 715 /checksum/SHA1/reset/157 908s ok 716 /checksum/SHA1/reset/158 908s ok 717 /checksum/SHA1/reset/159 908s ok 718 /checksum/SHA1/reset/160 908s ok 719 /checksum/SHA1/reset/161 908s ok 720 /checksum/SHA1/reset/162 908s ok 721 /checksum/SHA1/reset/163 908s ok 722 /checksum/SHA1/reset/164 908s ok 723 /checksum/SHA1/reset/165 908s ok 724 /checksum/SHA1/reset/166 908s ok 725 /checksum/SHA1/reset/167 908s ok 726 /checksum/SHA1/reset/168 908s ok 727 /checksum/SHA1/reset/169 908s ok 728 /checksum/SHA1/reset/170 908s ok 729 /checksum/SHA1/reset/171 908s ok 730 /checksum/SHA1/reset/172 908s ok 731 /checksum/SHA1/reset/173 908s ok 732 /checksum/SHA1/reset/174 908s ok 733 /checksum/SHA1/reset/175 908s ok 734 /checksum/SHA1/reset/176 908s ok 735 /checksum/SHA1/reset/177 908s ok 736 /checksum/SHA1/reset/178 908s ok 737 /checksum/SHA1/reset/179 908s ok 738 /checksum/SHA1/reset/180 908s ok 739 /checksum/SHA1/reset/181 908s ok 740 /checksum/SHA1/reset/182 908s ok 741 /checksum/SHA1/reset/183 908s # End of reset tests 908s # End of SHA1 tests 908s # Start of SHA256 tests 908s ok 742 /checksum/SHA256/0 908s ok 743 /checksum/SHA256/1 908s ok 744 /checksum/SHA256/2 908s ok 745 /checksum/SHA256/3 908s ok 746 /checksum/SHA256/4 908s ok 747 /checksum/SHA256/5 908s ok 748 /checksum/SHA256/6 908s ok 749 /checksum/SHA256/7 908s ok 750 /checksum/SHA256/8 908s ok 751 /checksum/SHA256/9 908s ok 752 /checksum/SHA256/10 908s ok 753 /checksum/SHA256/11 908s ok 754 /checksum/SHA256/12 908s ok 755 /checksum/SHA256/13 908s ok 756 /checksum/SHA256/14 908s ok 757 /checksum/SHA256/15 908s ok 758 /checksum/SHA256/16 908s ok 759 /checksum/SHA256/17 908s ok 760 /checksum/SHA256/18 908s ok 761 /checksum/SHA256/19 908s ok 762 /checksum/SHA256/20 908s ok 763 /checksum/SHA256/21 908s ok 764 /checksum/SHA256/22 908s ok 765 /checksum/SHA256/23 908s ok 766 /checksum/SHA256/24 908s ok 767 /checksum/SHA256/25 908s ok 768 /checksum/SHA256/26 908s ok 769 /checksum/SHA256/27 908s ok 770 /checksum/SHA256/28 908s ok 771 /checksum/SHA256/29 908s ok 772 /checksum/SHA256/30 908s ok 773 /checksum/SHA256/31 908s ok 774 /checksum/SHA256/32 908s ok 775 /checksum/SHA256/33 908s ok 776 /checksum/SHA256/34 908s ok 777 /checksum/SHA256/35 908s ok 778 /checksum/SHA256/36 908s ok 779 /checksum/SHA256/37 908s ok 780 /checksum/SHA256/38 908s ok 781 /checksum/SHA256/39 908s ok 782 /checksum/SHA256/40 908s ok 783 /checksum/SHA256/41 908s ok 784 /checksum/SHA256/42 908s ok 785 /checksum/SHA256/43 908s ok 786 /checksum/SHA256/44 908s ok 787 /checksum/SHA256/45 908s ok 788 /checksum/SHA256/46 908s ok 789 /checksum/SHA256/47 908s ok 790 /checksum/SHA256/48 908s ok 791 /checksum/SHA256/49 908s ok 792 /checksum/SHA256/50 908s ok 793 /checksum/SHA256/51 908s ok 794 /checksum/SHA256/52 908s ok 795 /checksum/SHA256/53 908s ok 796 /checksum/SHA256/54 908s ok 797 /checksum/SHA256/55 908s ok 798 /checksum/SHA256/56 908s ok 799 /checksum/SHA256/57 908s ok 800 /checksum/SHA256/58 908s ok 801 /checksum/SHA256/59 908s ok 802 /checksum/SHA256/60 908s ok 803 /checksum/SHA256/61 908s ok 804 /checksum/SHA256/62 908s ok 805 /checksum/SHA256/63 908s ok 806 /checksum/SHA256/64 908s ok 807 /checksum/SHA256/65 908s ok 808 /checksum/SHA256/66 908s ok 809 /checksum/SHA256/67 908s ok 810 /checksum/SHA256/68 908s ok 811 /checksum/SHA256/69 908s ok 812 /checksum/SHA256/70 908s ok 813 /checksum/SHA256/71 908s ok 814 /checksum/SHA256/72 908s ok 815 /checksum/SHA256/73 908s ok 816 /checksum/SHA256/74 908s ok 817 /checksum/SHA256/75 908s ok 818 /checksum/SHA256/76 908s ok 819 /checksum/SHA256/77 908s ok 820 /checksum/SHA256/78 908s ok 821 /checksum/SHA256/79 908s ok 822 /checksum/SHA256/80 908s ok 823 /checksum/SHA256/81 908s ok 824 /checksum/SHA256/82 908s ok 825 /checksum/SHA256/83 908s ok 826 /checksum/SHA256/84 908s ok 827 /checksum/SHA256/85 908s ok 828 /checksum/SHA256/86 908s ok 829 /checksum/SHA256/87 908s ok 830 /checksum/SHA256/88 908s ok 831 /checksum/SHA256/89 908s ok 832 /checksum/SHA256/90 908s ok 833 /checksum/SHA256/91 908s ok 834 /checksum/SHA256/92 908s ok 835 /checksum/SHA256/93 908s ok 836 /checksum/SHA256/94 908s ok 837 /checksum/SHA256/95 908s ok 838 /checksum/SHA256/96 908s ok 839 /checksum/SHA256/97 908s ok 840 /checksum/SHA256/98 908s ok 841 /checksum/SHA256/99 908s ok 842 /checksum/SHA256/100 908s ok 843 /checksum/SHA256/101 908s ok 844 /checksum/SHA256/102 908s ok 845 /checksum/SHA256/103 908s ok 846 /checksum/SHA256/104 908s ok 847 /checksum/SHA256/105 908s ok 848 /checksum/SHA256/106 908s ok 849 /checksum/SHA256/107 908s ok 850 /checksum/SHA256/108 908s ok 851 /checksum/SHA256/109 908s ok 852 /checksum/SHA256/110 908s ok 853 /checksum/SHA256/111 908s ok 854 /checksum/SHA256/112 908s ok 855 /checksum/SHA256/113 908s ok 856 /checksum/SHA256/114 908s ok 857 /checksum/SHA256/115 908s ok 858 /checksum/SHA256/116 908s ok 859 /checksum/SHA256/117 908s ok 860 /checksum/SHA256/118 908s ok 861 /checksum/SHA256/119 908s ok 862 /checksum/SHA256/120 908s ok 863 /checksum/SHA256/121 908s ok 864 /checksum/SHA256/122 908s ok 865 /checksum/SHA256/123 908s ok 866 /checksum/SHA256/124 908s ok 867 /checksum/SHA256/125 908s ok 868 /checksum/SHA256/126 908s ok 869 /checksum/SHA256/127 908s ok 870 /checksum/SHA256/128 908s ok 871 /checksum/SHA256/129 908s ok 872 /checksum/SHA256/130 908s ok 873 /checksum/SHA256/131 908s ok 874 /checksum/SHA256/132 908s ok 875 /checksum/SHA256/133 908s ok 876 /checksum/SHA256/134 908s ok 877 /checksum/SHA256/135 908s ok 878 /checksum/SHA256/136 908s ok 879 /checksum/SHA256/137 908s ok 880 /checksum/SHA256/138 908s ok 881 /checksum/SHA256/139 908s ok 882 /checksum/SHA256/140 908s ok 883 /checksum/SHA256/141 908s ok 884 /checksum/SHA256/142 908s ok 885 /checksum/SHA256/143 908s ok 886 /checksum/SHA256/144 908s ok 887 /checksum/SHA256/145 908s ok 888 /checksum/SHA256/146 908s ok 889 /checksum/SHA256/147 908s ok 890 /checksum/SHA256/148 908s ok 891 /checksum/SHA256/149 908s ok 892 /checksum/SHA256/150 908s ok 893 /checksum/SHA256/151 908s ok 894 /checksum/SHA256/152 908s ok 895 /checksum/SHA256/153 908s ok 896 /checksum/SHA256/154 908s ok 897 /checksum/SHA256/155 908s ok 898 /checksum/SHA256/156 908s ok 899 /checksum/SHA256/157 908s ok 900 /checksum/SHA256/158 908s ok 901 /checksum/SHA256/159 908s ok 902 /checksum/SHA256/160 908s ok 903 /checksum/SHA256/161 908s ok 904 /checksum/SHA256/162 908s ok 905 /checksum/SHA256/163 908s ok 906 /checksum/SHA256/164 908s ok 907 /checksum/SHA256/165 908s ok 908 /checksum/SHA256/166 908s ok 909 /checksum/SHA256/167 908s ok 910 /checksum/SHA256/168 908s ok 911 /checksum/SHA256/169 908s ok 912 /checksum/SHA256/170 908s ok 913 /checksum/SHA256/171 908s ok 914 /checksum/SHA256/172 908s ok 915 /checksum/SHA256/173 908s ok 916 /checksum/SHA256/174 908s ok 917 /checksum/SHA256/175 908s ok 918 /checksum/SHA256/176 908s ok 919 /checksum/SHA256/177 908s ok 920 /checksum/SHA256/178 908s ok 921 /checksum/SHA256/179 908s ok 922 /checksum/SHA256/180 908s ok 923 /checksum/SHA256/181 908s ok 924 /checksum/SHA256/182 908s ok 925 /checksum/SHA256/183 908s ok 926 /checksum/SHA256/string 908s ok 927 /checksum/SHA256/bytes 908s # Start of reset tests 908s ok 928 /checksum/SHA256/reset/0 908s ok 929 /checksum/SHA256/reset/1 908s ok 930 /checksum/SHA256/reset/2 908s ok 931 /checksum/SHA256/reset/3 908s ok 932 /checksum/SHA256/reset/4 908s ok 933 /checksum/SHA256/reset/5 908s ok 934 /checksum/SHA256/reset/6 908s ok 935 /checksum/SHA256/reset/7 908s ok 936 /checksum/SHA256/reset/8 908s ok 937 /checksum/SHA256/reset/9 908s ok 938 /checksum/SHA256/reset/10 908s ok 939 /checksum/SHA256/reset/11 908s ok 940 /checksum/SHA256/reset/12 908s ok 941 /checksum/SHA256/reset/13 908s ok 942 /checksum/SHA256/reset/14 908s ok 943 /checksum/SHA256/reset/15 908s ok 944 /checksum/SHA256/reset/16 908s ok 945 /checksum/SHA256/reset/17 908s ok 946 /checksum/SHA256/reset/18 908s ok 947 /checksum/SHA256/reset/19 908s ok 948 /checksum/SHA256/reset/20 908s ok 949 /checksum/SHA256/reset/21 908s ok 950 /checksum/SHA256/reset/22 908s ok 951 /checksum/SHA256/reset/23 908s ok 952 /checksum/SHA256/reset/24 908s ok 953 /checksum/SHA256/reset/25 908s ok 954 /checksum/SHA256/reset/26 908s ok 955 /checksum/SHA256/reset/27 908s ok 956 /checksum/SHA256/reset/28 908s ok 957 /checksum/SHA256/reset/29 908s ok 958 /checksum/SHA256/reset/30 908s ok 959 /checksum/SHA256/reset/31 908s ok 960 /checksum/SHA256/reset/32 908s ok 961 /checksum/SHA256/reset/33 908s ok 962 /checksum/SHA256/reset/34 908s ok 963 /checksum/SHA256/reset/35 908s ok 964 /checksum/SHA256/reset/36 908s ok 965 /checksum/SHA256/reset/37 908s ok 966 /checksum/SHA256/reset/38 908s ok 967 /checksum/SHA256/reset/39 908s ok 968 /checksum/SHA256/reset/40 908s ok 969 /checksum/SHA256/reset/41 908s ok 970 /checksum/SHA256/reset/42 908s ok 971 /checksum/SHA256/reset/43 908s ok 972 /checksum/SHA256/reset/44 908s ok 973 /checksum/SHA256/reset/45 908s ok 974 /checksum/SHA256/reset/46 908s ok 975 /checksum/SHA256/reset/47 908s ok 976 /checksum/SHA256/reset/48 908s ok 977 /checksum/SHA256/reset/49 908s ok 978 /checksum/SHA256/reset/50 908s ok 979 /checksum/SHA256/reset/51 908s ok 980 /checksum/SHA256/reset/52 908s ok 981 /checksum/SHA256/reset/53 908s ok 982 /checksum/SHA256/reset/54 908s ok 983 /checksum/SHA256/reset/55 908s ok 984 /checksum/SHA256/reset/56 908s ok 985 /checksum/SHA256/reset/57 908s ok 986 /checksum/SHA256/reset/58 908s ok 987 /checksum/SHA256/reset/59 908s ok 988 /checksum/SHA256/reset/60 908s ok 989 /checksum/SHA256/reset/61 908s ok 990 /checksum/SHA256/reset/62 908s ok 991 /checksum/SHA256/reset/63 908s ok 992 /checksum/SHA256/reset/64 908s ok 993 /checksum/SHA256/reset/65 908s ok 994 /checksum/SHA256/reset/66 908s ok 995 /checksum/SHA256/reset/67 908s ok 996 /checksum/SHA256/reset/68 908s ok 997 /checksum/SHA256/reset/69 908s ok 998 /checksum/SHA256/reset/70 908s ok 999 /checksum/SHA256/reset/71 908s ok 1000 /checksum/SHA256/reset/72 908s ok 1001 /checksum/SHA256/reset/73 908s ok 1002 /checksum/SHA256/reset/74 908s ok 1003 /checksum/SHA256/reset/75 908s ok 1004 /checksum/SHA256/reset/76 908s ok 1005 /checksum/SHA256/reset/77 908s ok 1006 /checksum/SHA256/reset/78 908s ok 1007 /checksum/SHA256/reset/79 908s ok 1008 /checksum/SHA256/reset/80 908s ok 1009 /checksum/SHA256/reset/81 908s ok 1010 /checksum/SHA256/reset/82 908s ok 1011 /checksum/SHA256/reset/83 908s ok 1012 /checksum/SHA256/reset/84 908s ok 1013 /checksum/SHA256/reset/85 908s ok 1014 /checksum/SHA256/reset/86 908s ok 1015 /checksum/SHA256/reset/87 908s ok 1016 /checksum/SHA256/reset/88 908s ok 1017 /checksum/SHA256/reset/89 908s ok 1018 /checksum/SHA256/reset/90 908s ok 1019 /checksum/SHA256/reset/91 908s ok 1020 /checksum/SHA256/reset/92 908s ok 1021 /checksum/SHA256/reset/93 908s ok 1022 /checksum/SHA256/reset/94 908s ok 1023 /checksum/SHA256/reset/95 908s ok 1024 /checksum/SHA256/reset/96 908s ok 1025 /checksum/SHA256/reset/97 908s ok 1026 /checksum/SHA256/reset/98 908s ok 1027 /checksum/SHA256/reset/99 908s ok 1028 /checksum/SHA256/reset/100 908s ok 1029 /checksum/SHA256/reset/101 908s ok 1030 /checksum/SHA256/reset/102 908s ok 1031 /checksum/SHA256/reset/103 908s ok 1032 /checksum/SHA256/reset/104 908s ok 1033 /checksum/SHA256/reset/105 908s ok 1034 /checksum/SHA256/reset/106 908s ok 1035 /checksum/SHA256/reset/107 908s ok 1036 /checksum/SHA256/reset/108 908s ok 1037 /checksum/SHA256/reset/109 908s ok 1038 /checksum/SHA256/reset/110 908s ok 1039 /checksum/SHA256/reset/111 908s ok 1040 /checksum/SHA256/reset/112 908s ok 1041 /checksum/SHA256/reset/113 908s ok 1042 /checksum/SHA256/reset/114 908s ok 1043 /checksum/SHA256/reset/115 908s ok 1044 /checksum/SHA256/reset/116 908s ok 1045 /checksum/SHA256/reset/117 908s ok 1046 /checksum/SHA256/reset/118 908s ok 1047 /checksum/SHA256/reset/119 908s ok 1048 /checksum/SHA256/reset/120 908s ok 1049 /checksum/SHA256/reset/121 908s ok 1050 /checksum/SHA256/reset/122 908s ok 1051 /checksum/SHA256/reset/123 908s ok 1052 /checksum/SHA256/reset/124 908s ok 1053 /checksum/SHA256/reset/125 908s ok 1054 /checksum/SHA256/reset/126 908s ok 1055 /checksum/SHA256/reset/127 908s ok 1056 /checksum/SHA256/reset/128 908s ok 1057 /checksum/SHA256/reset/129 908s ok 1058 /checksum/SHA256/reset/130 908s ok 1059 /checksum/SHA256/reset/131 908s ok 1060 /checksum/SHA256/reset/132 908s ok 1061 /checksum/SHA256/reset/133 908s ok 1062 /checksum/SHA256/reset/134 908s ok 1063 /checksum/SHA256/reset/135 908s ok 1064 /checksum/SHA256/reset/136 908s ok 1065 /checksum/SHA256/reset/137 908s ok 1066 /checksum/SHA256/reset/138 908s ok 1067 /checksum/SHA256/reset/139 908s ok 1068 /checksum/SHA256/reset/140 908s ok 1069 /checksum/SHA256/reset/141 908s ok 1070 /checksum/SHA256/reset/142 908s ok 1071 /checksum/SHA256/reset/143 908s ok 1072 /checksum/SHA256/reset/144 908s ok 1073 /checksum/SHA256/reset/145 908s ok 1074 /checksum/SHA256/reset/146 908s ok 1075 /checksum/SHA256/reset/147 908s ok 1076 /checksum/SHA256/reset/148 908s ok 1077 /checksum/SHA256/reset/149 908s ok 1078 /checksum/SHA256/reset/150 908s ok 1079 /checksum/SHA256/reset/151 908s ok 1080 /checksum/SHA256/reset/152 908s ok 1081 /checksum/SHA256/reset/153 908s ok 1082 /checksum/SHA256/reset/154 908s ok 1083 /checksum/SHA256/reset/155 908s ok 1084 /checksum/SHA256/reset/156 908s ok 1085 /checksum/SHA256/reset/157 908s ok 1086 /checksum/SHA256/reset/158 908s ok 1087 /checksum/SHA256/reset/159 908s ok 1088 /checksum/SHA256/reset/160 908s ok 1089 /checksum/SHA256/reset/161 908s ok 1090 /checksum/SHA256/reset/162 908s ok 1091 /checksum/SHA256/reset/163 908s ok 1092 /checksum/SHA256/reset/164 908s ok 1093 /checksum/SHA256/reset/165 908s ok 1094 /checksum/SHA256/reset/166 908s ok 1095 /checksum/SHA256/reset/167 908s ok 1096 /checksum/SHA256/reset/168 908s ok 1097 /checksum/SHA256/reset/169 908s ok 1098 /checksum/SHA256/reset/170 908s ok 1099 /checksum/SHA256/reset/171 908s ok 1100 /checksum/SHA256/reset/172 908s ok 1101 /checksum/SHA256/reset/173 908s ok 1102 /checksum/SHA256/reset/174 908s ok 1103 /checksum/SHA256/reset/175 908s ok 1104 /checksum/SHA256/reset/176 908s ok 1105 /checksum/SHA256/reset/177 908s ok 1106 /checksum/SHA256/reset/178 908s ok 1107 /checksum/SHA256/reset/179 908s ok 1108 /checksum/SHA256/reset/180 908s ok 1109 /checksum/SHA256/reset/181 908s ok 1110 /checksum/SHA256/reset/182 908s ok 1111 /checksum/SHA256/reset/183 908s # End of reset tests 908s # End of SHA256 tests 908s # Start of SHA384 tests 908s ok 1112 /checksum/SHA384/0 908s ok 1113 /checksum/SHA384/1 908s ok 1114 /checksum/SHA384/2 908s ok 1115 /checksum/SHA384/3 908s ok 1116 /checksum/SHA384/4 908s ok 1117 /checksum/SHA384/5 908s ok 1118 /checksum/SHA384/6 908s ok 1119 /checksum/SHA384/7 908s ok 1120 /checksum/SHA384/8 908s ok 1121 /checksum/SHA384/9 908s ok 1122 /checksum/SHA384/10 908s ok 1123 /checksum/SHA384/11 908s ok 1124 /checksum/SHA384/12 908s ok 1125 /checksum/SHA384/13 908s ok 1126 /checksum/SHA384/14 908s ok 1127 /checksum/SHA384/15 908s ok 1128 /checksum/SHA384/16 908s ok 1129 /checksum/SHA384/17 908s ok 1130 /checksum/SHA384/18 908s ok 1131 /checksum/SHA384/19 908s ok 1132 /checksum/SHA384/20 908s ok 1133 /checksum/SHA384/21 908s ok 1134 /checksum/SHA384/22 908s ok 1135 /checksum/SHA384/23 908s ok 1136 /checksum/SHA384/24 908s ok 1137 /checksum/SHA384/25 908s ok 1138 /checksum/SHA384/26 908s ok 1139 /checksum/SHA384/27 908s ok 1140 /checksum/SHA384/28 908s ok 1141 /checksum/SHA384/29 908s ok 1142 /checksum/SHA384/30 908s ok 1143 /checksum/SHA384/31 908s ok 1144 /checksum/SHA384/32 908s ok 1145 /checksum/SHA384/33 908s ok 1146 /checksum/SHA384/34 908s ok 1147 /checksum/SHA384/35 908s ok 1148 /checksum/SHA384/36 908s ok 1149 /checksum/SHA384/37 908s ok 1150 /checksum/SHA384/38 908s ok 1151 /checksum/SHA384/39 908s ok 1152 /checksum/SHA384/40 908s ok 1153 /checksum/SHA384/41 908s ok 1154 /checksum/SHA384/42 908s ok 1155 /checksum/SHA384/43 908s ok 1156 /checksum/SHA384/44 908s ok 1157 /checksum/SHA384/45 908s ok 1158 /checksum/SHA384/46 908s ok 1159 /checksum/SHA384/47 908s ok 1160 /checksum/SHA384/48 908s ok 1161 /checksum/SHA384/49 908s ok 1162 /checksum/SHA384/50 908s ok 1163 /checksum/SHA384/51 908s ok 1164 /checksum/SHA384/52 908s ok 1165 /checksum/SHA384/53 908s ok 1166 /checksum/SHA384/54 908s ok 1167 /checksum/SHA384/55 908s ok 1168 /checksum/SHA384/56 908s ok 1169 /checksum/SHA384/57 908s ok 1170 /checksum/SHA384/58 908s ok 1171 /checksum/SHA384/59 908s ok 1172 /checksum/SHA384/60 908s ok 1173 /checksum/SHA384/61 908s ok 1174 /checksum/SHA384/62 908s ok 1175 /checksum/SHA384/63 908s ok 1176 /checksum/SHA384/64 908s ok 1177 /checksum/SHA384/65 908s ok 1178 /checksum/SHA384/66 908s ok 1179 /checksum/SHA384/67 908s ok 1180 /checksum/SHA384/68 908s ok 1181 /checksum/SHA384/69 908s ok 1182 /checksum/SHA384/70 908s ok 1183 /checksum/SHA384/71 908s ok 1184 /checksum/SHA384/72 908s ok 1185 /checksum/SHA384/73 908s ok 1186 /checksum/SHA384/74 908s ok 1187 /checksum/SHA384/75 908s ok 1188 /checksum/SHA384/76 908s ok 1189 /checksum/SHA384/77 908s ok 1190 /checksum/SHA384/78 908s ok 1191 /checksum/SHA384/79 908s ok 1192 /checksum/SHA384/80 908s ok 1193 /checksum/SHA384/81 908s ok 1194 /checksum/SHA384/82 908s ok 1195 /checksum/SHA384/83 908s ok 1196 /checksum/SHA384/84 908s ok 1197 /checksum/SHA384/85 908s ok 1198 /checksum/SHA384/86 908s ok 1199 /checksum/SHA384/87 908s ok 1200 /checksum/SHA384/88 908s ok 1201 /checksum/SHA384/89 908s ok 1202 /checksum/SHA384/90 908s ok 1203 /checksum/SHA384/91 908s ok 1204 /checksum/SHA384/92 908s ok 1205 /checksum/SHA384/93 908s ok 1206 /checksum/SHA384/94 908s ok 1207 /checksum/SHA384/95 908s ok 1208 /checksum/SHA384/96 908s ok 1209 /checksum/SHA384/97 908s ok 1210 /checksum/SHA384/98 908s ok 1211 /checksum/SHA384/99 908s ok 1212 /checksum/SHA384/100 908s ok 1213 /checksum/SHA384/101 908s ok 1214 /checksum/SHA384/102 908s ok 1215 /checksum/SHA384/103 908s ok 1216 /checksum/SHA384/104 908s ok 1217 /checksum/SHA384/105 908s ok 1218 /checksum/SHA384/106 908s ok 1219 /checksum/SHA384/107 908s ok 1220 /checksum/SHA384/108 908s ok 1221 /checksum/SHA384/109 908s ok 1222 /checksum/SHA384/110 908s ok 1223 /checksum/SHA384/111 908s ok 1224 /checksum/SHA384/112 908s ok 1225 /checksum/SHA384/113 908s ok 1226 /checksum/SHA384/114 908s ok 1227 /checksum/SHA384/115 908s ok 1228 /checksum/SHA384/116 908s ok 1229 /checksum/SHA384/117 908s ok 1230 /checksum/SHA384/118 908s ok 1231 /checksum/SHA384/119 908s ok 1232 /checksum/SHA384/120 908s ok 1233 /checksum/SHA384/121 908s ok 1234 /checksum/SHA384/122 908s ok 1235 /checksum/SHA384/123 908s ok 1236 /checksum/SHA384/124 908s ok 1237 /checksum/SHA384/125 908s ok 1238 /checksum/SHA384/126 908s ok 1239 /checksum/SHA384/127 908s ok 1240 /checksum/SHA384/128 908s ok 1241 /checksum/SHA384/129 908s ok 1242 /checksum/SHA384/130 908s ok 1243 /checksum/SHA384/131 908s ok 1244 /checksum/SHA384/132 908s ok 1245 /checksum/SHA384/133 908s ok 1246 /checksum/SHA384/134 908s ok 1247 /checksum/SHA384/135 908s ok 1248 /checksum/SHA384/136 908s ok 1249 /checksum/SHA384/137 908s ok 1250 /checksum/SHA384/138 908s ok 1251 /checksum/SHA384/139 908s ok 1252 /checksum/SHA384/140 908s ok 1253 /checksum/SHA384/141 908s ok 1254 /checksum/SHA384/142 908s ok 1255 /checksum/SHA384/143 908s ok 1256 /checksum/SHA384/144 908s ok 1257 /checksum/SHA384/145 908s ok 1258 /checksum/SHA384/146 908s ok 1259 /checksum/SHA384/147 908s ok 1260 /checksum/SHA384/148 908s ok 1261 /checksum/SHA384/149 908s ok 1262 /checksum/SHA384/150 908s ok 1263 /checksum/SHA384/151 908s ok 1264 /checksum/SHA384/152 908s ok 1265 /checksum/SHA384/153 908s ok 1266 /checksum/SHA384/154 908s ok 1267 /checksum/SHA384/155 908s ok 1268 /checksum/SHA384/156 908s ok 1269 /checksum/SHA384/157 908s ok 1270 /checksum/SHA384/158 908s ok 1271 /checksum/SHA384/159 908s ok 1272 /checksum/SHA384/160 908s ok 1273 /checksum/SHA384/161 908s ok 1274 /checksum/SHA384/162 908s ok 1275 /checksum/SHA384/163 908s ok 1276 /checksum/SHA384/164 908s ok 1277 /checksum/SHA384/165 908s ok 1278 /checksum/SHA384/166 908s ok 1279 /checksum/SHA384/167 908s ok 1280 /checksum/SHA384/168 908s ok 1281 /checksum/SHA384/169 908s ok 1282 /checksum/SHA384/170 908s ok 1283 /checksum/SHA384/171 908s ok 1284 /checksum/SHA384/172 908s ok 1285 /checksum/SHA384/173 908s ok 1286 /checksum/SHA384/174 908s ok 1287 /checksum/SHA384/175 908s ok 1288 /checksum/SHA384/176 908s ok 1289 /checksum/SHA384/177 908s ok 1290 /checksum/SHA384/178 908s ok 1291 /checksum/SHA384/179 908s ok 1292 /checksum/SHA384/180 908s ok 1293 /checksum/SHA384/181 908s ok 1294 /checksum/SHA384/182 908s ok 1295 /checksum/SHA384/183 908s ok 1296 /checksum/SHA384/string 908s ok 1297 /checksum/SHA384/bytes 908s # Start of reset tests 908s ok 1298 /checksum/SHA384/reset/0 908s ok 1299 /checksum/SHA384/reset/1 908s ok 1300 /checksum/SHA384/reset/2 908s ok 1301 /checksum/SHA384/reset/3 908s ok 1302 /checksum/SHA384/reset/4 908s ok 1303 /checksum/SHA384/reset/5 908s ok 1304 /checksum/SHA384/reset/6 908s ok 1305 /checksum/SHA384/reset/7 908s ok 1306 /checksum/SHA384/reset/8 908s ok 1307 /checksum/SHA384/reset/9 908s ok 1308 /checksum/SHA384/reset/10 908s ok 1309 /checksum/SHA384/reset/11 908s ok 1310 /checksum/SHA384/reset/12 908s ok 1311 /checksum/SHA384/reset/13 908s ok 1312 /checksum/SHA384/reset/14 908s ok 1313 /checksum/SHA384/reset/15 908s ok 1314 /checksum/SHA384/reset/16 908s ok 1315 /checksum/SHA384/reset/17 908s ok 1316 /checksum/SHA384/reset/18 908s ok 1317 /checksum/SHA384/reset/19 908s ok 1318 /checksum/SHA384/reset/20 908s ok 1319 /checksum/SHA384/reset/21 908s ok 1320 /checksum/SHA384/reset/22 908s ok 1321 /checksum/SHA384/reset/23 908s ok 1322 /checksum/SHA384/reset/24 908s ok 1323 /checksum/SHA384/reset/25 908s ok 1324 /checksum/SHA384/reset/26 908s ok 1325 /checksum/SHA384/reset/27 908s ok 1326 /checksum/SHA384/reset/28 908s ok 1327 /checksum/SHA384/reset/29 908s ok 1328 /checksum/SHA384/reset/30 908s ok 1329 /checksum/SHA384/reset/31 908s ok 1330 /checksum/SHA384/reset/32 908s ok 1331 /checksum/SHA384/reset/33 908s ok 1332 /checksum/SHA384/reset/34 908s ok 1333 /checksum/SHA384/reset/35 908s ok 1334 /checksum/SHA384/reset/36 908s ok 1335 /checksum/SHA384/reset/37 908s ok 1336 /checksum/SHA384/reset/38 908s ok 1337 /checksum/SHA384/reset/39 908s ok 1338 /checksum/SHA384/reset/40 908s ok 1339 /checksum/SHA384/reset/41 908s ok 1340 /checksum/SHA384/reset/42 908s ok 1341 /checksum/SHA384/reset/43 908s ok 1342 /checksum/SHA384/reset/44 908s ok 1343 /checksum/SHA384/reset/45 908s ok 1344 /checksum/SHA384/reset/46 908s ok 1345 /checksum/SHA384/reset/47 908s ok 1346 /checksum/SHA384/reset/48 908s ok 1347 /checksum/SHA384/reset/49 908s ok 1348 /checksum/SHA384/reset/50 908s ok 1349 /checksum/SHA384/reset/51 908s ok 1350 /checksum/SHA384/reset/52 908s ok 1351 /checksum/SHA384/reset/53 908s ok 1352 /checksum/SHA384/reset/54 908s ok 1353 /checksum/SHA384/reset/55 908s ok 1354 /checksum/SHA384/reset/56 908s ok 1355 /checksum/SHA384/reset/57 908s ok 1356 /checksum/SHA384/reset/58 908s ok 1357 /checksum/SHA384/reset/59 908s ok 1358 /checksum/SHA384/reset/60 908s ok 1359 /checksum/SHA384/reset/61 908s ok 1360 /checksum/SHA384/reset/62 908s ok 1361 /checksum/SHA384/reset/63 908s ok 1362 /checksum/SHA384/reset/64 908s ok 1363 /checksum/SHA384/reset/65 908s ok 1364 /checksum/SHA384/reset/66 908s ok 1365 /checksum/SHA384/reset/67 908s ok 1366 /checksum/SHA384/reset/68 908s ok 1367 /checksum/SHA384/reset/69 908s ok 1368 /checksum/SHA384/reset/70 908s ok 1369 /checksum/SHA384/reset/71 908s ok 1370 /checksum/SHA384/reset/72 908s ok 1371 /checksum/SHA384/reset/73 908s ok 1372 /checksum/SHA384/reset/74 908s ok 1373 /checksum/SHA384/reset/75 908s ok 1374 /checksum/SHA384/reset/76 908s ok 1375 /checksum/SHA384/reset/77 908s ok 1376 /checksum/SHA384/reset/78 908s ok 1377 /checksum/SHA384/reset/79 908s ok 1378 /checksum/SHA384/reset/80 908s ok 1379 /checksum/SHA384/reset/81 908s ok 1380 /checksum/SHA384/reset/82 908s ok 1381 /checksum/SHA384/reset/83 908s ok 1382 /checksum/SHA384/reset/84 908s ok 1383 /checksum/SHA384/reset/85 908s ok 1384 /checksum/SHA384/reset/86 908s ok 1385 /checksum/SHA384/reset/87 908s ok 1386 /checksum/SHA384/reset/88 908s ok 1387 /checksum/SHA384/reset/89 908s ok 1388 /checksum/SHA384/reset/90 908s ok 1389 /checksum/SHA384/reset/91 908s ok 1390 /checksum/SHA384/reset/92 908s ok 1391 /checksum/SHA384/reset/93 908s ok 1392 /checksum/SHA384/reset/94 908s ok 1393 /checksum/SHA384/reset/95 908s ok 1394 /checksum/SHA384/reset/96 908s ok 1395 /checksum/SHA384/reset/97 908s ok 1396 /checksum/SHA384/reset/98 908s ok 1397 /checksum/SHA384/reset/99 908s ok 1398 /checksum/SHA384/reset/100 908s ok 1399 /checksum/SHA384/reset/101 908s ok 1400 /checksum/SHA384/reset/102 908s ok 1401 /checksum/SHA384/reset/103 908s ok 1402 /checksum/SHA384/reset/104 908s ok 1403 /checksum/SHA384/reset/105 908s ok 1404 /checksum/SHA384/reset/106 908s ok 1405 /checksum/SHA384/reset/107 908s ok 1406 /checksum/SHA384/reset/108 908s ok 1407 /checksum/SHA384/reset/109 908s ok 1408 /checksum/SHA384/reset/110 908s ok 1409 /checksum/SHA384/reset/111 908s ok 1410 /checksum/SHA384/reset/112 908s ok 1411 /checksum/SHA384/reset/113 908s ok 1412 /checksum/SHA384/reset/114 908s ok 1413 /checksum/SHA384/reset/115 908s ok 1414 /checksum/SHA384/reset/116 908s ok 1415 /checksum/SHA384/reset/117 908s ok 1416 /checksum/SHA384/reset/118 908s ok 1417 /checksum/SHA384/reset/119 908s ok 1418 /checksum/SHA384/reset/120 908s ok 1419 /checksum/SHA384/reset/121 908s ok 1420 /checksum/SHA384/reset/122 908s ok 1421 /checksum/SHA384/reset/123 908s ok 1422 /checksum/SHA384/reset/124 908s ok 1423 /checksum/SHA384/reset/125 908s ok 1424 /checksum/SHA384/reset/126 908s ok 1425 /checksum/SHA384/reset/127 908s ok 1426 /checksum/SHA384/reset/128 908s ok 1427 /checksum/SHA384/reset/129 908s ok 1428 /checksum/SHA384/reset/130 908s ok 1429 /checksum/SHA384/reset/131 908s ok 1430 /checksum/SHA384/reset/132 908s ok 1431 /checksum/SHA384/reset/133 908s ok 1432 /checksum/SHA384/reset/134 908s ok 1433 /checksum/SHA384/reset/135 908s ok 1434 /checksum/SHA384/reset/136 908s ok 1435 /checksum/SHA384/reset/137 908s ok 1436 /checksum/SHA384/reset/138 908s ok 1437 /checksum/SHA384/reset/139 908s ok 1438 /checksum/SHA384/reset/140 908s ok 1439 /checksum/SHA384/reset/141 908s ok 1440 /checksum/SHA384/reset/142 908s ok 1441 /checksum/SHA384/reset/143 908s ok 1442 /checksum/SHA384/reset/144 908s ok 1443 /checksum/SHA384/reset/145 908s ok 1444 /checksum/SHA384/reset/146 908s ok 1445 /checksum/SHA384/reset/147 908s ok 1446 /checksum/SHA384/reset/148 908s ok 1447 /checksum/SHA384/reset/149 908s ok 1448 /checksum/SHA384/reset/150 908s ok 1449 /checksum/SHA384/reset/151 908s ok 1450 /checksum/SHA384/reset/152 908s ok 1451 /checksum/SHA384/reset/153 908s ok 1452 /checksum/SHA384/reset/154 908s ok 1453 /checksum/SHA384/reset/155 908s ok 1454 /checksum/SHA384/reset/156 908s ok 1455 /checksum/SHA384/reset/157 908s ok 1456 /checksum/SHA384/reset/158 908s ok 1457 /checksum/SHA384/reset/159 908s ok 1458 /checksum/SHA384/reset/160 908s ok 1459 /checksum/SHA384/reset/161 908s ok 1460 /checksum/SHA384/reset/162 908s ok 1461 /checksum/SHA384/reset/163 908s ok 1462 /checksum/SHA384/reset/164 908s ok 1463 /checksum/SHA384/reset/165 908s ok 1464 /checksum/SHA384/reset/166 908s ok 1465 /checksum/SHA384/reset/167 908s ok 1466 /checksum/SHA384/reset/168 908s ok 1467 /checksum/SHA384/reset/169 908s ok 1468 /checksum/SHA384/reset/170 908s ok 1469 /checksum/SHA384/reset/171 908s ok 1470 /checksum/SHA384/reset/172 908s ok 1471 /checksum/SHA384/reset/173 908s ok 1472 /checksum/SHA384/reset/174 908s ok 1473 /checksum/SHA384/reset/175 908s ok 1474 /checksum/SHA384/reset/176 908s ok 1475 /checksum/SHA384/reset/177 908s ok 1476 /checksum/SHA384/reset/178 908s ok 1477 /checksum/SHA384/reset/179 908s ok 1478 /checksum/SHA384/reset/180 908s ok 1479 /checksum/SHA384/reset/181 908s ok 1480 /checksum/SHA384/reset/182 908s ok 1481 /checksum/SHA384/reset/183 908s # End of reset tests 908s # End of SHA384 tests 908s # Start of SHA512 tests 908s ok 1482 /checksum/SHA512/0 908s ok 1483 /checksum/SHA512/1 908s ok 1484 /checksum/SHA512/2 908s ok 1485 /checksum/SHA512/3 908s ok 1486 /checksum/SHA512/4 908s ok 1487 /checksum/SHA512/5 908s ok 1488 /checksum/SHA512/6 908s ok 1489 /checksum/SHA512/7 908s ok 1490 /checksum/SHA512/8 908s ok 1491 /checksum/SHA512/9 908s ok 1492 /checksum/SHA512/10 908s ok 1493 /checksum/SHA512/11 908s ok 1494 /checksum/SHA512/12 908s ok 1495 /checksum/SHA512/13 908s ok 1496 /checksum/SHA512/14 908s ok 1497 /checksum/SHA512/15 908s ok 1498 /checksum/SHA512/16 908s ok 1499 /checksum/SHA512/17 908s ok 1500 /checksum/SHA512/18 908s ok 1501 /checksum/SHA512/19 908s ok 1502 /checksum/SHA512/20 908s ok 1503 /checksum/SHA512/21 908s ok 1504 /checksum/SHA512/22 908s ok 1505 /checksum/SHA512/23 908s ok 1506 /checksum/SHA512/24 908s ok 1507 /checksum/SHA512/25 908s ok 1508 /checksum/SHA512/26 908s ok 1509 /checksum/SHA512/27 908s ok 1510 /checksum/SHA512/28 908s ok 1511 /checksum/SHA512/29 908s ok 1512 /checksum/SHA512/30 908s ok 1513 /checksum/SHA512/31 908s ok 1514 /checksum/SHA512/32 908s ok 1515 /checksum/SHA512/33 908s ok 1516 /checksum/SHA512/34 908s ok 1517 /checksum/SHA512/35 908s ok 1518 /checksum/SHA512/36 908s ok 1519 /checksum/SHA512/37 908s ok 1520 /checksum/SHA512/38 908s ok 1521 /checksum/SHA512/39 908s ok 1522 /checksum/SHA512/40 908s ok 1523 /checksum/SHA512/41 908s ok 1524 /checksum/SHA512/42 908s ok 1525 /checksum/SHA512/43 908s ok 1526 /checksum/SHA512/44 908s ok 1527 /checksum/SHA512/45 908s ok 1528 /checksum/SHA512/46 908s ok 1529 /checksum/SHA512/47 908s ok 1530 /checksum/SHA512/48 908s ok 1531 /checksum/SHA512/49 908s ok 1532 /checksum/SHA512/50 908s ok 1533 /checksum/SHA512/51 908s ok 1534 /checksum/SHA512/52 908s ok 1535 /checksum/SHA512/53 908s ok 1536 /checksum/SHA512/54 908s ok 1537 /checksum/SHA512/55 908s ok 1538 /checksum/SHA512/56 908s ok 1539 /checksum/SHA512/57 908s ok 1540 /checksum/SHA512/58 908s ok 1541 /checksum/SHA512/59 908s ok 1542 /checksum/SHA512/60 908s ok 1543 /checksum/SHA512/61 908s ok 1544 /checksum/SHA512/62 908s ok 1545 /checksum/SHA512/63 908s ok 1546 /checksum/SHA512/64 908s ok 1547 /checksum/SHA512/65 908s ok 1548 /checksum/SHA512/66 908s ok 1549 /checksum/SHA512/67 908s ok 1550 /checksum/SHA512/68 908s ok 1551 /checksum/SHA512/69 908s ok 1552 /checksum/SHA512/70 908s ok 1553 /checksum/SHA512/71 908s ok 1554 /checksum/SHA512/72 908s ok 1555 /checksum/SHA512/73 908s ok 1556 /checksum/SHA512/74 908s ok 1557 /checksum/SHA512/75 908s ok 1558 /checksum/SHA512/76 908s ok 1559 /checksum/SHA512/77 908s ok 1560 /checksum/SHA512/78 908s ok 1561 /checksum/SHA512/79 908s ok 1562 /checksum/SHA512/80 908s ok 1563 /checksum/SHA512/81 908s ok 1564 /checksum/SHA512/82 908s ok 1565 /checksum/SHA512/83 908s ok 1566 /checksum/SHA512/84 908s ok 1567 /checksum/SHA512/85 908s ok 1568 /checksum/SHA512/86 908s ok 1569 /checksum/SHA512/87 908s ok 1570 /checksum/SHA512/88 908s ok 1571 /checksum/SHA512/89 908s ok 1572 /checksum/SHA512/90 908s ok 1573 /checksum/SHA512/91 908s ok 1574 /checksum/SHA512/92 908s ok 1575 /checksum/SHA512/93 908s ok 1576 /checksum/SHA512/94 908s ok 1577 /checksum/SHA512/95 908s ok 1578 /checksum/SHA512/96 908s ok 1579 /checksum/SHA512/97 908s ok 1580 /checksum/SHA512/98 908s ok 1581 /checksum/SHA512/99 908s ok 1582 /checksum/SHA512/100 908s ok 1583 /checksum/SHA512/101 908s ok 1584 /checksum/SHA512/102 908s ok 1585 /checksum/SHA512/103 908s ok 1586 /checksum/SHA512/104 908s ok 1587 /checksum/SHA512/105 908s ok 1588 /checksum/SHA512/106 908s ok 1589 /checksum/SHA512/107 908s ok 1590 /checksum/SHA512/108 908s ok 1591 /checksum/SHA512/109 908s ok 1592 /checksum/SHA512/110 908s ok 1593 /checksum/SHA512/111 908s ok 1594 /checksum/SHA512/112 908s ok 1595 /checksum/SHA512/113 908s ok 1596 /checksum/SHA512/114 908s ok 1597 /checksum/SHA512/115 908s ok 1598 /checksum/SHA512/116 908s ok 1599 /checksum/SHA512/117 908s ok 1600 /checksum/SHA512/118 908s ok 1601 /checksum/SHA512/119 908s ok 1602 /checksum/SHA512/120 908s ok 1603 /checksum/SHA512/121 908s ok 1604 /checksum/SHA512/122 908s ok 1605 /checksum/SHA512/123 908s ok 1606 /checksum/SHA512/124 908s ok 1607 /checksum/SHA512/125 908s ok 1608 /checksum/SHA512/126 908s ok 1609 /checksum/SHA512/127 908s ok 1610 /checksum/SHA512/128 908s ok 1611 /checksum/SHA512/129 908s ok 1612 /checksum/SHA512/130 908s ok 1613 /checksum/SHA512/131 908s ok 1614 /checksum/SHA512/132 908s ok 1615 /checksum/SHA512/133 908s ok 1616 /checksum/SHA512/134 908s ok 1617 /checksum/SHA512/135 908s ok 1618 /checksum/SHA512/136 908s ok 1619 /checksum/SHA512/137 908s ok 1620 /checksum/SHA512/138 908s ok 1621 /checksum/SHA512/139 908s ok 1622 /checksum/SHA512/140 908s ok 1623 /checksum/SHA512/141 908s ok 1624 /checksum/SHA512/142 908s ok 1625 /checksum/SHA512/143 908s ok 1626 /checksum/SHA512/144 908s ok 1627 /checksum/SHA512/145 908s ok 1628 /checksum/SHA512/146 908s ok 1629 /checksum/SHA512/147 908s ok 1630 /checksum/SHA512/148 908s ok 1631 /checksum/SHA512/149 908s ok 1632 /checksum/SHA512/150 908s ok 1633 /checksum/SHA512/151 908s ok 1634 /checksum/SHA512/152 908s ok 1635 /checksum/SHA512/153 908s ok 1636 /checksum/SHA512/154 908s ok 1637 /checksum/SHA512/155 908s ok 1638 /checksum/SHA512/156 908s ok 1639 /checksum/SHA512/157 908s ok 1640 /checksum/SHA512/158 908s ok 1641 /checksum/SHA512/159 908s ok 1642 /checksum/SHA512/160 908s ok 1643 /checksum/SHA512/161 908s ok 1644 /checksum/SHA512/162 908s ok 1645 /checksum/SHA512/163 908s ok 1646 /checksum/SHA512/164 908s ok 1647 /checksum/SHA512/165 908s ok 1648 /checksum/SHA512/166 908s ok 1649 /checksum/SHA512/167 908s ok 1650 /checksum/SHA512/168 908s ok 1651 /checksum/SHA512/169 908s ok 1652 /checksum/SHA512/170 908s ok 1653 /checksum/SHA512/171 908s ok 1654 /checksum/SHA512/172 908s ok 1655 /checksum/SHA512/173 908s ok 1656 /checksum/SHA512/174 908s ok 1657 /checksum/SHA512/175 908s ok 1658 /checksum/SHA512/176 908s ok 1659 /checksum/SHA512/177 908s ok 1660 /checksum/SHA512/178 908s ok 1661 /checksum/SHA512/179 908s ok 1662 /checksum/SHA512/180 908s ok 1663 /checksum/SHA512/181 908s ok 1664 /checksum/SHA512/182 908s ok 1665 /checksum/SHA512/183 908s ok 1666 /checksum/SHA512/string 908s ok 1667 /checksum/SHA512/bytes 908s # Start of reset tests 908s ok 1668 /checksum/SHA512/reset/0 908s ok 1669 /checksum/SHA512/reset/1 908s ok 1670 /checksum/SHA512/reset/2 908s ok 1671 /checksum/SHA512/reset/3 908s ok 1672 /checksum/SHA512/reset/4 908s ok 1673 /checksum/SHA512/reset/5 908s ok 1674 /checksum/SHA512/reset/6 908s ok 1675 /checksum/SHA512/reset/7 908s ok 1676 /checksum/SHA512/reset/8 908s ok 1677 /checksum/SHA512/reset/9 908s ok 1678 /checksum/SHA512/reset/10 908s ok 1679 /checksum/SHA512/reset/11 908s ok 1680 /checksum/SHA512/reset/12 908s ok 1681 /checksum/SHA512/reset/13 908s ok 1682 /checksum/SHA512/reset/14 908s ok 1683 /checksum/SHA512/reset/15 908s ok 1684 /checksum/SHA512/reset/16 908s ok 1685 /checksum/SHA512/reset/17 908s ok 1686 /checksum/SHA512/reset/18 908s ok 1687 /checksum/SHA512/reset/19 908s ok 1688 /checksum/SHA512/reset/20 908s ok 1689 /checksum/SHA512/reset/21 908s ok 1690 /checksum/SHA512/reset/22 908s ok 1691 /checksum/SHA512/reset/23 908s ok 1692 /checksum/SHA512/reset/24 908s ok 1693 /checksum/SHA512/reset/25 908s ok 1694 /checksum/SHA512/reset/26 908s ok 1695 /checksum/SHA512/reset/27 908s ok 1696 /checksum/SHA512/reset/28 908s ok 1697 /checksum/SHA512/reset/29 908s ok 1698 /checksum/SHA512/reset/30 908s ok 1699 /checksum/SHA512/reset/31 908s ok 1700 /checksum/SHA512/reset/32 908s ok 1701 /checksum/SHA512/reset/33 908s ok 1702 /checksum/SHA512/reset/34 908s ok 1703 /checksum/SHA512/reset/35 908s ok 1704 /checksum/SHA512/reset/36 908s ok 1705 /checksum/SHA512/reset/37 908s ok 1706 /checksum/SHA512/reset/38 908s ok 1707 /checksum/SHA512/reset/39 908s ok 1708 /checksum/SHA512/reset/40 908s ok 1709 /checksum/SHA512/reset/41 908s ok 1710 /checksum/SHA512/reset/42 908s ok 1711 /checksum/SHA512/reset/43 908s ok 1712 /checksum/SHA512/reset/44 908s ok 1713 /checksum/SHA512/reset/45 908s ok 1714 /checksum/SHA512/reset/46 908s ok 1715 /checksum/SHA512/reset/47 908s ok 1716 /checksum/SHA512/reset/48 908s ok 1717 /checksum/SHA512/reset/49 908s ok 1718 /checksum/SHA512/reset/50 908s ok 1719 /checksum/SHA512/reset/51 908s ok 1720 /checksum/SHA512/reset/52 908s ok 1721 /checksum/SHA512/reset/53 908s ok 1722 /checksum/SHA512/reset/54 908s ok 1723 /checksum/SHA512/reset/55 908s ok 1724 /checksum/SHA512/reset/56 908s ok 1725 /checksum/SHA512/reset/57 908s ok 1726 /checksum/SHA512/reset/58 908s ok 1727 /checksum/SHA512/reset/59 908s ok 1728 /checksum/SHA512/reset/60 908s ok 1729 /checksum/SHA512/reset/61 908s ok 1730 /checksum/SHA512/reset/62 908s ok 1731 /checksum/SHA512/reset/63 908s ok 1732 /checksum/SHA512/reset/64 908s ok 1733 /checksum/SHA512/reset/65 908s ok 1734 /checksum/SHA512/reset/66 908s ok 1735 /checksum/SHA512/reset/67 908s ok 1736 /checksum/SHA512/reset/68 908s ok 1737 /checksum/SHA512/reset/69 908s ok 1738 /checksum/SHA512/reset/70 908s ok 1739 /checksum/SHA512/reset/71 908s ok 1740 /checksum/SHA512/reset/72 908s ok 1741 /checksum/SHA512/reset/73 908s ok 1742 /checksum/SHA512/reset/74 908s ok 1743 /checksum/SHA512/reset/75 908s ok 1744 /checksum/SHA512/reset/76 908s ok 1745 /checksum/SHA512/reset/77 908s ok 1746 /checksum/SHA512/reset/78 908s ok 1747 /checksum/SHA512/reset/79 908s ok 1748 /checksum/SHA512/reset/80 908s ok 1749 /checksum/SHA512/reset/81 908s ok 1750 /checksum/SHA512/reset/82 908s ok 1751 /checksum/SHA512/reset/83 908s ok 1752 /checksum/SHA512/reset/84 908s ok 1753 /checksum/SHA512/reset/85 908s ok 1754 /checksum/SHA512/reset/86 908s ok 1755 /checksum/SHA512/reset/87 908s ok 1756 /checksum/SHA512/reset/88 908s ok 1757 /checksum/SHA512/reset/89 908s ok 1758 /checksum/SHA512/reset/90 908s ok 1759 /checksum/SHA512/reset/91 908s ok 1760 /checksum/SHA512/reset/92 908s ok 1761 /checksum/SHA512/reset/93 908s ok 1762 /checksum/SHA512/reset/94 908s ok 1763 /checksum/SHA512/reset/95 908s ok 1764 /checksum/SHA512/reset/96 908s ok 1765 /checksum/SHA512/reset/97 908s ok 1766 /checksum/SHA512/reset/98 908s ok 1767 /checksum/SHA512/reset/99 908s ok 1768 /checksum/SHA512/reset/100 908s ok 1769 /checksum/SHA512/reset/101 908s ok 1770 /checksum/SHA512/reset/102 908s ok 1771 /checksum/SHA512/reset/103 908s ok 1772 /checksum/SHA512/reset/104 908s ok 1773 /checksum/SHA512/reset/105 908s ok 1774 /checksum/SHA512/reset/106 908s ok 1775 /checksum/SHA512/reset/107 908s ok 1776 /checksum/SHA512/reset/108 908s ok 1777 /checksum/SHA512/reset/109 908s ok 1778 /checksum/SHA512/reset/110 908s ok 1779 /checksum/SHA512/reset/111 908s ok 1780 /checksum/SHA512/reset/112 908s ok 1781 /checksum/SHA512/reset/113 908s ok 1782 /checksum/SHA512/reset/114 908s ok 1783 /checksum/SHA512/reset/115 908s ok 1784 /checksum/SHA512/reset/116 908s ok 1785 /checksum/SHA512/reset/117 908s ok 1786 /checksum/SHA512/reset/118 908s ok 1787 /checksum/SHA512/reset/119 908s ok 1788 /checksum/SHA512/reset/120 908s ok 1789 /checksum/SHA512/reset/121 908s ok 1790 /checksum/SHA512/reset/122 908s ok 1791 /checksum/SHA512/reset/123 908s ok 1792 /checksum/SHA512/reset/124 908s ok 1793 /checksum/SHA512/reset/125 908s ok 1794 /checksum/SHA512/reset/126 908s ok 1795 /checksum/SHA512/reset/127 908s ok 1796 /checksum/SHA512/reset/128 908s ok 1797 /checksum/SHA512/reset/129 908s ok 1798 /checksum/SHA512/reset/130 908s ok 1799 /checksum/SHA512/reset/131 908s ok 1800 /checksum/SHA512/reset/132 908s ok 1801 /checksum/SHA512/reset/133 908s ok 1802 /checksum/SHA512/reset/134 908s ok 1803 /checksum/SHA512/reset/135 908s ok 1804 /checksum/SHA512/reset/136 908s ok 1805 /checksum/SHA512/reset/137 908s ok 1806 /checksum/SHA512/reset/138 908s ok 1807 /checksum/SHA512/reset/139 908s ok 1808 /checksum/SHA512/reset/140 908s ok 1809 /checksum/SHA512/reset/141 908s ok 1810 /checksum/SHA512/reset/142 908s ok 1811 /checksum/SHA512/reset/143 908s ok 1812 /checksum/SHA512/reset/144 908s ok 1813 /checksum/SHA512/reset/145 908s ok 1814 /checksum/SHA512/reset/146 908s ok 1815 /checksum/SHA512/reset/147 908s ok 1816 /checksum/SHA512/reset/148 908s ok 1817 /checksum/SHA512/reset/149 908s ok 1818 /checksum/SHA512/reset/150 908s ok 1819 /checksum/SHA512/reset/151 908s ok 1820 /checksum/SHA512/reset/152 908s ok 1821 /checksum/SHA512/reset/153 908s ok 1822 /checksum/SHA512/reset/154 908s ok 1823 /checksum/SHA512/reset/155 908s ok 1824 /checksum/SHA512/reset/156 908s ok 1825 /checksum/SHA512/reset/157 908s ok 1826 /checksum/SHA512/reset/158 908s ok 1827 /checksum/SHA512/reset/159 908s ok 1828 /checksum/SHA512/reset/160 908s ok 1829 /checksum/SHA512/reset/161 908s ok 1830 /checksum/SHA512/reset/162 908s ok 1831 /checksum/SHA512/reset/163 908s ok 1832 /checksum/SHA512/reset/164 908s ok 1833 /checksum/SHA512/reset/165 908s ok 1834 /checksum/SHA512/reset/166 908s ok 1835 /checksum/SHA512/reset/167 908s ok 1836 /checksum/SHA512/reset/168 908s ok 1837 /checksum/SHA512/reset/169 908s ok 1838 /checksum/SHA512/reset/170 908s ok 1839 /checksum/SHA512/reset/171 908s ok 1840 /checksum/SHA512/reset/172 908s ok 1841 /checksum/SHA512/reset/173 908s ok 1842 /checksum/SHA512/reset/174 908s ok 1843 /checksum/SHA512/reset/175 908s ok 1844 /checksum/SHA512/reset/176 908s ok 1845 /checksum/SHA512/reset/177 908s ok 1846 /checksum/SHA512/reset/178 908s ok 1847 /checksum/SHA512/reset/179 908s ok 1848 /checksum/SHA512/reset/180 908s ok 1849 /checksum/SHA512/reset/181 908s ok 1850 /checksum/SHA512/reset/182 908s ok 1851 /checksum/SHA512/reset/183 908s # End of reset tests 908s # End of SHA512 tests 908s # End of checksum tests 908s ok - glib/checksum.test 908s # Running test: glib/mimeapps.test 908s TAP version 14 908s # random seed: R02Sa1ca3673b6320399290157f6822da7fc 908s 1..7 908s # Start of appinfo tests 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/runtime 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/system-data1/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/data/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/data/applications/myapp.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/data/applications/myapp2.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/data/applications/myapp3.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/data/applications/myapp4.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/data/applications/myapp5.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 908s # removing '/tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/data/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/data/applications/mimeinfo.cache' 908s ok 1 /appinfo/all 908s # Start of mime tests 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/runtime 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/system-data1/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/data/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 908s # removing '/tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/config 908s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A8BR52/appinfo/all/.dirs/config to /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/config 908s ok 2 /appinfo/mime/api 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/runtime 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/system-data1/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/data/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 908s # removing '/tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/config 908s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A8BR52/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/config 908s ok 3 /appinfo/mime/default 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/runtime 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/system-data1/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/data/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 908s # removing '/tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/config 908s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A8BR52/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/config 908s ok 4 /appinfo/mime/file 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/runtime 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/data/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 908s # removing '/tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 908s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A8BR52/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/config 908s ok 5 /appinfo/mime/scheme-handler 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/runtime 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/system-data1/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/data/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 908s # removing '/tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/config 908s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A8BR52/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/config 908s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/config 908s ok 6 /appinfo/mime/default-last-used 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/runtime 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 908s # removing '/tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 908s # creating '/tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 908s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_A8BR52/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_A8BR52/appinfo/mime/ignore-nonexisting/.dirs/config 908s ok 7 /appinfo/mime/ignore-nonexisting 908s # End of mime tests 908s # End of appinfo tests 908s ok - glib/mimeapps.test 908s # Running test: glib/gdbus-addresses.test 908s TAP version 14 908s # random seed: R02S929c525fb6588ea149a91ccdb0959214 908s 1..9 908s # Start of gdbus tests 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/empty-address/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/empty-address/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/empty-address/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/empty-address/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/empty-address/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/empty-address/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/empty-address/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_4OVZ52/gdbus/empty-address/.dirs/runtime 908s ok 1 /gdbus/empty-address 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unsupported-address/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unsupported-address/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/unsupported-address/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unsupported-address/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/unsupported-address/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unsupported-address/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unsupported-address/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unsupported-address/.dirs/runtime 908s ok 2 /gdbus/unsupported-address 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/address-parsing/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/address-parsing/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/address-parsing/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/address-parsing/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/address-parsing/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/address-parsing/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/address-parsing/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_4OVZ52/gdbus/address-parsing/.dirs/runtime 908s ok 3 /gdbus/address-parsing 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unix-address/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unix-address/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/unix-address/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unix-address/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/unix-address/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unix-address/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unix-address/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_4OVZ52/gdbus/unix-address/.dirs/runtime 908s ok 4 /gdbus/unix-address 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/nonce-tcp-address/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/nonce-tcp-address/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/nonce-tcp-address/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/nonce-tcp-address/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/nonce-tcp-address/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/nonce-tcp-address/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/nonce-tcp-address/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_4OVZ52/gdbus/nonce-tcp-address/.dirs/runtime 908s ok 5 /gdbus/nonce-tcp-address 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/tcp-address/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/tcp-address/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/tcp-address/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/tcp-address/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/tcp-address/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/tcp-address/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/tcp-address/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_4OVZ52/gdbus/tcp-address/.dirs/runtime 908s ok 6 /gdbus/tcp-address 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/autolaunch-address/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/autolaunch-address/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/autolaunch-address/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/autolaunch-address/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/autolaunch-address/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/autolaunch-address/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/autolaunch-address/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_4OVZ52/gdbus/autolaunch-address/.dirs/runtime 908s ok 7 /gdbus/autolaunch-address 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/mixed-address/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/mixed-address/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/mixed-address/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/mixed-address/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/mixed-address/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/mixed-address/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/mixed-address/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_4OVZ52/gdbus/mixed-address/.dirs/runtime 908s ok 8 /gdbus/mixed-address 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/escape-address/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/escape-address/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/escape-address/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/escape-address/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_4OVZ52/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_4OVZ52/gdbus/escape-address/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/escape-address/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_4OVZ52/gdbus/escape-address/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_4OVZ52/gdbus/escape-address/.dirs/runtime 908s ok 9 /gdbus/escape-address 908s # End of gdbus tests 908s ok - glib/gdbus-addresses.test 908s # Running test: glib/gdbus-connection-slow.test 908s TAP version 14 908s # random seed: R02S092d72bd230b8514cbb4046b95f5c3f0 908s 1..2 908s # Start of gdbus tests 908s # Start of connection tests 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/flush/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/flush/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/flush/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/flush/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/flush/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/flush/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/flush/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/flush/.dirs/runtime 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s ok 1 /gdbus/connection/flush 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/large_message/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/large_message/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/large_message/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/large_message/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/large_message/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/large_message/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/large_message/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_P3TZ52/gdbus/connection/large_message/.dirs/runtime 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s ok 2 /gdbus/connection/large_message 909s # End of connection tests 909s # End of gdbus tests 909s ok - glib/gdbus-connection-slow.test 909s # Running test: glib/cxx-03.test 909s TAP version 14 909s # random seed: R02Se89dd6ae1ed06d2bac555ac77e97d2d1 909s 1..2 909s # Start of gtask tests 909s # 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. 909s ok 1 /gtask/name 909s # Start of name tests 909s # 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. 909s ok 2 /gtask/name/macro-wrapper 909s # End of name tests 909s # End of gtask tests 909s ok - glib/cxx-03.test 909s # Running test: glib/dir.test 909s TAP version 14 909s # random seed: R02S671f8f2dab8d849b73674133251c8993 909s 1..3 909s # Start of dir tests 909s ok 1 /dir/read 909s ok - glib/dir.test 909s ok 2 /dir/nonexisting 909s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 909s ok 3 /dir/refcounting 909s # End of dir tests 909s # Running test: glib/utf8-performance.test 909s TAP version 14 909s # random seed: R02S4800829dfe743f3c82651604cbf0d9b5 909s 1..36 909s # Start of utf8 tests 909s # Start of perf tests 909s # Start of get_char tests 909s # max perf: 43.0 MB/s 909s ok 1 /utf8/perf/get_char/ascii 909s # max perf: 67.0 MB/s 909s ok 2 /utf8/perf/get_char/latin1 909s # max perf: inf MB/s 909s ok 3 /utf8/perf/get_char/cyrillic 909s # max perf: 156.0 MB/s 909s ok 4 /utf8/perf/get_char/han 909s # End of get_char tests 909s # Start of get_char-backwards tests 909s # max perf: inf MB/s 909s ok 5 /utf8/perf/get_char-backwards/ascii 909s # max perf: 67.0 MB/s 909s ok 6 /utf8/perf/get_char-backwards/latin1 909s # max perf: 160.0 MB/s 909s ok 7 /utf8/perf/get_char-backwards/cyrillic 909s # max perf: 156.0 MB/s 909s ok 8 /utf8/perf/get_char-backwards/han 909s # End of get_char-backwards tests 909s # Start of get_char_validated tests 909s # max perf: inf MB/s 909s ok 9 /utf8/perf/get_char_validated/ascii 909s # max perf: inf MB/s 909s ok 10 /utf8/perf/get_char_validated/latin1 909s # max perf: 160.0 MB/s 909s ok 11 /utf8/perf/get_char_validated/cyrillic 909s # max perf: inf MB/s 909s ok 12 /utf8/perf/get_char_validated/han 909s # End of get_char_validated tests 909s # Start of utf8_to_ucs4 tests 909s # max perf: 43.0 MB/s 909s ok 13 /utf8/perf/utf8_to_ucs4/ascii 909s # max perf: 67.0 MB/s 909s ok 14 /utf8/perf/utf8_to_ucs4/latin1 909s # max perf: 160.0 MB/s 909s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 909s # max perf: inf MB/s 909s ok 16 /utf8/perf/utf8_to_ucs4/han 909s # End of utf8_to_ucs4 tests 909s # Start of utf8_to_ucs4-sized tests 909s # max perf: 43.0 MB/s 909s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 909s # max perf: 67.0 MB/s 909s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 909s # max perf: 80.0 MB/s 909s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 909s # max perf: 156.0 MB/s 909s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 909s # End of utf8_to_ucs4-sized tests 909s # Start of utf8_to_ucs4_fast tests 909s # max perf: 43.0 MB/s 909s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 909s # max perf: 67.0 MB/s 909s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 909s # max perf: 160.0 MB/s 909s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 909s # max perf: inf MB/s 909s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 909s # End of utf8_to_ucs4_fast tests 909s # Start of utf8_to_ucs4_fast-sized tests 909s # max perf: inf MB/s 909s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 909s # max perf: inf MB/s 909s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 909s # max perf: 160.0 MB/s 909s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 909s # max perf: 156.0 MB/s 909s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 909s # End of utf8_to_ucs4_fast-sized tests 909s # Start of utf8_validate tests 909s # max perf: inf MB/s 909s ok 29 /utf8/perf/utf8_validate/ascii 909s # max perf: 67.0 MB/s 909s ok 30 /utf8/perf/utf8_validate/latin1 909s # max perf: inf MB/s 909s ok 31 /utf8/perf/utf8_validate/cyrillic 909s # max perf: 156.0 MB/s 909s ok 32 /utf8/perf/utf8_validate/han 909s # End of utf8_validate tests 909s # Start of utf8_validate-sized tests 909s # max perf: inf MB/s 909s ok 33 /utf8/perf/utf8_validate-sized/ascii 909s # max perf: inf MB/s 909s ok 34 /utf8/perf/utf8_validate-sized/latin1 909s # max perf: 160.0 MB/s 909s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 909s # max perf: inf MB/s 909s ok 36 /utf8/perf/utf8_validate-sized/han 909s # End of utf8_validate-sized tests 909s # End of perf tests 909s # End of utf8 tests 909s ok - glib/utf8-performance.test 909s # Running test: glib/gio-tool.py.test 909s TAP version 13 909s ok 1 __main__.TestGioTool.test_help 909s # gio: /usr/bin/gio 909s # tmpdir: /tmp/tmp56oeqvr8 909s # Running: ['/usr/bin/gio', '--help'] 909s # Return code: 0 909s # Output: 909s # Usage: 909s # gio COMMAND [ARGS…] 909s # 909s # Commands: 909s # help Print help 909s # version Print version 909s # cat Concatenate files to standard output 909s # copy Copy one or more files 909s # info Show information about locations 909s # launch Launch an application from a desktop file 909s # list List the contents of locations 909s # mime Get or set the handler for a mimetype 909s # mkdir Create directories 909s # monitor Monitor files and directories for changes 909s # mount Mount or unmount the locations 909s # move Move one or more files 909s # open Open files with the default application 909s # rename Rename a file 909s # remove Delete one or more files 909s # save Read from standard input and save 909s # set Set a file attribute 909s # trash Move files or directories to the trash 909s # tree Lists the contents of locations in a tree 909s # 909s # Use “gio help COMMAND†to get detailed help. 909s # Error: 909s # 909s # Running: ['/usr/bin/gio', 'help'] 909s # Return code: 0 909s # Output: 909s # Usage: 909s # gio COMMAND [ARGS…] 909s # 909s # Commands: 909s # help Print help 909s # version Print version 909s # cat Concatenate files to standard output 909s # copy Copy one or more files 909s # info Show information about locations 909s # launch Launch an application from a desktop file 909s # list List the contents of locations 909s # mime Get or set the handler for a mimetype 909s # mkdir Create directories 909s # monitor Monitor files and directories for changes 909s # mount Mount or unmount the locations 909s # move Move one or more files 909s # open Open files with the default application 909s # rename Rename a file 909s # remove Delete one or more files 909s # save Read from standard input and save 909s # set Set a file attribute 909s # trash Move files or directories to the trash 909s # tree Lists the contents of locations in a tree 909s # 909s # Use “gio help COMMAND†to get detailed help. 909s # Error: 909s ok 2 __main__.TestGioTool.test_info_non_default_attributes 909s # gio: /usr/bin/gio 909s # tmpdir: /tmp/tmpbkw5ix5m 909s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpbkw5ix5m/tmpmwdu1wh8'] 909s # Return code: 0 909s # Output: 909s # uri: file:///tmp/tmpbkw5ix5m/tmpmwdu1wh8 909s # local path: /tmp/tmpbkw5ix5m/tmpmwdu1wh8 909s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 909s # attributes: 909s # standard::content-type: application/x-zerosize 909s # Error: 909s ok 3 __main__.TestGioTool.test_no_args 909s # gio: /usr/bin/gio 909s # tmpdir: /tmp/tmp4e0m23i9 909s # Running: ['/usr/bin/gio'] 909s # Return code: 1 909s # Output: 909s # 909s # Error: 909s # Usage: 909s # gio COMMAND [ARGS…] 909s # 909s # Commands: 909s # help Print help 909s # version Print version 909s # cat Concatenate files to standard output 909s # copy Copy one or more files 909s # info Show information about locations 909s # launch Launch an application from a desktop file 909s # list List the contents of locations 909s # mime Get or set the handler for a mimetype 909s # mkdir Create directories 909s # monitor Monitor files and directories for changes 909s # mount Mount or unmount the locations 909s # move Move one or more files 909s # open Open files with the default application 909s # rename Rename a file 909s # remove Delete one or more files 909s # save Read from standard input and save 909s # set Set a file attribute 909s # trash Move files or directories to the trash 909s # tree Lists the contents of locations in a tree 909s # 909s # Use “gio help COMMAND†to get detailed help. 909s 1..3 909s ok - glib/gio-tool.py.test 909s # Running test: glib/1bit-mutex.test 909s TAP version 14 909s # random seed: R02Sf03d195fe224f427eb3070254a8a4765 909s 1..2 909s # Start of glib tests 909s # Start of 1bit-mutex tests 913s # Executing: glib/1bit-mutex.test 914s ok 1 /glib/1bit-mutex/int 914s # slow test /glib/1bit-mutex/int executed in 4.94 secs 918s # Executing: glib/1bit-mutex.test 919s ok 2 /glib/1bit-mutex/pointer 919s # slow test /glib/1bit-mutex/pointer executed in 5.04 secs 919s # End of 1bit-mutex tests 919s # End of glib tests 919s ok - glib/1bit-mutex.test 919s # Running test: glib/simple-proxy.test 919s TAP version 14 919s # random seed: R02Sb501104b3b4bccc2a3ad8ae9674d7d29 919s 1..3 919s # Start of static-proxy tests 919s ok 1 /static-proxy/uri 919s ok 2 /static-proxy/socks 919s ok 3 /static-proxy/ignore 919s # End of static-proxy tests 919s ok - glib/simple-proxy.test 919s # Running test: glib/gi-inspect-typelib.py.test 919s TAP version 13 919s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 919s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 919s # tmpdir: /tmp/tmpsyd1w309 919s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 919s # Return code: 0 919s # Output: 919s # Usage: 919s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 919s # 919s # Help Options: 919s # -h, --help Show help options 919s # 919s # Application Options: 919s # --typelib-version=VERSION Typelib version to inspect 919s # --print-shlibs List the shared libraries the typelib requires 919s # --print-typelibs List other typelibs the inspected typelib requires 919s # Error: 919s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 919s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 919s # tmpdir: /tmp/tmpxdyk5_2s 919s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 919s # Return code: 1 919s # Output: 919s # 919s # Error: 919s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 919s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 919s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 919s # tmpdir: /tmp/tmp0ty4yxio 919s # Running: ['/usr/bin/gi-inspect-typelib'] 919s # Return code: 1 919s # Output: 919s # 919s # Error: 919s # Please specify exactly one namespace 919s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 919s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 919s # tmpdir: /tmp/tmpr2cv2ayi 919s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 919s # Return code: 0 919s # Output: 919s # shlib: libgobject-2.0.so.0 919s # shlib: libglib-2.0.so.0 919s # Error: 919s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 919s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 919s # tmpdir: /tmp/tmp_coshjtk 919s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 919s # Return code: 0 919s # Output: 919s # 919s # Error: 919s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 919s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 919s # tmpdir: /tmp/tmpvh7sw171 919s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 919s # Return code: 0 919s # Output: 919s # shlib: libgobject-2.0.so.0 919s # shlib: libglib-2.0.so.0 919s # Error: 919s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 919s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 919s # tmpdir: /tmp/tmprswc36pi 919s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 919s # Return code: 0 919s # Output: 919s # shlib: libgobject-2.0.so.0 919s # Error: 919s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 919s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 919s # tmpdir: /tmp/tmpjp43yyhe 919s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 919s # Return code: 0 919s # Output: 919s # typelib: GLib-2.0 919s # Error: 919s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 919s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 919s # tmpdir: /tmp/tmp4mvsqrzl 919s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 919s # Return code: 0 919s # Output: 919s # shlib: libgobject-2.0.so.0 919s # typelib: GLib-2.0 919s # Error: 919s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 919s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 919s # tmpdir: /tmp/tmpsj9h5xu3 919s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 919s # Return code: 0 919s # Output: 919s # shlib: libgio-2.0.so.0 919s # Error: 919s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 919s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 919s # tmpdir: /tmp/tmp08g33b0l 919s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 919s # Return code: 0 919s # Output: 919s # typelib: GObject-2.0 919s # typelib: GLib-2.0 919s # typelib: GModule-2.0 919s # Error: 919s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 919s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 919s # tmpdir: /tmp/tmpf0dr80_x 919s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 919s # Return code: 0 919s # Output: 919s # shlib: libgio-2.0.so.0 919s # typelib: GObject-2.0 919s # typelib: GLib-2.0 919s # typelib: GModule-2.0 919s # Error: 919s 1..12 919s ok - glib/gi-inspect-typelib.py.test 919s # Running test: glib/unix-streams.test 919s TAP version 14 919s # random seed: R02Sdaffd2e486d584e3c3ceb636141986a4 919s 1..9 919s # Start of unix-streams tests 919s ok 1 /unix-streams/basic 919s ok 2 /unix-streams/pipe-io-test 919s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 920s ok - glib/unix-streams.test 920s ok 3 /unix-streams/nonblocking-io-test 920s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 920s ok 4 /unix-streams/read_write 920s ok 5 /unix-streams/read_writev 920s ok 6 /unix-streams/write-wouldblock 920s ok 7 /unix-streams/writev-wouldblock 920s ok 8 /unix-streams/write-async-wouldblock 920s ok 9 /unix-streams/writev-async-wouldblock 920s # End of unix-streams tests 920s # Running test: glib/gdbus-connection-flush.test 920s ok - glib/gdbus-connection-flush.test 920s # Running test: glib/overflow-fallback.test 920s ok - glib/overflow-fallback.test 920s # Running test: glib/qdata.test 920s TAP version 14 920s # random seed: R02S4e7104679db5ed2aba180092d3fb69bb 920s 1..2 920s # Start of gdbus tests 920s # Start of connection tests 920s # Start of flush tests 920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/busy/.dirs/home 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/busy/.dirs/cache 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/busy/.dirs/system-config2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/busy/.dirs/config 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/busy/.dirs/system-data2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/busy/.dirs/data 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/busy/.dirs/state 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/busy/.dirs/runtime 920s ok 1 /gdbus/connection/flush/busy 920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/idle/.dirs/home 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/idle/.dirs/cache 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/idle/.dirs/system-config2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/idle/.dirs/config 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/idle/.dirs/system-data2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/idle/.dirs/data 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/idle/.dirs/state 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_9TL752/gdbus/connection/flush/idle/.dirs/runtime 920s ok 2 /gdbus/connection/flush/idle 920s # End of flush tests 920s # End of connection tests 920s # End of gdbus tests 920s TAP version 14 920s # random seed: R02S2eb9b8475166b609fae97cd949eac1da 920s 1..6 920s # Start of glib tests 920s # Start of checked-math tests 920s ok 1 /glib/checked-math/guint-add 920s ok 2 /glib/checked-math/guint-mul 920s ok 3 /glib/checked-math/guint64-add 920s ok 4 /glib/checked-math/guint64-mul 920s ok 5 /glib/checked-math/gsize-add 920s ok 6 /glib/checked-math/gsize-mul 920s # End of checked-math tests 920s # End of glib tests 920s TAP version 14 920s # random seed: R02S1e094f4a7c91dbb7a4a780f5170fcb2b 920s 1..2 920s # Start of qdata tests 920s ok 1 /qdata/threaded 920s ok 2 /qdata/dup 920s # End of qdata tests 920s ok - glib/qdata.test 920s # Running test: glib/power-profile-monitor-dbus.test 920s TAP version 13 920s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 920s 1..1 920s ok - glib/power-profile-monitor-dbus.test 920s # Running test: glib/deprecated-properties.test 920s TAP version 14 920s # random seed: R02S4ee5c4885ae018c74b9628c2f3adbb12 920s 1..3 920s # Start of deprecated-properties tests 920s ok 1 /deprecated-properties/construct 920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 920s ok 2 /deprecated-properties/default-construct 920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 921s ok 3 /deprecated-properties/set 921s # End of deprecated-properties tests 921s ok - glib/deprecated-properties.test 921s # Running test: glib/spawn-singlethread.test 921s ok - glib/spawn-singlethread.test 921s # Running test: glib/hostutils.test 921s ok - glib/hostutils.test 921s # Running test: glib/markup-escape.test 921s TAP version 14 921s # random seed: R02S171ded8bf418e092e4867426e8c3e014 921s 1..9 921s # Start of gthread tests 921s ok 1 /gthread/spawn-single-sync 921s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 921s ok 2 /gthread/spawn-stderr-socket 921s ok 3 /gthread/spawn-single-async 921s # thread 1 921s # thread 1 921s ok 4 /gthread/spawn-single-async-with-fds 921s ok 5 /gthread/spawn-async-with-invalid-fds 921s ok 6 /gthread/spawn-script 921s ok 7 /gthread/spawn-posix-spawn 921s # Start of spawn tests 921s ok 8 /gthread/spawn/nonexistent 921s # FD map: 921s # • 5 → 15 921s # • 6 → 16 921s # • 7 → 17 921s # • 8 → 18 921s # • 9 → 19 921s # • 10 → 20 921s # • 11 → 21 921s # • 12 → 22 921s # • 13 → 23 921s # • 3 → 13 921s ok 9 /gthread/spawn/fd-assignment-clash 921s # End of spawn tests 921s # End of gthread tests 921s TAP version 14 921s # random seed: R02Sbb6e2c0aef9a49310e22982a03839962 921s 1..3 921s # Start of hostutils tests 921s ok 1 /hostutils/to_ascii 921s ok 2 /hostutils/to_unicode 921s ok 3 /hostutils/is_ip_addr 921s # End of hostutils tests 921s TAP version 14 921s # random seed: R02Sf5c0e3088368a7b84c557077744f1296 921s 1..41 921s # Start of markup tests 921s ok 1 /markup/format 921s # Start of escape-text tests 921s ok 2 /markup/escape-text/0 921s ok 3 /markup/escape-text/1 921s ok 4 /markup/escape-text/2 921s ok 5 /markup/escape-text/3 921s ok 6 /markup/escape-text/4 921s ok 7 /markup/escape-text/5 921s ok 8 /markup/escape-text/6 921s ok 9 /markup/escape-text/7 921s ok 10 /markup/escape-text/8 921s ok - glib/markup-escape.test 921s # Running test: glib/memory-input-stream.test 921s ok - glib/memory-input-stream.test 921s # Running test: glib/custom-dispatch.test 921s ok 11 /markup/escape-text/9 921s ok 12 /markup/escape-text/10 921s ok 13 /markup/escape-text/11 921s ok 14 /markup/escape-text/12 921s ok 15 /markup/escape-text/13 921s ok 16 /markup/escape-text/14 921s ok 17 /markup/escape-text/15 921s ok 18 /markup/escape-text/16 921s ok 19 /markup/escape-text/17 921s ok 20 /markup/escape-text/18 921s ok 21 /markup/escape-text/19 921s ok 22 /markup/escape-text/20 921s ok 23 /markup/escape-text/21 921s ok 24 /markup/escape-text/22 921s # End of escape-text tests 921s # Start of escape-unichar tests 921s ok 25 /markup/escape-unichar/0 921s ok 26 /markup/escape-unichar/1 921s ok 27 /markup/escape-unichar/2 921s ok 28 /markup/escape-unichar/3 921s ok 29 /markup/escape-unichar/4 921s ok 30 /markup/escape-unichar/5 921s ok 31 /markup/escape-unichar/6 921s ok 32 /markup/escape-unichar/7 921s ok 33 /markup/escape-unichar/8 921s ok 34 /markup/escape-unichar/9 921s ok 35 /markup/escape-unichar/10 921s ok 36 /markup/escape-unichar/11 921s ok 37 /markup/escape-unichar/12 921s ok 38 /markup/escape-unichar/13 921s ok 39 /markup/escape-unichar/14 921s ok 40 /markup/escape-unichar/15 921s ok 41 /markup/escape-unichar/16 921s # End of escape-unichar tests 921s # End of markup tests 921s TAP version 14 921s # random seed: R02S4078a27ce105009185497a8ba41dca60 921s 1..6 921s # Start of memory-input-stream tests 921s ok 1 /memory-input-stream/read-chunks 921s ok 2 /memory-input-stream/async 921s ok 3 /memory-input-stream/seek 921s ok 4 /memory-input-stream/truncate 921s ok 5 /memory-input-stream/read-bytes 921s ok 6 /memory-input-stream/from-bytes 921s # End of memory-input-stream tests 921s TAP version 14 921s # random seed: R02S47b8c33fba86a655652c8877435e4e34 921s 1..2 921s # Start of properties tests 921s # Start of custom-dispatch tests 921s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 921s ok 1 /properties/custom-dispatch/init 921s ok - glib/custom-dispatch.test 921s # Running test: glib/network-monitor-race.test 921s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 921s ok 2 /properties/custom-dispatch/set 921s # End of custom-dispatch tests 921s # End of properties tests 921s TAP version 14 921s # random seed: R02S72771576c7fad2ddd8b280ae3c49e607 921s 1..1 921s # Start of network-monitor tests 921s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 923s ok 1 /network-monitor/create-in-thread 923s # slow test /network-monitor/create-in-thread executed in 2.19 secs 923s # End of network-monitor tests 923s ok - glib/network-monitor-race.test 923s # Running test: glib/guuid.test 923s TAP version 14 923s # random seed: R02Sdbbb13911b8b88468819f66dabd078fe 923s 1..2 923s # Start of uuid tests 923s ok 1 /uuid/string 923s ok 2 /uuid/random 923s # End of uuid tests 923s ok - glib/guuid.test 923s # Running test: glib/power-profile-monitor-portal.test 923s # Executing: glib/power-profile-monitor-portal.test 923s TAP version 13 923s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 923s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 923s 1..2 923s ok - glib/power-profile-monitor-portal.test 923s # Running test: glib/gdbus-peer.test 923s TAP version 14 923s # random seed: R02S6d19fcf43804ab9d07c1be954dbf2974 923s 1..12 923s # Start of gdbus tests 923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/.dirs/home 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/.dirs/cache 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/.dirs/system-config2 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/.dirs/config 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/.dirs/system-data2 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/.dirs/data 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/.dirs/state 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/.dirs/runtime 923s # Testing with unix:dir address 923s # Testing with unix:tmpdir address 923s # Testing with unix:path address 923s ok 1 /gdbus/peer-to-peer 923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_351R52/gdbus/delayed-message-processing/.dirs/home 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/delayed-message-processing/.dirs/cache 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_351R52/gdbus/delayed-message-processing/.dirs/system-config2 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_351R52/gdbus/delayed-message-processing/.dirs/config 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_351R52/gdbus/delayed-message-processing/.dirs/system-data2 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_351R52/gdbus/delayed-message-processing/.dirs/data 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/delayed-message-processing/.dirs/state 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_351R52/gdbus/delayed-message-processing/.dirs/runtime 923s # Testing with unix:dir address 924s ok 2 /gdbus/delayed-message-processing 924s # slow test /gdbus/delayed-message-processing executed in 0.52 secs 924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_351R52/gdbus/nonce-tcp/.dirs/home 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/nonce-tcp/.dirs/cache 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_351R52/gdbus/nonce-tcp/.dirs/system-config2 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_351R52/gdbus/nonce-tcp/.dirs/config 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_351R52/gdbus/nonce-tcp/.dirs/system-data2 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_351R52/gdbus/nonce-tcp/.dirs/data 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/nonce-tcp/.dirs/state 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_351R52/gdbus/nonce-tcp/.dirs/runtime 924s ok 3 /gdbus/nonce-tcp 924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_351R52/gdbus/tcp-anonymous/.dirs/home 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/tcp-anonymous/.dirs/cache 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_351R52/gdbus/tcp-anonymous/.dirs/system-config2 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_351R52/gdbus/tcp-anonymous/.dirs/config 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_351R52/gdbus/tcp-anonymous/.dirs/system-data2 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_351R52/gdbus/tcp-anonymous/.dirs/data 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/tcp-anonymous/.dirs/state 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_351R52/gdbus/tcp-anonymous/.dirs/runtime 924s ok 4 /gdbus/tcp-anonymous 924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_351R52/gdbus/credentials/.dirs/home 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/credentials/.dirs/cache 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_351R52/gdbus/credentials/.dirs/system-config2 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_351R52/gdbus/credentials/.dirs/config 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_351R52/gdbus/credentials/.dirs/system-data2 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_351R52/gdbus/credentials/.dirs/data 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/credentials/.dirs/state 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_351R52/gdbus/credentials/.dirs/runtime 924s ok 5 /gdbus/credentials 924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_351R52/gdbus/codegen-peer-to-peer/.dirs/home 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/codegen-peer-to-peer/.dirs/cache 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_351R52/gdbus/codegen-peer-to-peer/.dirs/system-config2 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_351R52/gdbus/codegen-peer-to-peer/.dirs/config 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_351R52/gdbus/codegen-peer-to-peer/.dirs/system-data2 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_351R52/gdbus/codegen-peer-to-peer/.dirs/data 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/codegen-peer-to-peer/.dirs/state 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_351R52/gdbus/codegen-peer-to-peer/.dirs/runtime 924s # Testing with unix:dir address 924s # Machine ID: f6da86c37b7c4ce590045ffdd5509582 925s ok 6 /gdbus/codegen-peer-to-peer 925s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 925s # Start of peer-to-peer tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/signals/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/signals/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/signals/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/signals/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/signals/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/signals/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/signals/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/signals/.dirs/runtime 925s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 925s # Testing with unix:dir address 925s ok 7 /gdbus/peer-to-peer/signals 925s # Start of invalid tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/server/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/server/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/server/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/server/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/server/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/server/.dirs/runtime 925s ok 8 /gdbus/peer-to-peer/invalid/server 925s # Start of conn tests 925s # Start of stream tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 925s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 925s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 925s # End of stream tests 925s # Start of addr tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 925s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 925s ok - glib/gdbus-peer.test 925s # Running test: glib/cxx-11.test 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_351R52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 925s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 925s # End of addr tests 925s # End of conn tests 925s # End of invalid tests 925s # End of peer-to-peer tests 925s # End of gdbus tests 925s TAP version 14 925s # random seed: R02Sb7f732d58df4c39eb39aae74117f44c7 925s 1..2 925s # Start of gtask tests 925s # 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. 925s ok 1 /gtask/name 925s # Start of name tests 925s # 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. 925s ok 2 /gtask/name/macro-wrapper 925s # End of name tests 925s # End of gtask tests 925s TAP version 14 925s # random seed: R02S2821b9c97e1bd4e0cc8f20ae5490bce9 925s 1..10 925s # Start of buffered-input-stream tests 925s ok 1 /buffered-input-stream/peek 925s ok 2 /buffered-input-stream/peek-buffer 925s ok 3 /buffered-input-stream/set-buffer-size 925s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 925s ok 4 /buffered-input-stream/read-byte 925s ok 5 /buffered-input-stream/read 925s ok 6 /buffered-input-stream/read-async 925s ok 7 /buffered-input-stream/skip 925s ok 8 /buffered-input-stream/skip-async 925s ok 9 /buffered-input-stream/seek 925s # End of buffered-input-stream tests 925s # Start of filter-input-stream tests 925s ok 10 /filter-input-stream/close 925s # End of filter-input-stream tests 925s TAP version 14 925s # random seed: R02Sc236bf65618522a155726006c11be330 925s 1..1 925s # Start of completion tests 925s ok 1 /completion/test-completion 925s # End of completion tests 925s TAP version 14 925s # random seed: R02S21431c58dd8d90d645ae4907fcfa4d72 925s 1..6 925s # Start of node tests 925s ok 1 /node/allocation 925s ok 2 /node/construction 925s ok 3 /node/traversal 925s ok 4 /node/misc 925s ok 5 /node/unlink 925s ok 6 /node/copy 925s # End of node tests 925s TAP version 14 925s ok - glib/cxx-11.test 925s # Running test: glib/buffered-input-stream.test 925s ok - glib/buffered-input-stream.test 925s # Running test: glib/completion.test 925s ok - glib/completion.test 925s # Running test: glib/node.test 925s ok - glib/node.test 925s # Running test: glib/properties-refcount3.test 925s # random seed: R02Se695ab4a74d228250cf5d15ae47e0388 925s 1..1 925s # Start of gobject tests 925s # Start of refcount tests 928s # Executing: glib/properties-refcount3.test 933s # Executing: glib/properties-refcount3.test 938s # Executing: glib/properties-refcount3.test 943s # Executing: glib/properties-refcount3.test 948s # Executing: glib/properties-refcount3.test 953s # Executing: glib/properties-refcount3.test 955s # 955s # stopping 955s # 955s # stopped 955s # 955s # 13760034 1196083 955s # 955s ok 1 /gobject/refcount/properties-3 955s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 955s # End of refcount tests 955s # End of gobject tests 955s ok - glib/properties-refcount3.test 955s # Running test: glib/dynamictests.test 955s TAP version 14 955s # random seed: R02S3132b6dd8d013d8a88a744271261142f 955s ok - glib/dynamictests.test 955s # Running test: glib/atomic-c-17.test 955s 1..2 955s # Start of GObject tests 955s ok 1 /GObject/threaded-dynamic-ref-unref-init 955s ok 2 /GObject/dynamic-interface-properties 955s # End of GObject tests 955s TAP version 14 955s # random seed: R02S78333e55f55e2c2467a2d044571acf53 955s 1..2 955s # Start of atomic tests 955s ok 1 /atomic/types 955s ok 2 /atomic/threaded 955s # End of atomic tests 955s ok - glib/atomic-c-17.test 955s # Running test: glib/notify-init.test 955s TAP version 14 955s # random seed: R02S53f13e0f13bac4d7b212806468273d5d 955s 1..1 955s # Start of properties tests 955s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 955s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 955s ok 1 /properties/notify-in-init 955s # End of properties tests 955s ok - glib/notify-init.test 955s # Running test: glib/rand.test 955s TAP version 14 955s # random seed: R02Sdcb7497b731678e25457e0c021f112f0 955s 1..2 955s # Start of rand tests 955s ok - glib/rand.test 955s ok 1 /rand/test-rand 955s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 955s ok 2 /rand/double-range 955s # End of rand tests 955s # Running test: glib/dbus-appinfo.test 955s TAP version 14 955s # random seed: R02Sbb50288b87c862c93d6393ac9d3ff185 955s 1..7 955s # Start of appinfo tests 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/dbusappinfo/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/dbusappinfo/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_NSBS52/appinfo/dbusappinfo/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/dbusappinfo/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_NSBS52/appinfo/dbusappinfo/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/dbusappinfo/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/dbusappinfo/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_NSBS52/appinfo/dbusappinfo/.dirs/runtime 955s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 955s ok 1 /appinfo/dbusappinfo 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-doc-export/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-doc-export/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-doc-export/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-doc-export/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-doc-export/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-doc-export/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-doc-export/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-doc-export/.dirs/runtime 955s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 955s # Acquired a message bus connection 955s # Acquired the name org.freedesktop.portal.Documents 955s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_NSBS52/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-doc-export/.dirs/config 955s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 955s # fake-document-portal cancelled 955s ok 2 /appinfo/flatpak-doc-export 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-missing-doc-export/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-missing-doc-export/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-missing-doc-export/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-missing-doc-export/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-missing-doc-export/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-missing-doc-export/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-missing-doc-export/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-missing-doc-export/.dirs/runtime 955s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 955s # Acquired a message bus connection 955s # Acquired the name org.freedesktop.portal.Documents 955s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-missing-doc-export/.dirs/config 955s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 955s # fake-document-portal cancelled 955s ok 3 /appinfo/flatpak-missing-doc-export 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file/.dirs/runtime 955s # Acquired a message bus connection 955s # Acquired the name org.freedesktop.portal.Desktop 955s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_NSBS52/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file/.dirs/config 955s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 955s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 955s # Response emitted 955s ok 4 /appinfo/portal-open-file 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri/.dirs/runtime 955s # Acquired a message bus connection 955s # Acquired the name org.freedesktop.portal.Desktop 955s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri/.dirs/config 955s # Got open file request for http://example.com 955s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 955s # Response emitted 955s # fake-desktop-portal cancelled 955s ok 5 /appinfo/portal-open-uri 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file-async/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file-async/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file-async/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file-async/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file-async/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file-async/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file-async/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file-async/.dirs/runtime 955s # Acquired a message bus connection 955s # Acquired the name org.freedesktop.portal.Desktop 955s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file-async/.dirs/config 955s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 955s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio1806945205 955s # Response emitted 955s # fake-desktop-portal cancelled 955s ok 6 /appinfo/portal-open-file-async 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri-async/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri-async/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri-async/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri-async/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri-async/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri-async/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri-async/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri-async/.dirs/runtime 955s # Acquired a message bus connection 955s # Acquired the name org.freedesktop.portal.Desktop 955s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_NSBS52/appinfo/portal-open-uri-async/.dirs/config 955s # Got open file request for http://example.com 955s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio1604398722 955s # Response emitted 955s # fake-desktop-portal cancelled 955s ok 7 /appinfo/portal-open-uri-async 955s # End of appinfo tests 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s ok - glib/dbus-appinfo.test 955s # Running test: glib/gdbus-threading.test 955s TAP version 14 955s # random seed: R02S7533727ce3c680622953af3beb87f5ed 955s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 955s ok - glib/gdbus-threading.test 955s # Running test: glib/search-utils.test 955s TAP version 14 955s # random seed: R02S99d475cc327bacdeb7811720801c33e6 955s # GLib-DEBUG: Current user locale: C.UTF-8 955s 1..6 955s # Start of search tests 955s # GLib-DEBUG: Started 955s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 955s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 955s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 955s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 955s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 955s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 955s ok 1 /search/basic 955s # GLib-DEBUG: Started 955s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 955s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 955s # GLib-DEBUG: 'ele' - 'élève' should match: OK 955s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 955s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 955s ok 2 /search/composed 955s # GLib-DEBUG: Started 955s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 955s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 955s ok 3 /search/decomposed 955s # GLib-DEBUG: Started 955s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 955s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 955s ok 4 /search/turkish 955s # GLib-DEBUG: Started 955s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 955s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 955s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 955s ok 5 /search/c_locale_unicode 955s ok - glib/search-utils.test 955s # Running test: glib/resources.test 955s # GLib-DEBUG: Started 955s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 955s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 955s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 955s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 955s ok 6 /search/multi_words 955s # End of search tests 955s TAP version 14 955s # random seed: R02S42016b4e5fb0eefa897144a06e3255e4 955s 1..19 955s # Start of resource tests 955s ok 1 /resource/file 955s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 955s ok 2 /resource/file-path 955s ok 3 /resource/data 955s ok 4 /resource/data_unaligned 955s ok 5 /resource/data-corrupt 955s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 955s ok 6 /resource/data-corrupt-compression 955s ok 7 /resource/data-empty 955s ok 8 /resource/registered 955s ok 9 /resource/manual 955s ok 10 /resource/manual2 955s ok 11 /resource/automatic 955s ok 12 /resource/module 955s ok 13 /resource/binary-linked 955s ok 14 /resource/64k 955s GLib-GIO-Message: 20:30:16.818: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 955s GLib-GIO-Message: 20:30:16.819: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 955s GLib-GIO-Message: 20:30:16.819: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 955s ok 15 /resource/overlay 955s ok 16 /resource/digits 955s ok 17 /resource/has-children 955s # Start of uri tests 955s ok 18 /resource/uri/query-info 955s ok 19 /resource/uri/file 955s # End of uri tests 955s # End of resource tests 955s ok - glib/resources.test 955s # Running test: glib/socket-service.test 955s TAP version 14 955s # random seed: R02S73874b6137a51c79faf6bdd98fc75bb7 955s 1..4 955s # Start of socket-service tests 955s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 955s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xd88c7269150 and GSocketClientAsyncConnectData 0xd88c7263bc0 955s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 955s ok 1 /socket-service/start-stop 955s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xd88c726d0f0 and GSocketClientAsyncConnectData 0xd88c726cd90 955s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 955s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 955s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xd88c726d070 for GSocketClientAsyncConnectData 0xd88c7263bc0 955s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 955s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 955s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 955s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 955s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 955s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xd88c726d070 for GSocketClientAsyncConnectData 0xd88c726cd90 955s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 955s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 955s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 955s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 955s ok 2 /socket-service/read_write_async 955s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xd88c726d0f0 and GSocketClientAsyncConnectData 0xd88c72710d0 955s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 955s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 955s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xd88c7270600 for GSocketClientAsyncConnectData 0xd88c72710d0 955s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 955s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 955s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 955s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 955s ok 3 /socket-service/read_writev_async 955s # Start of threaded tests 955s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 955s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xd88c726e740 and GSocketClientAsyncConnectData 0xd88c726cd90 955s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 955s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 955s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xd88c726c9c0 for GSocketClientAsyncConnectData 0xd88c726cd90 955s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 955s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 955s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 955s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 955s ok 4 /socket-service/threaded/712570 955s # End of threaded tests 955s # End of socket-service tests 955s ok - glib/socket-service.test 955s # Running test: glib/utils-c-99.test 955s TAP version 14 955s # random seed: R02S3f85629cb05a799030334c8e1d439c85 955s 1..41 955s # Start of utils tests 955s ok 1 /utils/language-names 955s ok 2 /utils/locale-variants 955s ok 3 /utils/version 955s ok 4 /utils/appname 955s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 955s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 955s ok 5 /utils/prgname-thread-safety 955s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 955s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 955s ok 6 /utils/tmpdir 955s ok 7 /utils/basic_bits 955s ok 8 /utils/bits 955s ok 9 /utils/swap 955s ok 10 /utils/find-program 955s ok 11 /utils/find-program-for-path 955s ok 12 /utils/debug 955s ok 13 /utils/codeset 955s ok 14 /utils/codeset2 955s ok 15 /utils/console-charset 955s ok 16 /utils/gettext 955s ok 17 /utils/username 955s ok 18 /utils/realname 955s ok 19 /utils/hostname 955s ok 20 /utils/xdgdirs 955s ok 21 /utils/specialdir 955s # NAME: Ubuntu 955s ok 22 /utils/os-info 955s ok 23 /utils/clear-pointer 955s ok 24 /utils/clear-pointer-cast 955s ok 25 /utils/take-pointer 955s ok 26 /utils/clear-source 955s ok 27 /utils/misc-mem 955s # /utils/aligned-mem summary: Aligned memory allocator 955s # Alignment must not be zero 955s # Alignment must be a power of two 955s # Alignment must be a multiple of sizeof(void*) 955s ok 28 /utils/aligned-mem 955s # /utils/free-sized summary: Check that g_free_sized() works 955s ok 29 /utils/free-sized 955s ok 30 /utils/nullify 955s ok 31 /utils/atexit 955s ok 32 /utils/check-setuid 955s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 955s ok 33 /utils/int-limits 955s ok 34 /utils/clear-list 955s ok 35 /utils/clear-slist 955s ok 36 /utils/steal-handle-id 955s # Start of specialdir tests 955s ok 37 /utils/specialdir/desktop 955s # End of specialdir tests 955s # Start of clear-pointer tests 955s ok - glib/utils-c-99.test 955s ok 38 /utils/clear-pointer/side-effects 955s # End of clear-pointer tests 955s # Start of aligned-mem tests 955s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 955s ok 39 /utils/aligned-mem/alignment 955s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 955s ok 40 /utils/aligned-mem/zeroed 955s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 955s ok 41 /utils/aligned-mem/free-sized 955s # Start of subprocess tests 955s # End of subprocess tests 955s # End of aligned-mem tests 955s # End of utils tests 955s # Running test: glib/readwrite.test 955s TAP version 14 955s # random seed: R02S0dd6283eb0ba9ee4da7c79c82b3396aa 955s 1..3 955s # Start of readwrite tests 955s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 955s ok 1 /readwrite/test_g_file_open_readwrite 955s ok 2 /readwrite/test_g_file_create_readwrite 955s ok - glib/readwrite.test 955s ok 3 /readwrite/test_g_file_replace_readwrite 955s # End of readwrite tests 955s # Running test: glib/gdbus-export.test 955s TAP version 14 955s # random seed: R02S09120d3876cf362235204d89bf515317 955s 1..7 955s # Start of gdbus tests 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_P9H052/gdbus/object-registration/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_P9H052/gdbus/object-registration/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_P9H052/gdbus/object-registration/.dirs/runtime 955s ok 1 /gdbus/object-registration 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures/.dirs/runtime 955s ok 2 /gdbus/object-registration-with-closures 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures2/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures2/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures2/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures2/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures2/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures2/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures2/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_P9H052/gdbus/object-registration-with-closures2/.dirs/runtime 956s ok 3 /gdbus/object-registration-with-closures2 956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_P9H052/gdbus/registered-interfaces/.dirs/home 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/registered-interfaces/.dirs/cache 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_P9H052/gdbus/registered-interfaces/.dirs/system-config2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_P9H052/gdbus/registered-interfaces/.dirs/config 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_P9H052/gdbus/registered-interfaces/.dirs/system-data2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_P9H052/gdbus/registered-interfaces/.dirs/data 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/registered-interfaces/.dirs/state 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_P9H052/gdbus/registered-interfaces/.dirs/runtime 956s ok 4 /gdbus/registered-interfaces 956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_P9H052/gdbus/async-properties/.dirs/home 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/async-properties/.dirs/cache 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_P9H052/gdbus/async-properties/.dirs/system-config2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_P9H052/gdbus/async-properties/.dirs/config 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_P9H052/gdbus/async-properties/.dirs/system-data2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_P9H052/gdbus/async-properties/.dirs/data 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/async-properties/.dirs/state 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_P9H052/gdbus/async-properties/.dirs/runtime 956s ok 5 /gdbus/async-properties 956s # Start of threaded-unregistration tests 956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/object/.dirs/home 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/object/.dirs/cache 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/object/.dirs/system-config2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/object/.dirs/config 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/object/.dirs/system-data2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/object/.dirs/data 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/object/.dirs/state 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/object/.dirs/runtime 956s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 956s # /gdbus/threaded-unregistration/object summary: Test that object/subtree unregistration from one thread doesn?t cause problems when racing with method callbacks in another thread for that object or subtree 957s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (9 iterations with unregistration first, 991 with call first); skipping test 957s # slow test /gdbus/threaded-unregistration/object executed in 1.32 secs 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/subtree/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/subtree/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/subtree/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/subtree/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/subtree/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/subtree/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/subtree/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_P9H052/gdbus/threaded-unregistration/subtree/.dirs/runtime 957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 957s # /gdbus/threaded-unregistration/subtree summary: Test that object/subtree unregistration from one thread doesn?t cause problems when racing with method callbacks in another thread for that object or subtree 958s # Executing: glib/gdbus-export.test 958s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (9 iterations with unregistration first, 991 with call first); skipping test 958s # slow test /gdbus/threaded-unregistration/subtree executed in 1.20 secs 958s # End of threaded-unregistration tests 958s # End of gdbus tests 958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 958s ok - glib/gdbus-export.test 958s # Running test: glib/environment.test 958s TAP version 14 958s ok - glib/environment.test 958s # Running test: glib/memory-monitor-dbus.test 958s # random seed: R02Sf56c1ccf92ad22827f31e878fd08a609 958s 1..6 958s # Start of environ tests 958s # /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. 958s ok 1 /environ/listenv 958s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 958s ok 2 /environ/getenv 958s ok 3 /environ/setenv 958s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 958s ok 4 /environ/array 958s # /environ/null summary: Test getting and setting variables on a NULL envp array. 958s ok 5 /environ/null 958s # /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. 958s ok 6 /environ/case 958s # End of environ tests 958s TAP version 13 958s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 958s 1..1 958s ok - glib/memory-monitor-dbus.test 958s # SUMMARY: total=323; passed=322; skipped=1; failed=0; user=268.5s; system=76.2s; maxrss=145408 959s autopkgtest [20:30:20]: test installed-tests: -----------------------] 960s installed-tests PASS 960s autopkgtest [20:30:21]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 961s autopkgtest [20:30:22]: test closure-refcount: preparing testbed 961s Reading package lists... 961s Building dependency tree... 961s Reading state information... 961s Starting pkgProblemResolver with broken count: 0 961s Starting 2 pkgProblemResolver with broken count: 0 961s Done 962s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 962s autopkgtest [20:30:23]: test closure-refcount: [----------------------- 963s Running test: glib/closure-refcount.test 963s TAP version 14 963s # random seed: R02S72519b8ab58ed7e23a850e83209a0c58 963s 1..1 963s # Start of closure tests 963s # Init 0x6b4f4585d10 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from thread2 963s # Yielding from thread1 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from thread1 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from thread2 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from main thread 963s # Yielding from thread1 964s # Yielding from main thread 964s # Yielding from main thread 964s # Yielding from thread2 964s # Yielding from main thread 964s # Yielding from main thread 964s # Yielding from main thread 964s # Yielding from main thread 964s # Yielding from main thread 964s # Yielding from thread1 964s # Yielding from main thread 964s # Yielding from main thread 964s # Yielding from main thread 964s # Yielding from thread2 964s # Yielding from main thread 964s # Yielding from main thread 964s # Yielding from main thread 964s # Yielding from main thread 964s # Yielding from main thread 964s # Yielding from thread1 964s # Yielding from main thread 964s # Yielding from main thread 964s # Yielding from thread2 964s # Yielding from main thread 964s # Yielding from main thread 964s # Yielding from main thread 965s # Yielding from main thread 965s # Yielding from main thread 965s # Yielding from thread1 965s # Yielding from main thread 965s # Yielding from main thread 965s # Yielding from thread2 965s # Yielding from main thread 965s # Yielding from main thread 965s # Yielding from main thread 965s # Yielding from main thread 965s # Yielding from main thread 965s # Yielding from thread1 965s # Yielding from main thread 965s # Yielding from thread2 965s # Yielding from main thread 965s # Yielding from main thread 965s # Yielding from main thread 965s # Yielding from main thread 965s # Yielding from main thread 965s # Yielding from thread1 965s # Yielding from main thread 965s # Yielding from main thread 965s # Yielding from main thread 965s # Yielding from thread2 965s # Yielding from main thread 965s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from thread1 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from thread2 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from thread1 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from thread2 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from thread1 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from main thread 966s # Yielding from main thread 967s # Yielding from main thread 967s # Yielding from thread2 967s # Yielding from main thread 967s # Yielding from main thread 967s # Yielding from thread1 967s # Yielding from main thread 967s # Yielding from main thread 967s # Yielding from main thread 967s # Yielding from thread2 967s # Yielding from main thread 967s # Yielding from main thread 967s # Yielding from main thread 967s # Yielding from thread1 967s # Yielding from main thread 967s # Yielding from main thread 967s # Yielding from main thread 967s # Yielding from thread2 967s # Yielding from main thread 967s Executing: glib/closure-refcount.test 967s # Yielding from main thread 967s # Yielding from main thread 967s # Yielding from main thread 967s # Yielding from thread1 967s # Yielding from main thread 967s # Yielding from main thread 968s # Yielding from main thread 968s # Yielding from thread2 968s # Stopping 968s # Stopped 968s ok 1 /closure/refcount 968s # slow test /closure/refcount executed in 5.06 secs 968s # End of closure tests 968s PASS: glib/closure-refcount.test 968s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=10.1s; system=0.0s; maxrss=4096 968s autopkgtest [20:30:29]: test closure-refcount: -----------------------] 968s closure-refcount PASS 968s autopkgtest [20:30:29]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 969s autopkgtest [20:30:30]: test debugcontroller: preparing testbed 969s Reading package lists... 969s Building dependency tree... 969s Reading state information... 969s Starting pkgProblemResolver with broken count: 0 969s Starting 2 pkgProblemResolver with broken count: 0 969s Done 969s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 970s autopkgtest [20:30:31]: test debugcontroller: [----------------------- 970s Running test: glib/debugcontroller.test 970s TAP version 14 970s # random seed: R02S3151cd0cb0278980de7419cad0c2209b 970s 1..3 970s # Start of debug-controller tests 970s # Start of dbus tests 970s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 970s # GLib-GIO-DEBUG: Debug output enabled 970s # GLib-GIO-DEBUG: Debug output disabled 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s ok 1 /debug-controller/dbus/basic 970s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s ok 2 /debug-controller/dbus/duplicate 970s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Debug output enabled 970s # GLib-GIO-DEBUG: Debug output disabled 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s ok 3 /debug-controller/dbus/properties 970s # End of dbus tests 970s # End of debug-controller tests 970s PASS: glib/debugcontroller.test 970s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 971s autopkgtest [20:30:32]: test debugcontroller: -----------------------] 971s autopkgtest [20:30:32]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 971s debugcontroller PASS 972s autopkgtest [20:30:33]: test gdbus-server-auth: preparing testbed 972s Reading package lists... 972s Building dependency tree... 972s Reading state information... 972s Starting pkgProblemResolver with broken count: 0 972s Starting 2 pkgProblemResolver with broken count: 0 972s Done 972s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 973s autopkgtest [20:30:34]: test gdbus-server-auth: [----------------------- 973s Running test: glib/gdbus-server-auth.test 973s TAP version 14 973s # random seed: R02S351c96a22705a3f9c05401d4252326ba 973s 1..9 973s # Start of gdbus tests 973s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/.dirs/home 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/.dirs/cache 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/.dirs/system-config2 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/.dirs/config 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/.dirs/system-data2 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/.dirs/data 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/.dirs/state 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/.dirs/runtime 973s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_R3OQ52/gdbus-server-auth-5GJQ52 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 973s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_R3OQ52/gdbus-server-auth-5GJQ52/dbus-ys7PoNYu 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16374 973s ok 1 /gdbus/server-auth 973s # Start of server-auth tests 973s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/abstract/.dirs/home 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/abstract/.dirs/cache 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/abstract/.dirs/system-config2 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/abstract/.dirs/config 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/abstract/.dirs/system-data2 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/abstract/.dirs/data 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/abstract/.dirs/state 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/abstract/.dirs/runtime 973s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_R3OQ52/gdbus-server-auth-TNOR52 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 973s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_R3OQ52/gdbus-server-auth-TNOR52/dbus-q7Hon26M 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16374 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 973s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16374 973s ok 2 /gdbus/server-auth/abstract 973s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/tcp/.dirs/home 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/tcp/.dirs/cache 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/tcp/.dirs/system-config2 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/tcp/.dirs/config 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/tcp/.dirs/system-data2 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/tcp/.dirs/data 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/tcp/.dirs/state 973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/tcp/.dirs/runtime 973s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 973s # Connectable address: tcp:host=127.0.0.1,port=37213 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 973s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 973s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 973s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 973s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 973s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 973s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 974s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 974s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 974s ok 3 /gdbus/server-auth/tcp 974s # slow test /gdbus/server-auth/tcp executed in 0.90 secs 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/.dirs/runtime 974s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_R3OQ52/gdbus-server-auth-TZ2U52 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 974s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_R3OQ52/gdbus-server-auth-TZ2U52/dbus-kSmf87t0 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16374 974s ok 4 /gdbus/server-auth/anonymous 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/.dirs/runtime 974s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_R3OQ52/gdbus-server-auth-2LWQ52 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 974s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_R3OQ52/gdbus-server-auth-2LWQ52/dbus-JhMK5dO6 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16374 974s ok 5 /gdbus/server-auth/external 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/.dirs/runtime 974s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_R3OQ52/gdbus-server-auth-87KR52 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 974s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_R3OQ52/gdbus-server-auth-87KR52/dbus-M1mBQTom 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16374 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 974s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16374 974s ok 6 /gdbus/server-auth/sha1 974s # Start of anonymous tests 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/tcp/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/tcp/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/tcp/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/tcp/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/tcp/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/anonymous/tcp/.dirs/runtime 974s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 974s # Connectable address: tcp:host=127.0.0.1,port=40993 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 975s ok 7 /gdbus/server-auth/anonymous/tcp 975s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 975s # End of anonymous tests 975s # Start of external tests 975s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/require-same-user/.dirs/home 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/require-same-user/.dirs/cache 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/require-same-user/.dirs/system-config2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/require-same-user/.dirs/config 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/require-same-user/.dirs/system-data2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/require-same-user/.dirs/data 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/require-same-user/.dirs/state 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/external/require-same-user/.dirs/runtime 975s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_R3OQ52/gdbus-server-auth-0UXV52 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 975s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_R3OQ52/gdbus-server-auth-0UXV52/dbus-qJuBBThU 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16374 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 975s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16374,uid=1000,gid=1000 975s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16374 975s ok 8 /gdbus/server-auth/external/require-same-user 975s # End of external tests 975s # Start of sha1 tests 975s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/tcp/.dirs/home 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/tcp/.dirs/cache 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/tcp/.dirs/system-config2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/tcp/.dirs/config 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/tcp/.dirs/system-data2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/tcp/.dirs/data 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/tcp/.dirs/state 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_R3OQ52/gdbus/server-auth/sha1/tcp/.dirs/runtime 975s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 975s # Connectable address: tcp:host=127.0.0.1,port=37649 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 976s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 976s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 976s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 976s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 976s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 976s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 976s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 976s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 976s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 976s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 976s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 976s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 976s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 976s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 976s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 976s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 976s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 976s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 976s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 976s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 976s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 976s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 976s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 976s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 976s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 976s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 976s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 976s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 976s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 976s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 976s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 976s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 976s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 976s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 976s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 976s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 976s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 976s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 976s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 976s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 976s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 976s ok 9 /gdbus/server-auth/sha1/tcp 976s # slow test /gdbus/server-auth/sha1/tcp executed in 0.93 secs 976s # End of sha1 tests 976s # End of server-auth tests 976s # End of gdbus tests 976s PASS: glib/gdbus-server-auth.test 976s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8192 976s autopkgtest [20:30:37]: test gdbus-server-auth: -----------------------] 977s gdbus-server-auth PASS 977s autopkgtest [20:30:38]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 977s autopkgtest [20:30:38]: test gdbus-threading: preparing testbed 978s Reading package lists... 978s Building dependency tree... 978s Reading state information... 978s Starting pkgProblemResolver with broken count: 0 978s Starting 2 pkgProblemResolver with broken count: 0 978s Done 978s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 979s autopkgtest [20:30:40]: test gdbus-threading: [----------------------- 979s Running test: glib/gdbus-threading.test 979s TAP version 14 979s # random seed: R02S20f1e91fb62059b8b258194c2c9f4289 979s 1..3 979s # Start of gdbus tests 979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_RVP752/gdbus/delivery-in-thread/.dirs/home 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_RVP752/gdbus/delivery-in-thread/.dirs/cache 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_RVP752/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_RVP752/gdbus/delivery-in-thread/.dirs/system-config2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_RVP752/gdbus/delivery-in-thread/.dirs/config 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_RVP752/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_RVP752/gdbus/delivery-in-thread/.dirs/system-data2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_RVP752/gdbus/delivery-in-thread/.dirs/data 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_RVP752/gdbus/delivery-in-thread/.dirs/state 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_RVP752/gdbus/delivery-in-thread/.dirs/runtime 979s ok 1 /gdbus/delivery-in-thread 979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_RVP752/gdbus/method-calls-in-thread/.dirs/home 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_RVP752/gdbus/method-calls-in-thread/.dirs/cache 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_RVP752/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_RVP752/gdbus/method-calls-in-thread/.dirs/system-config2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_RVP752/gdbus/method-calls-in-thread/.dirs/config 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_RVP752/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_RVP752/gdbus/method-calls-in-thread/.dirs/system-data2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_RVP752/gdbus/method-calls-in-thread/.dirs/data 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_RVP752/gdbus/method-calls-in-thread/.dirs/state 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_RVP752/gdbus/method-calls-in-thread/.dirs/runtime 980s # GLib-GIO-DEBUG: refcount of 0x3d424c807a0 is not right (2 rather than 1) in test_method_calls_in_thread(), sleeping 980s ok 2 /gdbus/method-calls-in-thread 980s # slow test /gdbus/method-calls-in-thread executed in 0.85 secs 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_RVP752/gdbus/threaded-singleton/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_RVP752/gdbus/threaded-singleton/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_RVP752/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_RVP752/gdbus/threaded-singleton/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_RVP752/gdbus/threaded-singleton/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_RVP752/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_RVP752/gdbus/threaded-singleton/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_RVP752/gdbus/threaded-singleton/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_RVP752/gdbus/threaded-singleton/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_RVP752/gdbus/threaded-singleton/.dirs/runtime 980s # GLib-GIO-DEBUG: refcount of 0x7cdbf80041b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: refcount of 0x7cdbf80058c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: refcount of 0x7cdbf8001dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: refcount of 0x7cdbf8001dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: refcount of 0x7cdbf8001dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s ok 3 /gdbus/threaded-singleton 981s # slow test /gdbus/threaded-singleton executed in 1.50 secs 981s # End of gdbus tests 981s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 981s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 981s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 981s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 981s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 981s PASS: glib/gdbus-threading.test 981s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.2s; maxrss=8192 982s autopkgtest [20:30:43]: test gdbus-threading: -----------------------] 982s gdbus-threading PASS 982s autopkgtest [20:30:43]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 982s autopkgtest [20:30:43]: test gmenumodel: preparing testbed 983s Reading package lists... 983s Building dependency tree... 983s Reading state information... 983s Starting pkgProblemResolver with broken count: 0 983s Starting 2 pkgProblemResolver with broken count: 0 983s Done 983s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 984s autopkgtest [20:30:45]: test gmenumodel: [----------------------- 984s Running test: glib/gmenumodel.test 984s TAP version 14 984s # random seed: R02S19f2752138ce94df8c7241ce5e22dbd1 984s 1..15 984s # Start of gmenu tests 986s ok 1 /gmenu/equality 986s # slow test /gmenu/equality executed in 1.65 secs 988s ok 2 /gmenu/random 988s # slow test /gmenu/random executed in 1.79 secs 988s ok 3 /gmenu/attributes 988s ok 4 /gmenu/links 988s ok 5 /gmenu/mutable 988s ok 6 /gmenu/convenience 988s ok 7 /gmenu/menuitem 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 988s ok 8 /gmenu/input-validation 988s # Start of dbus tests 989s ok 9 /gmenu/dbus/roundtrip 989s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 989s ok 10 /gmenu/dbus/subscriptions 989s Executing: glib/gmenumodel.test 990s ok 11 /gmenu/dbus/threaded 990s # slow test /gmenu/dbus/threaded executed in 1.35 secs 990s # Start of peer tests 991s ok 12 /gmenu/dbus/peer/roundtrip 991s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 992s ok 13 /gmenu/dbus/peer/subscriptions 992s # End of peer tests 992s # Start of export tests 992s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 992s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 992s ok 14 /gmenu/dbus/export/error-handling 992s # End of export tests 992s # End of dbus tests 992s # Start of attributes tests 992s ok 15 /gmenu/attributes/iterate 992s # End of attributes tests 992s # End of gmenu tests 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s PASS: glib/gmenumodel.test 992s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=6.0s; system=0.1s; maxrss=26624 992s autopkgtest [20:30:53]: test gmenumodel: -----------------------] 993s gmenumodel PASS 993s autopkgtest [20:30:54]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 993s autopkgtest [20:30:54]: test mainloop: preparing testbed 993s Reading package lists... 993s Building dependency tree... 993s Reading state information... 993s Starting pkgProblemResolver with broken count: 0 994s Starting 2 pkgProblemResolver with broken count: 0 994s Done 994s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 994s autopkgtest [20:30:55]: test mainloop: [----------------------- 995s Running test: glib/mainloop.test 995s TAP version 14 995s # random seed: R02S5258fef287d1994b5394f712558d028f 995s 1..45 995s # Start of maincontext tests 995s ok 1 /maincontext/basic 995s # Add same-priority sources: 25 995s # Find each source: 8 995s # Remove in random order: 34 995s ok 2 /maincontext/nsources_same_priority 995s # Add different-priority sources: 27 995s # Find each source: 8 995s # Remove in random order: 38 995s ok 3 /maincontext/nsources_different_priority 995s # Add sources from threads: 174 995s # Remove sources from threads: 176 995s ok 4 /maincontext/nsources_threadpool 995s ok 5 /maincontext/source_finalization 995s # /maincontext/idle-once summary: Test g_idle_add_once() works 995s ok 6 /maincontext/idle-once 995s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 995s ok 7 /maincontext/timeout-once 995s # Start of source_finalization_from_source tests 995s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 8 /maincontext/source_finalization_from_source/0 995s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 9 /maincontext/source_finalization_from_source/1 995s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 10 /maincontext/source_finalization_from_source/2 995s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 11 /maincontext/source_finalization_from_source/3 995s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 12 /maincontext/source_finalization_from_source/4 995s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 13 /maincontext/source_finalization_from_source/5 995s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 14 /maincontext/source_finalization_from_source/6 995s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 15 /maincontext/source_finalization_from_source/7 995s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 16 /maincontext/source_finalization_from_source/8 995s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 17 /maincontext/source_finalization_from_source/9 995s # End of source_finalization_from_source tests 995s # Start of source_finalization_from_dispatch tests 995s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 995s ok 18 /maincontext/source_finalization_from_dispatch/0 995s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 995s ok 19 /maincontext/source_finalization_from_dispatch/1 995s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 995s ok 20 /maincontext/source_finalization_from_dispatch/2 995s # End of source_finalization_from_dispatch tests 995s # End of maincontext tests 995s # Start of mainloop tests 995s ok 21 /mainloop/basic 995s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 995s ok 23 /mainloop/priorities 996s ok 24 /mainloop/invoke 996s # slow test /mainloop/invoke executed in 0.50 secs 997s ok 25 /mainloop/child_sources 997s # slow test /mainloop/child_sources executed in 1.18 secs 999s ok 26 /mainloop/recursive_child_sources 999s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 999s ok 27 /mainloop/recursive_loop_child_sources 999s ok 28 /mainloop/swapping_child_sources 999s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 999s ok 29 /mainloop/blocked_child_sources 1000s ok 30 /mainloop/source_time 1000s # slow test /mainloop/source_time executed in 1.00 secs 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1000s ok 31 /mainloop/overflow 1000s Executing: glib/mainloop.test 1001s ok 32 /mainloop/ready-time 1001s # slow test /mainloop/ready-time executed in 0.50 secs 1001s ok 33 /mainloop/wakeup 1001s ok 34 /mainloop/remove-invalid 1001s ok 35 /mainloop/unref-while-pending 1002s ok 36 /mainloop/unix-fd 1002s # slow test /mainloop/unix-fd executed in 1.49 secs 1002s ok 37 /mainloop/unix-fd-source 1002s ok 38 /mainloop/source-unix-fd-api 1002s ok 39 /mainloop/wait 1002s ok 40 /mainloop/unix-file-poll 1002s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1002s ok 41 /mainloop/unix-fd-priority 1002s ok 42 /mainloop/nfds 1002s ok 43 /mainloop/steal-fd 1002s # Start of ownerless-polling tests 1002s ok 44 /mainloop/ownerless-polling/attach-first 1002s ok 45 /mainloop/ownerless-polling/pop-first 1002s # End of ownerless-polling tests 1002s # End of mainloop tests 1002s PASS: glib/mainloop.test 1002s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.1s; system=1.4s; maxrss=18432 1003s autopkgtest [20:31:04]: test mainloop: -----------------------] 1003s mainloop PASS 1003s autopkgtest [20:31:04]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1004s autopkgtest [20:31:05]: test memory-monitor-dbus: preparing testbed 1004s Reading package lists... 1004s Building dependency tree... 1004s Reading state information... 1004s Starting pkgProblemResolver with broken count: 0 1004s Starting 2 pkgProblemResolver with broken count: 0 1004s Done 1004s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1005s autopkgtest [20:31:06]: test memory-monitor-dbus: [----------------------- 1005s Running test: glib/memory-monitor-dbus.test 1006s TAP version 13 1006s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1006s # Received memory warning signal, level 1006s # Received memory warning signal, level 1006s # Received memory warning signal, level 1006s # Received memory warning signal, level 1006s 1..1 1006s PASS: glib/memory-monitor-dbus.test 1006s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=36864 1006s autopkgtest [20:31:07]: test memory-monitor-dbus: -----------------------] 1006s memory-monitor-dbus PASS 1006s autopkgtest [20:31:07]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1007s autopkgtest [20:31:08]: test socket: preparing testbed 1007s Reading package lists... 1007s Building dependency tree... 1007s Reading state information... 1007s Starting pkgProblemResolver with broken count: 0 1007s Starting 2 pkgProblemResolver with broken count: 0 1007s Done 1008s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1008s autopkgtest [20:31:09]: test socket: [----------------------- 1009s Running test: glib/socket.test 1009s TAP version 14 1009s # random seed: R02Sd5005db0070e2d215fdaad9ac10bd68a 1009s 1..28 1009s # Start of socket tests 1010s ok 1 /socket/ipv4_sync 1010s # slow test /socket/ipv4_sync executed in 1.01 secs 1011s ok 2 /socket/ipv4_async 1011s # slow test /socket/ipv4_async executed in 1.00 secs 1011s ok 3 /socket/ipv6_sync 1011s ok 4 /socket/ipv6_async 1011s ok 5 /socket/ipv6_v4mapped 1012s ok 6 /socket/close_graceful 1012s # slow test /socket/close_graceful executed in 1.00 secs 1012s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1012s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1012s ok 8 /socket/fd_reuse 1012s ok 9 /socket/address 1012s ok 10 /socket/unix-from-fd 1012s ok 11 /socket/unix-connection 1012s ok 12 /socket/unix-connection-ancillary-data 1012s ok 13 /socket/source-postmortem 1012s ok 14 /socket/read_write 1012s ok 15 /socket/read_writev 1012s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1012s ok 16 /socket/receive_bytes 1012s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1012s ok 17 /socket/receive_bytes_from 1012s # Start of ipv4_sync tests 1012s ok 18 /socket/ipv4_sync/datagram 1012s # Start of datagram tests 1013s ok 19 /socket/ipv4_sync/datagram/timeouts 1013s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1013s # End of datagram tests 1013s # End of ipv4_sync tests 1013s # Start of ipv6_sync tests 1013s ok 20 /socket/ipv6_sync/datagram 1013s # Start of datagram tests 1013s Executing: glib/socket.test 1014s ok 21 /socket/ipv6_sync/datagram/timeouts 1014s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1014s # End of datagram tests 1014s # End of ipv6_sync tests 1014s # Start of reuse tests 1014s ok 22 /socket/reuse/tcp 1014s ok 23 /socket/reuse/udp 1014s # End of reuse tests 1014s # Start of get_available tests 1014s ok 24 /socket/get_available/datagram 1014s ok 25 /socket/get_available/stream 1014s # End of get_available tests 1014s # Start of credentials tests 1014s # Supported on this OS: GCredentials:linux-ucred:pid=0 1014s ok 26 /socket/credentials/tcp_client 1014s # Supported on this OS: GCredentials:linux-ucred:pid=0 1014s ok 27 /socket/credentials/tcp_server 1014s # Supported on this OS: GCredentials:linux-ucred:pid=18240,uid=1000,gid=1000 1014s ok 28 /socket/credentials/unix_socketpair 1014s # End of credentials tests 1014s # End of socket tests 1014s PASS: glib/socket.test 1014s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1014s autopkgtest [20:31:15]: test socket: -----------------------] 1015s socket PASS 1015s autopkgtest [20:31:16]: test socket: - - - - - - - - - - results - - - - - - - - - - 1015s autopkgtest [20:31:16]: test testfilemonitor: preparing testbed 1015s Reading package lists... 1015s Building dependency tree... 1015s Reading state information... 1015s Starting pkgProblemResolver with broken count: 0 1016s Starting 2 pkgProblemResolver with broken count: 0 1016s Done 1016s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1016s autopkgtest [20:31:17]: test testfilemonitor: [----------------------- 1017s Running test: glib/testfilemonitor.test 1017s TAP version 14 1017s # random seed: R02S0eec828c21eacab36cd47ce0f9968a03 1017s 1..8 1017s # Start of monitor tests 1017s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1017s # Using temporary directory: /tmp/gio-test-testfilemonitor_DO1652 1017s # Using GFileMonitor GInotifyFileMonitor 1019s ok 1 /monitor/atomic-replace 1019s # slow test /monitor/atomic-replace executed in 2.00 secs 1019s # Using temporary directory: /tmp/gio-test-testfilemonitor_KJY652 1019s # Using GFileMonitor GInotifyFileMonitor 1021s ok 2 /monitor/file-changes 1021s # slow test /monitor/file-changes executed in 2.50 secs 1021s # Using temporary directory: /tmp/gio-test-testfilemonitor_FKWU52 1021s # Using GFileMonitor GInotifyFileMonitor 1022s Executing: glib/testfilemonitor.test 1026s ok 3 /monitor/dir-monitor 1026s # slow test /monitor/dir-monitor executed in 3.51 secs 1026s # Using temporary directory: /tmp/gio-test-testfilemonitor_O7R652 1026s # Using GFileMonitor GInotifyFileMonitor 1027s Executing: glib/testfilemonitor.test 1032s Executing: glib/testfilemonitor.test 1037s Executing: glib/testfilemonitor.test 1042s Executing: glib/testfilemonitor.test 1047s Executing: glib/testfilemonitor.test 1050s ok 4 /monitor/dir-not-existent 1050s # slow test /monitor/dir-not-existent executed in 25.02 secs 1050s # Using temporary directory: /tmp/gio-test-testfilemonitor_180152 1050s # Using GFileMonitor 0 GInotifyFileMonitor 1050s # Using GFileMonitor 1 GInotifyFileMonitor 1052s ok 5 /monitor/cross-dir-moves 1052s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1052s # Using temporary directory: /tmp/gio-test-testfilemonitor_KA4152 1052s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1052s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1052s ok 6 /monitor/finalize-in-callback 1052s # Using temporary directory: /tmp/gio-test-testfilemonitor_KYV152 1052s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1052s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1052s ok 7 /monitor/root 1052s # Start of file tests 1052s # Using temporary directory: /tmp/gio-test-testfilemonitor_PTV152 1052s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1052s # Running with hard link tests 1052s # Using GFileMonitor GInotifyFileMonitor 1052s Executing: glib/testfilemonitor.test 1055s # Event 0 at expected index 7 skipped because it is marked as optional 1055s # Event 2 at expected index 11 skipped because it is marked as optional 1055s ok 8 /monitor/file/hard-links 1055s # slow test /monitor/file/hard-links executed in 3.51 secs 1055s # End of file tests 1055s # End of monitor tests 1055s PASS: glib/testfilemonitor.test 1055s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1056s autopkgtest [20:31:57]: test testfilemonitor: -----------------------] 1056s testfilemonitor PASS 1056s autopkgtest [20:31:57]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1056s autopkgtest [20:31:57]: test thread-pool-slow: preparing testbed 1057s Reading package lists... 1057s Building dependency tree... 1057s Reading state information... 1057s Starting pkgProblemResolver with broken count: 0 1057s Starting 2 pkgProblemResolver with broken count: 0 1057s Done 1057s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1058s autopkgtest [20:31:59]: test thread-pool-slow: [----------------------- 1058s Running test: glib/thread-pool-slow.test 1058s TAP version 14 1058s # random seed: R02S68d92a17badc8f5d6c2cdd4125167aa6 1058s 1..7 1058s # Start of threadpool tests 1058s ok 1 /threadpool/functions 1059s ok 2 /threadpool/stop-unused 1059s # slow test /threadpool/stop-unused executed in 0.51 secs 1059s ok 3 /threadpool/pools 1059s # [unsorted] ===> pushed new thread with id:87, number of threads:1, unprocessed:1 1059s # [unsorted] ===> pushed new thread with id:43, number of threads:2, unprocessed:2 1059s # [unsorted] ===> pushed new thread with id:70, number of threads:3, unprocessed:1 1059s # [unsorted] ===> pushed new thread with id:57, number of threads:4, unprocessed:2 1059s # [unsorted] ===> pushed new thread with id:3, number of threads:5, unprocessed:3 1059s # [unsorted] ===> pushed new thread with id:80, number of threads:6, unprocessed:4 1059s # [unsorted] ===> pushed new thread with id:35, number of threads:7, unprocessed:5 1059s # [unsorted] ===> pushed new thread with id:23, number of threads:8, unprocessed:6 1059s # [unsorted] ===> pushed new thread with id:7, number of threads:9, unprocessed:3 1059s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:4 1059s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:2 1059s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:2 1059s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:3 1059s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:4 1059s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:5 1059s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:6 1059s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:7 1059s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:8 1059s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:9 1059s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:10 1059s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:11 1059s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:12 1059s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:13 1059s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:14 1059s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:15 1059s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:16 1059s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:17 1059s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:18 1059s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:19 1059s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:20 1059s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:21 1059s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:22 1059s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:23 1059s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:24 1059s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:25 1059s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:26 1059s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:27 1059s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:28 1059s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:29 1059s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:30 1059s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:31 1059s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:32 1059s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:33 1059s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:34 1059s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:35 1059s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:36 1059s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:37 1059s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:38 1059s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:39 1059s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:40 1059s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:41 1059s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:42 1059s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:43 1059s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:44 1059s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:45 1059s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:46 1059s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:47 1059s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:48 1059s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:49 1059s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:50 1059s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:51 1059s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:52 1059s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:53 1059s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:54 1059s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:55 1059s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:56 1059s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:57 1059s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:58 1059s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:59 1059s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:60 1059s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:61 1059s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:62 1059s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:63 1059s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:64 1059s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:65 1059s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:66 1059s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:67 1059s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:68 1059s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:69 1059s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:70 1059s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:71 1059s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:72 1059s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:73 1059s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:74 1059s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:75 1059s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:76 1059s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:77 1059s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:78 1059s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:79 1059s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:80 1059s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:81 1059s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:82 1059s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:83 1059s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:84 1059s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:85 1059s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:86 1059s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:87 1059s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:88 1059s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:89 1059s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:90 1059s ok 4 /threadpool/no-sort 1059s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:1 1059s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:2 1059s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:3 1059s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:4 1059s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:5 1059s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:6 1059s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:7 1059s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:8 1059s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:9 1059s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:10 1059s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:11 1059s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:12 1059s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:13 1059s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:14 1059s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:15 1059s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:16 1059s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:17 1059s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:18 1059s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:19 1059s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:20 1059s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:21 1059s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:22 1059s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:23 1059s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:24 1059s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:25 1059s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:26 1059s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:27 1059s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:28 1059s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:29 1059s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:30 1059s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:31 1059s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:32 1059s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:33 1059s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:34 1059s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:35 1059s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:36 1059s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:37 1059s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:38 1059s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:39 1059s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:40 1059s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:41 1059s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:42 1059s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:43 1059s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:44 1059s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:45 1059s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:46 1059s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:47 1059s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:48 1059s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:49 1059s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:50 1059s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:51 1059s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:52 1059s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:53 1059s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:54 1059s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:55 1059s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:56 1059s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:57 1059s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:58 1059s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:59 1059s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:60 1059s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:61 1059s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:62 1059s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:63 1059s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:64 1059s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:65 1059s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:66 1059s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:67 1059s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:68 1059s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:69 1059s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:70 1059s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:71 1059s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:72 1059s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:73 1059s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:74 1059s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:75 1059s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:76 1059s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:77 1059s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:78 1059s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:79 1059s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:80 1059s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:81 1059s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:82 1059s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:83 1059s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:84 1059s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:85 1059s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:86 1059s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:87 1059s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:88 1059s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:89 1059s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:90 1059s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:91 1059s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:92 1059s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:93 1059s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:94 1059s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:95 1059s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:96 1059s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:97 1059s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:98 1059s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:99 1059s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:100 1059s # Starting thread pool processing 1059s ok 5 /threadpool/sort 1060s ok 6 /threadpool/stop-unused-multiple 1060s # slow test /threadpool/stop-unused-multiple executed in 0.54 secs 1060s # Pool idle thread count: 0, unprocessed jobs: 50 1060s # Pool idle thread count: 0, unprocessed jobs: 0 1060s # Pool idle thread count: 0, unprocessed jobs: 0 1060s # Pool idle thread count: 10, unprocessed jobs: 0 1060s # Pool idle thread count: 10, unprocessed jobs: 0 1061s # Pool idle thread count: 10, unprocessed jobs: 0 1061s # Pool idle thread count: 10, unprocessed jobs: 0 1061s # Pool idle thread count: 10, unprocessed jobs: 0 1061s # Pool idle thread count: 10, unprocessed jobs: 0 1062s # Pool idle thread count: 10, unprocessed jobs: 0 1062s # Pool idle thread count: 10, unprocessed jobs: 0 1062s # Pool idle thread count: 10, unprocessed jobs: 0 1062s # Pool idle thread count: 10, unprocessed jobs: 0 1063s # Pool idle thread count: 10, unprocessed jobs: 0 1063s # Pool idle thread count: 10, unprocessed jobs: 0 1063s Executing: glib/thread-pool-slow.test 1063s # Pool idle thread count: 10, unprocessed jobs: 0 1063s # Pool idle thread count: 10, unprocessed jobs: 0 1064s # Pool idle thread count: 10, unprocessed jobs: 0 1064s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1068s # Pool idle thread count: 10, unprocessed jobs: 0 1068s # Pool idle thread count: 10, unprocessed jobs: 0 1068s Executing: glib/thread-pool-slow.test 1068s # Pool idle thread count: 10, unprocessed jobs: 2 1068s # Pool idle thread count: 10, unprocessed jobs: 2 1068s # Pool idle thread count: 8, unprocessed jobs: 0 1068s # Pool idle thread count: 8, unprocessed jobs: 0 1069s # Pool idle thread count: 10, unprocessed jobs: 0 1069s # Pool idle thread count: 10, unprocessed jobs: 0 1070s # Pool idle thread count: 10, unprocessed jobs: 0 1070s # Pool idle thread count: 10, unprocessed jobs: 0 1070s # Pool idle thread count: 10, unprocessed jobs: 0 1070s # Pool idle thread count: 10, unprocessed jobs: 0 1070s # Pool idle thread count: 2, unprocessed jobs: 0 1070s # Pool idle thread count: 2, unprocessed jobs: 0 1071s # Pool idle thread count: 2, unprocessed jobs: 0 1071s # Pool idle thread count: 2, unprocessed jobs: 0 1071s # Pool idle thread count: 2, unprocessed jobs: 0 1071s # Pool idle thread count: 2, unprocessed jobs: 0 1072s # Pool idle thread count: 2, unprocessed jobs: 0 1072s # Pool idle thread count: 2, unprocessed jobs: 0 1072s # Pool idle thread count: 2, unprocessed jobs: 0 1072s # Pool idle thread count: 2, unprocessed jobs: 0 1073s # Pool idle thread count: 2, unprocessed jobs: 0 1073s # Pool idle thread count: 2, unprocessed jobs: 0 1073s Executing: glib/thread-pool-slow.test 1073s # Pool idle thread count: 2, unprocessed jobs: 0 1073s # Pool idle thread count: 2, unprocessed jobs: 0 1074s # Pool idle thread count: 2, unprocessed jobs: 0 1074s # Pool idle thread count: 2, unprocessed jobs: 0 1076s # Pool idle thread count: 2, unprocessed jobs: 0 1076s # Pool idle thread count: 2, unprocessed jobs: 0 1076s # Pool idle thread count: 2, unprocessed jobs: 0 1076s # Pool idle thread count: 2, unprocessed jobs: 0 1076s # Pool idle thread count: 2, unprocessed jobs: 0 1076s # Pool idle thread count: 2, unprocessed jobs: 0 1076s # Pool idle thread count: 2, unprocessed jobs: 0 1076s # Pool idle thread count: 2, unprocessed jobs: 0 1076s # Pool idle thread count: 2, unprocessed jobs: 0 1076s # Pool idle thread count: 2, unprocessed jobs: 0 1077s # Pool idle thread count: 2, unprocessed jobs: 0 1077s # Pool idle thread count: 2, unprocessed jobs: 0 1077s # Pool idle thread count: 2, unprocessed jobs: 0 1077s # Pool idle thread count: 2, unprocessed jobs: 0 1078s # Pool idle thread count: 2, unprocessed jobs: 0 1078s # Pool idle thread count: 2, unprocessed jobs: 0 1078s Executing: glib/thread-pool-slow.test 1078s # Pool idle thread count: 2, unprocessed jobs: 0 1078s # Pool idle thread count: 2, unprocessed jobs: 0 1079s ok 7 /threadpool/idle-time 1079s # slow test /threadpool/idle-time executed in 19.54 secs 1079s # End of threadpool tests 1079s PASS: glib/thread-pool-slow.test 1079s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=12288 1081s autopkgtest [20:32:20]: test thread-pool-slow: -----------------------] 1082s thread-pool-slow PASS 1082s autopkgtest [20:32:23]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1082s autopkgtest [20:32:23]: test threadtests: preparing testbed 1082s Reading package lists... 1082s Building dependency tree... 1082s Reading state information... 1082s Starting pkgProblemResolver with broken count: 0 1082s Starting 2 pkgProblemResolver with broken count: 0 1082s Done 1083s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1083s autopkgtest [20:32:24]: test threadtests: [----------------------- 1084s Running test: glib/threadtests.test 1084s TAP version 14 1084s # random seed: R02Sbb236bd48ee6d3a06e696f6d0e2c363d 1084s 1..5 1084s # Start of GObject tests 1084s ok 1 /GObject/threaded-object-init 1088s ok 2 /GObject/threaded-weak-ref 1088s # slow test /GObject/threaded-weak-ref executed in 3.12 secs 1088s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1088s # /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 1088s ok 3 /GObject/threaded-toggle-notify 1088s # slow test /GObject/threaded-toggle-notify executed in 0.57 secs 1088s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1088s # Start of threaded-weak-ref tests 1088s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1088s # /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. 1088s ok 5 /GObject/threaded-weak-ref/on-finalization 1088s # End of threaded-weak-ref tests 1088s # End of GObject tests 1088s PASS: glib/threadtests.test 1088s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.1s; system=0.8s; maxrss=4096 1088s autopkgtest [20:32:29]: test threadtests: -----------------------] 1088s threadtests PASS 1088s autopkgtest [20:32:29]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1089s autopkgtest [20:32:30]: test timeout: preparing testbed 1089s Reading package lists... 1089s Building dependency tree... 1089s Reading state information... 1089s Starting pkgProblemResolver with broken count: 0 1089s Starting 2 pkgProblemResolver with broken count: 0 1089s Done 1089s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1092s autopkgtest [20:32:33]: test timeout: [----------------------- 1092s Running test: glib/timeout.test 1092s TAP version 14 1092s # random seed: R02S6e6f77224ded1feaf707a36cf2fb718a 1092s 1..5 1092s # Start of timeout tests 1092s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1094s ok 1 /timeout/seconds 1094s # slow test /timeout/seconds executed in 2.10 secs 1096s ok 2 /timeout/seconds-once 1096s # slow test /timeout/seconds-once executed in 2.10 secs 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1097s Executing: glib/timeout.test 1098s ok 3 /timeout/weeks-overflow 1098s # slow test /timeout/weeks-overflow executed in 2.10 secs 1098s ok 4 /timeout/far-future-ready-time 1102s Executing: glib/timeout.test 1107s Executing: glib/timeout.test 1108s ok 5 /timeout/rounding 1108s # slow test /timeout/rounding executed in 10.08 secs 1108s # End of timeout tests 1108s PASS: glib/timeout.test 1108s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1109s autopkgtest [20:32:50]: test timeout: -----------------------] 1109s autopkgtest [20:32:50]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1109s timeout PASS 1110s autopkgtest [20:32:51]: test timer: preparing testbed 1110s Reading package lists... 1110s Building dependency tree... 1110s Reading state information... 1110s Starting pkgProblemResolver with broken count: 0 1110s Starting 2 pkgProblemResolver with broken count: 0 1110s Done 1110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1111s autopkgtest [20:32:52]: test timer: [----------------------- 1111s Running test: glib/timer.test 1111s TAP version 14 1111s # random seed: R02S6b27826548789699dd7e4cdc9bbc7297 1111s 1..10 1111s # Start of timer tests 1111s ok 1 /timer/basic 1111s ok 2 /timer/stop 1111s ok 3 /timer/continue 1111s ok 4 /timer/reset 1111s ok 5 /timer/is_active 1111s # End of timer tests 1111s # Start of timeval tests 1111s ok 6 /timeval/add 1111s ok 7 /timeval/from-iso8601 1111s ok 8 /timeval/to-iso8601 1111s # Start of to-iso8601 tests 1111s ok 9 /timeval/to-iso8601/overflow 1111s # End of to-iso8601 tests 1111s # End of timeval tests 1111s # Start of usleep tests 1111s ok 10 /usleep/with-zero-wait 1111s # End of usleep tests 1111s PASS: glib/timer.test 1111s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1112s autopkgtest [20:32:53]: test timer: -----------------------] 1112s autopkgtest [20:32:53]: test timer: - - - - - - - - - - results - - - - - - - - - - 1112s timer PASS 1113s autopkgtest [20:32:54]: test 1065022-futureproofing: preparing testbed 1170s autopkgtest [20:33:51]: testbed dpkg architecture: ppc64el 1171s autopkgtest [20:33:52]: testbed apt version: 3.0.0 1171s autopkgtest [20:33:52]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1171s autopkgtest [20:33:52]: testbed release detected to be: plucky 1172s autopkgtest [20:33:53]: updating testbed package index (apt update) 1172s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 1172s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1173s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1173s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1173s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B] 1173s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [5796 B] 1173s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el c-n-f Metadata [288 B] 1173s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el c-n-f Metadata [120 B] 1173s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [20.3 kB] 1173s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el c-n-f Metadata [8688 B] 1173s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el c-n-f Metadata [172 B] 1175s Fetched 306 kB in 1s (435 kB/s) 1176s Reading package lists... 1176s autopkgtest [20:33:57]: upgrading testbed (apt dist-upgrade and autopurge) 1176s Reading package lists... 1177s Building dependency tree... 1177s Reading state information... 1177s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1177s Starting 2 pkgProblemResolver with broken count: 0 1177s Done 1178s Entering ResolveByKeep 1178s 1180s Calculating upgrade... 1180s The following packages will be upgraded: 1180s tzdata 1180s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1180s Need to get 198 kB of archives. 1180s After this operation, 0 B of additional disk space will be used. 1180s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el tzdata all 2025b-1ubuntu1.1 [198 kB] 1180s Preconfiguring packages ... 1180s Fetched 198 kB in 0s (589 kB/s) 1180s (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 ... 78698 files and directories currently installed.) 1180s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ... 1180s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ... 1180s Setting up tzdata (2025b-1ubuntu1.1) ... 1180s 1180s Current default time zone: 'Etc/UTC' 1180s Local time is now: Tue May 6 20:34:01 UTC 2025. 1180s Universal Time is now: Tue May 6 20:34:01 UTC 2025. 1180s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1180s 1180s Reading package lists... 1180s Building dependency tree... 1180s Reading state information... 1180s Starting pkgProblemResolver with broken count: 0 1181s Starting 2 pkgProblemResolver with broken count: 0 1181s Done 1181s Solving dependencies... 1181s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1184s Reading package lists... 1184s Building dependency tree... 1184s Reading state information... 1184s Starting pkgProblemResolver with broken count: 0 1184s Starting 2 pkgProblemResolver with broken count: 0 1184s Done 1184s The following NEW packages will be installed: 1184s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1184s libdconf1 1185s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1185s Need to get 149 kB of archives. 1185s After this operation, 830 kB of additional disk space will be used. 1185s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdconf1 ppc64el 0.40.0-5 [43.7 kB] 1185s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el dconf-service ppc64el 0.40.0-5 [30.8 kB] 1185s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el dconf-gsettings-backend ppc64el 0.40.0-5 [26.0 kB] 1185s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el dpkg-repack all 1.54 [11.2 kB] 1185s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el gsettings-desktop-schemas all 48.0-1ubuntu1 [37.6 kB] 1185s Fetched 149 kB in 0s (363 kB/s) 1185s Selecting previously unselected package libdconf1:ppc64el. 1185s (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 ... 78698 files and directories currently installed.) 1185s Preparing to unpack .../libdconf1_0.40.0-5_ppc64el.deb ... 1185s Unpacking libdconf1:ppc64el (0.40.0-5) ... 1185s Selecting previously unselected package dconf-service. 1185s Preparing to unpack .../dconf-service_0.40.0-5_ppc64el.deb ... 1185s Unpacking dconf-service (0.40.0-5) ... 1185s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 1185s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5_ppc64el.deb ... 1185s Unpacking dconf-gsettings-backend:ppc64el (0.40.0-5) ... 1185s Selecting previously unselected package dpkg-repack. 1185s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1185s Unpacking dpkg-repack (1.54) ... 1185s Selecting previously unselected package gsettings-desktop-schemas. 1185s Preparing to unpack .../gsettings-desktop-schemas_48.0-1ubuntu1_all.deb ... 1185s Unpacking gsettings-desktop-schemas (48.0-1ubuntu1) ... 1185s Setting up dpkg-repack (1.54) ... 1185s Setting up libdconf1:ppc64el (0.40.0-5) ... 1185s Setting up dconf-service (0.40.0-5) ... 1185s Setting up dconf-gsettings-backend:ppc64el (0.40.0-5) ... 1185s Setting up gsettings-desktop-schemas (48.0-1ubuntu1) ... 1185s Processing triggers for man-db (2.13.0-1) ... 1186s Processing triggers for libglib2.0-0t64:ppc64el (2.84.1-1) ... 1186s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1195s autopkgtest [20:34:16]: test 1065022-futureproofing: [----------------------- 1195s + export DEBIAN_FRONTEND=noninteractive 1195s + n=0 1195s + failed=0 1195s + binary_package=libglib2.0-0t64 1195s + future_binary_package=libglib2.0-0xyz 1195s + pwd 1195s + srcdir=/tmp/autopkgtest.HhQfZX/build.7Ws/src 1195s + mktemp -d 1195s + tmpdir=/tmp/tmp.QWpOj0MiOd 1195s + cd /tmp/tmp.QWpOj0MiOd 1195s + [ -e /tmp/autopkgtest.HhQfZX/build.7Ws/src/debian/tests/manual/local-1065022.sources ] 1195s + dpkg-query -W dpkg-repack 1195s dpkg-repack 1.54 1195s + dpkg-repack --generate libglib2.0-0t64 1195s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1195s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.KyL_F_ for libglib2.0-0t64 1195s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.KyL_F_ ." 1195s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.KyL_F_/DEBIAN/control 1195s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.KyL_F_/DEBIAN/control 1195s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.KyL_F_/DEBIAN/control 1195s + env binary_package=libglib2.0-0t64 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package}/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.KyL_F_/DEBIAN/control 1195s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.KyL_F_ libglib2.0-0xyz.deb 1195s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1197s + apt-get -y install ./libglib2.0-0xyz.deb 1197s Reading package lists... 1197s Building dependency tree... 1197s Reading state information... 1197s Solving dependencies... 1197s The following packages were automatically installed and are no longer required: 1197s apport-symptoms exfatprogs jq libatasmart4 libbytesize-common libbytesize1 1197s libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 libicu76 libinih1 1197s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1197s libprotobuf-c1 python3-apport python3-configobj python3-debconf 1197s python3-markdown-it python3-mdurl python3-problem-report python3-pygments 1197s python3-rich python3-systemd 1197s Use 'sudo apt autoremove' to remove them. 1197s The following additional packages will be installed: 1197s xdg-user-dirs 1197s Suggested packages: 1197s low-memory-monitor 1197s Recommended packages: 1197s shared-mime-info 1197s The following packages will be REMOVED: 1197s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1197s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1197s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1197s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1197s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1197s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1197s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1197s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1197s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1197s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1197s python3-netplan shared-mime-info ubuntu-minimal udisks2 xfsprogs 1197s The following NEW packages will be installed: 1197s libglib2.0-0xyz xdg-user-dirs 1197s 0 upgraded, 2 newly installed, 49 to remove and 0 not upgraded. 1197s Need to get 20.1 kB/1823 kB of archives. 1197s After this operation, 43.8 MB disk space will be freed. 1197s Get:1 /tmp/tmp.QWpOj0MiOd/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.84.1-1 [1803 kB] 1198s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el xdg-user-dirs ppc64el 0.18-2 [20.1 kB] 1198s Fetched 20.1 kB in 0s (94.2 kB/s) 1198s (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 ... 78767 files and directories currently installed.) 1198s Removing bolt (0.9.8-1) ... 1198s Removing cloud-init (25.1.1-0ubuntu2) ... 1198s Removing cloud-init-base (25.1.1-0ubuntu2) ... 1199s Removing gsettings-desktop-schemas (48.0-1ubuntu1) ... 1199s Removing dconf-gsettings-backend:ppc64el (0.40.0-5) ... 1199s Removing dconf-service (0.40.0-5) ... 1199s Removing fwupd (2.0.7-1) ... 1200s Removing networkd-dispatcher (2.2.4-1.1) ... 1200s Removing udisks2 (2.10.1-11ubuntu2) ... 1200s Removing libblockdev-crypto3:ppc64el (3.3.0-2) ... 1200s Removing libblockdev-fs3:ppc64el (3.3.0-2) ... 1200s Removing libblockdev-loop3:ppc64el (3.3.0-2) ... 1201s Removing libblockdev-mdraid3:ppc64el (3.3.0-2) ... 1201s Removing libblockdev-nvme3:ppc64el (3.3.0-2) ... 1201s Removing libblockdev-part3:ppc64el (3.3.0-2) ... 1201s Removing libblockdev-swap3:ppc64el (3.3.0-2) ... 1201s Removing libblockdev3:ppc64el (3.3.0-2) ... 1201s Removing libblockdev-utils3:ppc64el (3.3.0-2) ... 1201s Removing libdconf1:ppc64el (0.40.0-5) ... 1201s Removing libfwupd3:ppc64el (2.0.7-1) ... 1201s Removing shared-mime-info (2.4-5build1) ... 1201s Removing xfsprogs (6.13.0-2ubuntu1) ... 1201s Removing python3-dbus (1.3.2-5build5) ... 1202s Removing libgudev-1.0-0:ppc64el (1:238-6) ... 1202s Removing libjcat1:ppc64el (0.2.0-2build3) ... 1202s Removing libjson-glib-1.0-0:ppc64el (1.10.6+ds-2) ... 1202s Removing libqmi-proxy (1.35.6-1) ... 1202s Removing libqmi-glib5:ppc64el (1.35.6-1) ... 1202s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1202s Removing libmbim-glib4:ppc64el (1.31.2-0ubuntu4) ... 1202s Removing libmm-glib0:ppc64el (1.23.4-0ubuntu3) ... 1202s Removing ubuntu-minimal (1.549) ... 1202s Removing netplan.io (1.1.2-2ubuntu1) ... 1202s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1202s Removing python3-netplan (1.1.2-2ubuntu1) ... 1202s Removing netplan-generator (1.1.2-2ubuntu1) ... 1202s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1202s Removing libnetplan1:ppc64el (1.1.2-2ubuntu1) ... 1203s Removing libpolkit-agent-1-0:ppc64el (126-2) ... 1203s Removing libpolkit-gobject-1-0:ppc64el (126-2) ... 1203s Removing libqrtr-glib0:ppc64el (1.2.2-1ubuntu4) ... 1203s Removing libudisks2-0:ppc64el (2.10.1-11ubuntu2) ... 1203s Removing libvolume-key1:ppc64el (0.3.12-9) ... 1203s Removing libxmlb2:ppc64el (0.3.22-1) ... 1203s Removing apport (2.32.0-0ubuntu5) ... 1203s Removing apport-core-dump-handler (2.32.0-0ubuntu5) ... 1204s Removing python3-gi (3.50.0-4build1) ... 1204s Removing gir1.2-girepository-2.0:ppc64el (1.84.0-1) ... 1204s Removing gir1.2-glib-2.0:ppc64el (2.84.1-1) ... 1204s Removing libgirepository-1.0-1:ppc64el (1.84.0-1) ... 1204s Removing libglib2.0-0t64:ppc64el (2.84.1-1) ... 1204s Selecting previously unselected package libglib2.0-0xyz:ppc64el. 1204s (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 ... 77623 files and directories currently installed.) 1204s Preparing to unpack .../libglib2.0-0xyz.deb ... 1204s Unpacking libglib2.0-0xyz:ppc64el (2.84.1-1) ... 1204s Selecting previously unselected package xdg-user-dirs. 1204s Preparing to unpack .../xdg-user-dirs_0.18-2_ppc64el.deb ... 1204s Unpacking xdg-user-dirs (0.18-2) ... 1205s Setting up xdg-user-dirs (0.18-2) ... 1205s Setting up libglib2.0-0xyz:ppc64el (2.84.1-1) ... 1205s No schema files found: removed existing output file. 1205s Processing triggers for dbus (1.16.2-2ubuntu1) ... 1205s Processing triggers for initramfs-tools (0.147ubuntu1) ... 1205s update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic 1205s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1214s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1214s Processing triggers for man-db (2.13.0-1) ... 1216s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1216s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1216s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1216s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1216s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1216s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1216s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1216s + n=1 1216s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1216s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1216s + failed=1 1216s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1216s + n=2 1216s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1216s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1216s + failed=1 1216s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1216s + n=3 1216s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1216s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1216s + failed=1 1216s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1216s + n=4 1216s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1216s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1216s + failed=1 1216s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1216s + n=5 1216s + test -e /usr/lib/*/gio/modules/giomodule.cache 1216s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1216s + failed=1 1216s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1216s + n=6 1216s + test -s /usr/lib/*/gio/modules/giomodule.cache 1216s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1216s + failed=1 1216s + apt-get -y purge libglib2.0-0t64 1216s Reading package lists... 1216s Building dependency tree... 1216s Reading state information... 1216s The following packages were automatically installed and are no longer required: 1216s apport-symptoms exfatprogs jq libatasmart4 libbytesize-common libbytesize1 1216s libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 libicu76 libinih1 1216s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1216s libprotobuf-c1 python3-apport python3-configobj python3-debconf 1216s python3-markdown-it python3-mdurl python3-problem-report python3-pygments 1216s python3-rich python3-systemd 1216s Use 'sudo apt autoremove' to remove them. 1216s The following packages will be REMOVED: 1216s libglib2.0-0t64* 1216s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1216s After this operation, 0 B of additional disk space will be used. 1216s (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 ... 77658 files and directories currently installed.) 1217s Purging configuration files for libglib2.0-0t64:ppc64el (2.84.1-1) ... 1217s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1217s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1217s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1217s + n=7 1217s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1217s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1217s + failed=1 1217s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1217s + n=8 1217s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1217s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1217s + failed=1 1217s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1217s + n=9 1217s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1217s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1217s + failed=1 1217s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1217s + n=10 1217s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1217s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1217s + failed=1 1217s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1217s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1217s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1217s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1217s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1217s + n=11 1217s + test -e /usr/lib/*/gio/modules/giomodule.cache 1217s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1217s + failed=1 1217s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1217s + n=12 1217s + test -s /usr/lib/*/gio/modules/giomodule.cache 1217s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1217s + failed=1 1217s + apt-get -y purge libglib2.0-0xyz 1217s Reading package lists... 1217s Building dependency tree... 1217s Reading state information... 1217s The following packages were automatically installed and are no longer required: 1217s apport-symptoms exfatprogs jq libatasmart4 libatomic1 libbytesize-common 1217s libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 libglib2.0-data 1217s libgpgme11t64 libicu76 libinih1 libjq1 libjson-glib-1.0-common libnspr4 1217s libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-configobj 1217s python3-debconf python3-markdown-it python3-mdurl python3-problem-report 1217s python3-pygments python3-rich python3-systemd xdg-user-dirs 1217s Use 'sudo apt autoremove' to remove them. 1217s The following packages will be REMOVED: 1217s libglib2.0-0xyz* 1217s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1217s After this operation, 6086 kB disk space will be freed. 1217s (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 ... 77658 files and directories currently installed.) 1217s Removing libglib2.0-0xyz:ppc64el (2.84.1-1) ... 1217s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1218s (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 ... 77633 files and directories currently installed.) 1218s Purging configuration files for libglib2.0-0xyz:ppc64el (2.84.1-1) ... 1218s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1218s + n=13 1218s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1218s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1218s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1218s + n=14 1218s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1218s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1218s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1218s + n=15 1218s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1218s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1218s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1218s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1218s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1218s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1218s + n=16 1218s + test -e /usr/lib/*/gio/modules/giomodule.cache 1218s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1218s + echo 1..16 1218s + exit 1 1218s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1218s 1..16 1218s autopkgtest [20:34:39]: test 1065022-futureproofing: -----------------------] 1218s 1065022-futureproofing FLAKY non-zero exit status 1 1218s autopkgtest [20:34:39]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1219s autopkgtest [20:34:40]: @@@@@@@@@@@@@@@@@@@@ summary 1219s build PASS (superficial) 1219s build-static PASS (superficial) 1219s girepository-tools PASS (superficial) 1219s libgio-2.0-dev-bin PASS (superficial) 1219s libglib2.0-dev PASS (superficial) 1219s installed-tests PASS 1219s closure-refcount PASS 1219s debugcontroller PASS 1219s gdbus-server-auth PASS 1219s gdbus-threading PASS 1219s gmenumodel PASS 1219s mainloop PASS 1219s memory-monitor-dbus PASS 1219s socket PASS 1219s testfilemonitor PASS 1219s thread-pool-slow PASS 1219s threadtests PASS 1219s timeout PASS 1219s timer PASS 1219s 1065022-futureproofing FLAKY non-zero exit status 1 1224s nova [W] Using flock in prodstack6-ppc64el 1224s Creating nova instance adt-plucky-ppc64el-glib2.0-20250506-183653-juju-7f2275-prod-proposed-migration-environment-20-81934d0f-612c-4f31-a80b-ac59c9c38e54 from image adt/ubuntu-plucky-ppc64el-server-20250506.img (UUID e82014c2-f15f-4648-9b79-ce00f56b498f)... 1224s nova [W] Timed out waiting for f68e8cd6-b1f8-4551-8147-9345e22b3cf6 to get deleted. 1224s nova [W] Using flock in prodstack6-ppc64el 1224s Creating nova instance adt-plucky-ppc64el-glib2.0-20250506-183653-juju-7f2275-prod-proposed-migration-environment-20-81934d0f-612c-4f31-a80b-ac59c9c38e54 from image adt/ubuntu-plucky-ppc64el-server-20250506.img (UUID e82014c2-f15f-4648-9b79-ce00f56b498f)... 1224s nova [W] Timed out waiting for 26dc8aa7-9817-4229-b646-7768af69bb00 to get deleted. 1224s nova [W] Using flock in prodstack6-ppc64el 1224s Creating nova instance adt-plucky-ppc64el-glib2.0-20250506-183653-juju-7f2275-prod-proposed-migration-environment-20-81934d0f-612c-4f31-a80b-ac59c9c38e54 from image adt/ubuntu-plucky-ppc64el-server-20250506.img (UUID e82014c2-f15f-4648-9b79-ce00f56b498f)... 1224s nova [W] Timed out waiting for 9aba6014-80d6-4005-91ee-26b0f7b20af9 to get deleted. 1224s nova [W] Using flock in prodstack6-ppc64el 1224s Creating nova instance adt-plucky-ppc64el-glib2.0-20250506-183653-juju-7f2275-prod-proposed-migration-environment-20-81934d0f-612c-4f31-a80b-ac59c9c38e54 from image adt/ubuntu-plucky-ppc64el-server-20250506.img (UUID e82014c2-f15f-4648-9b79-ce00f56b498f)... 1224s nova [W] Timed out waiting for a8bbf531-1b46-413b-b03e-5fd6e0382c15 to get deleted. 1224s nova [W] Using flock in prodstack6-ppc64el 1224s Creating nova instance adt-plucky-ppc64el-glib2.0-20250506-183653-juju-7f2275-prod-proposed-migration-environment-20-81934d0f-612c-4f31-a80b-ac59c9c38e54 from image adt/ubuntu-plucky-ppc64el-server-20250506.img (UUID e82014c2-f15f-4648-9b79-ce00f56b498f)... 1224s nova [W] Timed out waiting for b3479e67-f6fc-4260-b9fd-803305599b64 to get deleted. 1224s nova [W] Using flock in prodstack6-ppc64el 1224s Creating nova instance adt-plucky-ppc64el-glib2.0-20250506-183653-juju-7f2275-prod-proposed-migration-environment-20-81934d0f-612c-4f31-a80b-ac59c9c38e54 from image adt/ubuntu-plucky-ppc64el-server-20250506.img (UUID e82014c2-f15f-4648-9b79-ce00f56b498f)... 1224s nova [W] Timed out waiting for 2a554b08-8725-4909-b6a9-17b538fa8a85 to get deleted.